Repository navigation
fix(tui): pin provider form fields and scroll the model list - #88
Merged
Merged
Conversation
The edit form stuffed every model into one popup, so j/k moved the cursor while popup.scroll stayed at 0 and later rows clipped. Keep Alias through Extra and the help line fixed; only the model viewport scrolls and it always contains the cursor. Co-authored-by: lolitaupdate <[email protected]>
xjoker
marked this pull request as ready for review
August 28, 2026 02:33
CI Format and audit uses rustfmt grouping that the previous commit did not match (Frame/types before modules, C_GREEN before base). Co-authored-by: lolitaupdate <[email protected]>
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.
Problem
On Edit provider, a long model catalog (e.g. 47 slugs) did not follow
j/k. Every model was stuffed into one popup; the cursor moved whilepopup.scrollstayed at 0, so later rows clipped below the dialog. Alias/URL and the help line would also have scrolled away if we only bumped that offset.Change
-cand the help line.+ add model) sized to the popup inner height.n/N(or+on the add row) when the list is taller than the form.Tests
clamp_list_scrollwindow math+ add modelmodel-00and not the add row