Skip to content

Studio: rounded browser tabs and hovers, Recents above Suggested once visited - #15649

Merged
shimmyshimmer merged 2 commits into
mainfrom
studio-browser-tab-polish
Oct 28, 2026
Merged

shimmyshimmer merged 2 commits into
mainfrom
studio-browser-tab-polish

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

What changed

In-app browser polish:

  • Tabs are rounded rectangles (10px corners) instead of pills, and the toolbar hovers (new tab, full view, close, back, forward, reload, annotate, more, console) use the same 10px corners as the chat header. The per-tab close button has a 6px corner.
  • Bookmarks, History and Downloads tab icons are 14px like the New tab globe, padded the same way, and sit 4px from the tab title (was 6px).
  • New tab page: Tools pill icons are 18px (was 20px), and the Suggested tile hover has 20px corners (was 24px).
  • Once anything has been visited, Recents moves to the top under Tools and Suggested drops below Browser use. With no history the page looks as before.

tests/browser-new-tab-browser-use.test.ts asserted the old fixed order; it now checks that the Browser use switch sits between the leading section and the other one, outside both show settings.

Split out of #15640, where these changes first landed.

Screenshots

Tab strip, hovering New tab:

Browser tabs

Internal page tab icons at the globe's size:

Tab strip

New tab page after one visit: Recents under Tools, Suggested below Browser use:

New tab after a visit

How it was verified

  • npm run typecheck, npm run build, npm test.
  • In an isolated Studio on macOS (Apple Silicon): measured tab icons at 4x (icon centre within 0.125px of the tab's centre), and checked the section order before a visit (Tools, Suggested, Browser use) and after one (Tools, Recents, Browser use, Suggested).

shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 28, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 28, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 28, 2026
shimmyshimmer added a commit that referenced this pull request Oct 28, 2026
…ut an AMD NPU (#15640)

## What changed

The Scheduled, reload icon, in-app browser and composer changes that
were here moved to their own PRs: #15647, #15648, #15649 and #15650.

### Export page now matches Train

- Same page width, heading style and two-column grid as Train.
- **Source** card: Local / Fine-tuned / Hugging Face is a segmented
switch in the card header; training run and checkpoint sit side by side.
- **Export method** card holds the method options and all per-method
settings. Options have no radio circle; the selected one is shown by a
filled background with no border, and corners are 18px.
- LoRA Only no longer quotes a size ("~100 MB").
- The Precision hint ("Select one or more") and the "N selected" line
only show when there is more than one format to pick.
- A sticky **Export summary** panel on the right (styled like Train's
Run preview) lists training run, checkpoint, base model, method and
estimated size, the quick guide, and the full-width Export Model button.
It replaces the old Training Info box and the separate Quick Guide
column.
- The image LoRA and Q4NX cards use the same card style.
- Train and Export now share one section card component
(`components/section-box.tsx`).
- In dark mode, buttons on these cards sit lighter than the card instead
of darker, the same rule the API page already used.

### AMD NPU export

- The "Convert a GGUF to Q4NX" card and the "Also convert to Q4NX"
switch only show when an AMD NPU is detected (same
`useNpuStatus().supported` check the Model hub uses). Without one, the
Q4NX conversion stays off.
- FastFlowLM is no longer named in the UI, and the Q4NX descriptions are
shorter ("Only supported on AMD NPUs").

### Train page

- The active tab underline now sits on the divider line. The base
`TabsTrigger` positions its indicator at `bottom-[-5px]`, which pushed
the bar below the border.
- Section titles and descriptions are vertically centred on their icon
chip.
- The Optimization / Schedule / Memory tabs are left-aligned.
- Icons:
  - Model card: chip icon, matching the model picker.
  - Configuration card: pencil edit icon.
  - Save YAML: floppy disk.
  - Reset to defaults: undo.
  - Start training: play instead of rocket.
- Field labels are sentence case instead of uppercase with letter
spacing. File-type lists are unchanged. "Or upload a local file" is now
"Upload a local file".
- Dataset picker and upload sit in two columns from a 512px section
width (was 576px), so the desktop app gets the two-column layout too.

## Screenshots

Export, with the summary panel on the right (1440px):

![Export
page](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15640/export-35174f8b0a71.png)

Export method, light and dark:

![Export method,
light](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15640/export_method_light-41cbb7512d11.png)

![Export method,
dark](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15640/export_method_dark-804523bf8c3e.png)

Dark mode Configuration card on Train:

![Dark mode card
buttons](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15640/dark_config-fbbfe9c9ac48.png)

Train at a 1280px window: chip icon on Model, sentence-case labels,
dataset picker and upload in two columns, underline on the divider:

![Train at
1280px](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15640/train_1280-8d22be65e412.png)

Run preview with the play icon:

![Run
preview](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15640/run_preview-a60343581575.png)

## How it was verified

- `npm run typecheck`, `npm run build` and `npm test` (14,249 passing).
`tests/train-configure-preview-column.test.ts` now reads the shared
`section-box.tsx` for the card and section container classes.
- Biome reports no new diagnostics in the changed files.
- Ran an isolated Studio from this branch on macOS (Apple Silicon) and
checked Train and Export at 1180, 1280 and 1440px wide in light mode,
and the Export and Train cards in dark mode. Measured the tab underline
in the browser: the 2px bar now covers the 1px divider.

Staging CI (macOS, Windows, Linux with Playwright):
shimmyshimmer#1781

## Not tested here

- A machine with an AMD NPU, so the Q4NX card and switch reappearing was
not checked on real hardware.
- A real export with existing fine-tuned runs.
- Non-English locales still carry the previous wording for the upload
label.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 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-28T05:12:48.480035Z cd4df87 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. Swish!

Reviewed commit: cd4df87ff7

ℹ️ 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
shimmyshimmer merged commit c4d2ae2 into main Oct 28, 2026
2 of 39 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-browser-tab-polish branch October 28, 2026 05:14
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