Skip to content

Studio model picker: keep rows full width with overlay scrollbars, roomier On Device columns - #12746

Merged
shimmyshimmer merged 1 commit into
mainfrom
studio-model-picker-columns
Oct 5, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
studio-model-picker-columns

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

Summary

Layout fixes for the model picker, mostly the On Device list. The rows now use the full width of the panel when an overlay scrollbar shows, model names get more room, and the meta columns have consistent spacing.

Changes

  • Rows keep the panel's width with overlay scrollbars. On macOS-style overlay scrollbars the list padded all of its content by the scrollbar width (about 12px), so hover pills, dividers and section chevrons stopped short of the search bar and dropdowns above them. The list now reaches into the panel's right padding for the scrollbar and only pads its rows for whatever is left. Classic scrollbars are unchanged.
    • With a 12px overlay scrollbar, the hover pill and dividers sit 18px from the panel edge (was 30px), matching the left side.
  • Section chevrons line up with the sort dropdown. The Pinned, Fine-tuned and Custom folders collapse chevrons end where the Recent / Trending chevron does (they were about 2px short).
  • More room for model names in On Device.
    • The quant slot hugs its chip instead of reserving the width of UD-Q4_K_XL on every row. It is the leftmost meta column, so the space goes to the name and the quant chips still end in one column.
    • The modality slot holds only the vision badge (26px, was 44px). The partial download mark moves beside the name, as the Loaded tag already does.
    • Names get 292 to 354px instead of a flat 272px in a typical list.
  • Consistent spacing between the row's marks. Name, quant, modality and parameter marks keep at least 6px between them, including at smaller UI scales. Parameter chips are left aligned and start at the same x on every row, 6px after the modality slot.
  • Custom folder rows line up with the rest. They used an 8px right inset while downloaded rows use 4px, so their columns sat 4px to the left.

Testing

  • npm run typecheck and npm test pass (10481 of 10482). The one failure, in tests/system-status-verdict.test.ts, also fails on main.
  • Updated the source tests that pinned the old layout (on-device-dot-and-header-alignment, overlay-scrollbar-gutter, menu-row-spacing, model-picker-partial-downloads) and added one for the 6px minimum.
  • Checked in Chrome with a populated On Device list (GGUF and safetensors repos, other owners, fine-tunes and a custom folder), with and without a simulated 12px overlay scrollbar:
    • Pills, dividers and chevrons keep the same right inset either way.
    • All parameter chips start at the same x, and the vision badge sits 6px from both the quant chip and the parameter chip.
    • Only two long owner/name rows still truncate.

Rows keep the panel's 18px inset when an overlay scrollbar shows, instead of
padding the whole list by its width, so hover pills, dividers and section
chevrons line up with the controls above.

On Device rows give the name more room: the quant slot hugs its chip and the
modality slot holds only the vision badge, with the partial mark moved beside
the name. Marks keep at least 6px between them, parameter chips start at one x,
and custom folder rows share the downloaded rows' inset. Section chevrons end
where the sort dropdown's does.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T14:17:43.495765Z 70b79fd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

Unknown error
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 70b79fdf5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants