Version Packages - #87
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@noormdev/cli@1.3.0
Minor Changes
4c0e7c1: Make the execution history and file-execution screens scroll, and let a failed
file's error be read in full.
Both screens drew a fixed window —
slice(0, 15)of the history,slice(0, 20)of the files — while their selection cursor ranged over every record. Past that
window the arrow keys still moved a selection that was not on screen, and the
detail box under the list described a record the reader could not see, so the
screens were not merely unscrollable: they were reporting on rows that had
scrolled out from under the cursor. Both now use
SelectList, which owns thecursor and the window together and sizes itself from the terminal, so what is
selected is always drawn and a tall terminal shows more rows rather than the same
fifteen. The history list also fetches 200 records instead of 50, now that
reaching past the fifteenth is possible.
A failed file's error message was rendered as one line per
\n, with no bound.A stack trace therefore pushed the file list, the detail box and the hotkey hints
off the bottom together — and on the history screen the same message was cut at
80 characters instead, which drops the part that names the constraint or the
syntax error. Both screens now show a bounded single line in the detail box and
open the whole message, wrapped and scrollable, on a keypress:
eon the historyscreen, Enter on a file execution.
SelectListgains an optionalrenderItem, which lets a screen draw its own rowbody while the list keeps the cursor, the window, the scroll indicators, focus and
the mouse. Without it these two screens would have had to give up the per-status
colour a reader scans a history list for, which is why they had their own list in
the first place.
37abd22: Make
run inspectscrollable, and show secrets partially rather than as a count.The inspect screen rendered its context as a nested tree that grew with the
project, and Ink has no scroll offset — so on any real template the bottom of
the view sat below the fold with no key that could reach it, and the screen's
own footer was what got pushed off to make room. Every view it offers (summary,
expanded, rendered SQL, and render errors) is now a flat list of one element per
visual line behind a viewport, scrolled with the same
↑↓/^U/^Dkeys theexplore and SQL screens already use.
$.secretsand$.globalSecretsreported a key count, which cannot answer thequestion the screen is opened to answer: a stale password and a fresh one are
both
Object (7 keys). Both tiers now show a partial reveal that narrows as thevalue gets shorter — a four-character value shows nothing, a long one shows two
characters and a four-character suffix — with the length beside it as a number,
so a value that is set but empty is distinguishable from one that is set wrong.
$.envis listed and masked on the same terms, because it is the whole ofprocess.envand nothing in the screen can tell which of its keys arecredentials.
The mouse wheel now scrolls every viewport, which it never did. Only
SelectListand
ResultTableconsumed wheel notches, so the explore detail view, thefull-text overlay and the row viewer ignored them — and because the TUI runs in
the alternate screen, which has no scrollback, and mouse tracking intercepts the
notches a terminal would otherwise translate into arrow keys, turning the mouse
on had actually removed the only wheel behaviour those panes had.
Also fixes an error path that could never render: a template whose helper failed
to load set the screen's error phase with a file selected, which no branch
matched, so the most likely failure showed as "Unknown phase".
@noormdev/sdk@1.3.0
@noormdev/example-llm-memory-db-mssql@0.0.6
Patch Changes
@noormdev/example-llm-memory-db-pg@0.0.6
Patch Changes
@noormdev/example-todo-db@0.0.6
Patch Changes