Skip to content

Studio: radius scale in Settings, Profile and Library - #14921

Merged
shimmyshimmer merged 3 commits into
studio-radius-scalefrom
studio-radius-settings
Oct 23, 2026
Merged

shimmyshimmer merged 3 commits into
studio-radius-scalefrom
studio-radius-settings

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

Summary

Settings, Profile, Library, login, change password and the guided tour move onto the radius scale. The Settings dialog is 28px, matching the composer.

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 test and npm run build pass on this branch.
  • Checked in an isolated Studio together with the rest of the stack, including a rendered-DOM radius audit of these pages.

Not tested here

Multi-account flows beyond the owner account.

Settings, Profile, Library, login and the tour move onto the radius tiers: the Settings dialog is 28px, one-line controls are pills, rows 12px, compact boxes 16px, cards 24px.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-23T06:58:47.492820Z a3db8e2 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: Didn't find any major issues. Hooray!

Reviewed commit: ddfe074f0d

ℹ️ 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 Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: ddfe074f0d

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 23, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: a3db8e2c0d

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

shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 23, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

Before / after

Settings > Sandbox, light mode. BEFORE is studio-radius-scale (this PR's base), AFTER is this branch. The per-tool sandbox status is a read-only value, so it is now plain muted text instead of a grey pill that looked like a button.

Sandbox status: grey pill before, plain text after

@shimmyshimmer
shimmyshimmer merged commit 2275471 into studio-radius-scale Oct 23, 2026
4 of 41 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-radius-settings branch October 23, 2026 07:56
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant