Repository navigation
Studio: expanded composer fills the chat area, net of attachments - #15650
Merged
Merged
Conversation
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
pushed a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Oct 28, 2026
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. |
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 method, light and dark:   Dark mode Configuration card on Train:  Train at a 1280px window: chip icon on Model, sentence-case labels, dataset picker and upload in two columns, underline on the divider:  Run preview with the play icon:  ## 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
pushed a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Oct 28, 2026
|
Codex Review: Didn't find any major issues. Delightful! 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". |
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.
What changed
Expanding the composer now fills the chat area, the way Gemini's does, instead of stopping at a viewport clamp that left the lower half of the screen empty:
--aui-scroll-stabilizerpadding after expanding, leaving the composer shifted up until the next keystroke. The size calculation also ignores the scroller's bottom padding, since the stabilizer adds some for a frame.The sizing is a small hook,
use-expanded-composer-fill.ts, shared by the chat composer and compare's composer. It writes a--composer-fill-heightvariable the existing CSS reads, and re-measures on resize, when attachments change, and through the welcome screen's padding transition. The old welcome-only CSS rule is removed, sotests/ui-font-size-scales-spacing.test.tscounts three 40px composer clamps instead of four.Bottom-pinned placements (thread footer, compare) are detected from the DOM; every other placement grows downward against its scroll container, which keeps the project page from growing without bound.
Split out of #15640, where this first landed.
Screenshots
Welcome screen, before and after (after shown with an image attached):
Welcome screen, expanded with eight attachments in two rows (1700x1150):
Project page, expanded:
How it was verified
npm run typecheck,npm run build,npm test.Not tested here