Repository navigation
Studio: radius scale in the Hub, model picker, Images and Video - #14922
Merged
Merged
Conversation
The Hub, model picker, loaded-models panel, Images and Video move onto the radius tiers: model cards 24px, hero 28px, menus and rows nested, one-line chips and triggers as pills, compact notices 16px.
This was referenced Oct 23, 2026
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep them coming! 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". |
shimmyshimmer
pushed a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Oct 23, 2026
Member
Author
|
@codex review |
1 similar comment
Member
Author
|
@codex review |
shimmyshimmer
added a commit
that referenced
this pull request
Oct 23, 2026
) ## Summary Studio's corners follow one fixed radius scale, and the shared primitives and global styles move onto it. This is the base of a short stack: the per-area sweeps, filled buttons and one-line command boxes build on it (split out of #14895 so each piece can be reviewed on its own). Before, the Tailwind radius scale was a set of offsets from `--radius`, and five regions overrode that variable (chat search, model selector, API page, Settings, Skills), so the same class gave different corners in different places. The scale is now fixed px tiers, nested so an outer corner equals the inner corner plus its inset (the composer: 28px around an 18px send circle at a 10px inset; the `+` menu: 21px around 12px rows at a 9px gutter): | Class | Radius | Used for | |---|---|---| | `rounded-full` | pill | anything one line tall: buttons, inputs, select triggers, chips, badges, tabs, nav rows, toggles | | `rounded-sm` | 8px | tiny tiles and swatches | | `rounded-md` (and bare `rounded`) | 12px | rows in menus and lists, tiles inside a card | | `rounded-lg` | 16px | menus (12px rows + 4px gutter), code blocks, thumbnails, compact boxes with 8-12px padding | | `rounded-xl` | 21px | popovers, textareas, larger panels inside a card or dialog | | `rounded-2xl` | 24px | cards and panels | | `rounded-3xl` | 28px | composer, dialogs, sheets, large floating surfaces | In this PR: - The scale above, defined once in `@theme`; the `--radius` overrides are gone. - Primitives: one-line controls (badge, tabs, toggles, menubar, progress, kbd) are pills; dialogs, alert dialogs and the command palette are 28px; cards 24px; alerts and empty states on the compact and card tiers. - Menus: dropdowns, selects, context menus and the menubar use a 4px gutter, 12px rows and a 16px corner so the hover nests in the corner. The sidebar row menu (8px gutter) is 20px, the account menu (10px) 22px, the composer `+` menus keep 21px around their 9px gutter. - Global styles: composer 28px, code blocks 16px, elevated cards one 24px radius at every width, sidebar drag ghosts as pills, toasts 16px. - Tooltips keep their existing radii (11px compact, 16px rich). Pages that are not swept yet still render on the new scale, so some corners move slightly until their area PR lands. ## Verification - `npm run typecheck`, `npm test` and `npm run build` pass on this branch alone. - Tests that pinned old radius classes on primitives assert the new tiers. - Checked in an isolated Studio (light and dark) together with the rest of the stack; a rendered-DOM audit across chat, every Settings tab, Hub, Library, Images, Video, Audio, Studio, Data Recipes, Export, API monitor and Projects checks one-line boxes are pills, short boxes are not near-capsules and hover rows nest in their container. ## Not tested here GPU-only screens and surfaces that need a loaded model; the Desktop (Tauri/WebKit) shell. `corner-shape: squircle` only renders in Chromium. ## Stack Split out of #14895. Based on this PR (review this first): - #14920 radius scale in chat, browser and shared components - #14921 radius scale in Settings, Profile and Library - #14922 radius scale in the Hub, model picker, Images and Video - #14923 radius scale in Recipe Studio, Studio, Audio and the remaining pages - #14924 filled borderless buttons - #14925 one-line command and URL boxes are pills Independent, based on `main`: #14926 run settings controls, sliders and thumbs; #14927 composer `+` hover label. The sibling PRs touch disjoint lines, so they merge cleanly in any order once this lands. Merged together they are identical to #14895. ### Stacked PRs folded in The stacked PRs were squash-merged into this branch, so merging this PR lands all of them: #14920 (chat, browser, shared components), #14921 (Settings, Profile, Library), #14922 (Hub, model picker, Images, Video), #14923 (Recipe Studio, Studio, Audio, remaining pages), #14924 (filled borderless buttons), #14925 (one-line command and URL boxes as pills). Each was reviewed and staged on its own PR.
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.
Summary
The Hub, model picker, loaded-models panel, Images and Video move onto the radius scale: model and trending cards 24px, the hero 28px, menu rows nested in their menus, one-line chips and triggers as pills.
Stacked on #14919 (the radius scale and primitives); review that first. Split out of #14895.
Applies the tiers per role and size: one-line buttons, chips, triggers and nav rows are pills, rows inside menus and lists 12px, compact notices, error boxes, option rows and code 16px, larger inner panels and popovers 21px, cards 24px, dialogs 28px. Deliberate rounded squares keep their shapes (the 30px header and sidebar icon buttons, the settings cog, the model selector and context chips, the account and update buttons).
Verification
npm run typecheck,npm testandnpm run buildpass on this branch.Not tested here
Image and video generation states that need a GPU.