Repository navigation
Model picker: show row actions on collapsed quant rows and align the GGUF tag - #7745
Merged
Merged
Conversation
A repo showing its single quant had the row actions appear only on hover, while the Safetensors rows next to it keep theirs visible. Match those rows: same buttons, same sizes, always shown. The expandable repo rows reserve a narrower spacer than the buttons take, which pushed their GGUF tag left of everything else. Widen it to the settings and menu pair so every row's tag lines up.
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Follow up to #7736.
Row actions
A GGUF repo holding a single quant now renders as one row, and that row's settings and menu buttons only appeared on hover. The Safetensors rows sitting next to it keep theirs visible at all times, so the collapsed rows looked like they had no actions at all.
The collapsed row now uses the same markup as the Safetensors rows: same two buttons, same sizes, always visible. The hover gate and the smaller
size-3menu icon are gone.GGUF tag alignment
Repos holding more than one quant stay expandable, and those rows have no action buttons, so they reserve a fixed-width spacer instead. The spacer was 26px while the buttons it stands in for are 42px (settings 20px plus menu 22px), which pulled the row's label and its
GGUFtag left of every other row.Widened the spacer to 42px so all three row types reserve the same trailing width and the tags line up down the list.
Testing
npm run typecheckcleannpm test: 286 passing, 0 failingnpm run buildcleanbiome checkon the touched file reports the same 1 error and 20 warnings asmain, all pre-existing