Repository navigation
Feat(tui): settings page groups rows under User and Vault by prefix - #22
Merged
adibhanna merged 1 commit intoNov 1, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
adibhanna
added a commit
that referenced
this pull request
Nov 1, 2026
…ch row's whole text #22 lays the settings page out under User and Vault headings and gave the view a second scroll offset, counted in display lines. Two things went wrong with it: - The offset was only capped at the page's last line, so after G in a short window, growing the window left the page scrolled down: the User and vim headings stayed off the top with blank lines below. It now stops where the last line sits at the bottom, so a taller window or a shorter filtered list shows the top again. - A row rebuilt its text from key and value, so anything refresh adds to a row's line was lost. A row now shows its filter line less the scope and prefix its headings already name; the "(invalid: ...)" note #28 adds to a bad view-mode rule shows that way. The view keeps one scroll field: v.scroll is the display offset now, and the setting-index scroll that no longer drove anything is gone from render and from the mouse wheel. Tests: the layout test keeps a row's whole line; every row a real refresh lists sits under the group it saves to; moving onto the first Vault row from above and from below keeps its headings on screen; and a tall window shows the page from the top. The cap and the heading walk-back each fail their test when reverted.
adibhanna
added a commit
that referenced
this pull request
Nov 1, 2026
@spirit-of-light) With the review follow-ups on top of the contributor's commits.
Contributor
|
Thanks! It's merged into
|
1 task
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.
Make the settings menu cleaner by grouping the settings into User and Vault, and subgrouping by setting type.