Skip to content

Studio: restore the reload icons replaced in #15232 - #15648

Merged
shimmyshimmer merged 1 commit into
mainfrom
studio-browser-reload-icons
Oct 28, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
studio-browser-reload-icons

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

What changed

Restores the reload icons that #15232 swapped to Hugeicons Refresh04Icon:

Found with git blame on the browser Reload line (browser-panel.tsx), then confirmed by checking every commit touching that file from the one before #15232 onward: the parent still draws RotateCw and every commit from #15232 on draws Refresh04Icon.

tests/media-header-links.test.ts matched the Reapply icon by name; it now names Refresh01Icon and still checks the icon spacing.

Split out of #15640, where this first landed.

Screenshots

#15232 on the left, restored on the right. Browser toolbar:

Toolbar reload

Tab menu:

Tab menu reload

How it was verified

  • npm run typecheck, npm run build, npm test.
  • Browser toolbar and tab menu checked before and after in an isolated Studio on macOS (Apple Silicon).

Not tested here

  • Images and Video Reapply and the API page need a loaded model, which this machine cannot load.

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
shimmyshimmer merged commit 774b56c into main Oct 28, 2026
3 of 39 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-browser-reload-icons branch October 28, 2026 05:42
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