Repository navigation
Studio: Export page in the Train style, Train polish, hide Q4NX without an AMD NPU - #15640
Conversation
…indows, chip icon for Model
|
@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. Can't wait for the next one! 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". |
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9ea4b1fc96
ℹ️ 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".
| area?.querySelector<HTMLElement>(".aui-thread-viewport"), | ||
| "paddingTop", | ||
| ); | ||
| return rootRect.bottom - (areaRect.top + headerOffset + EDGE_GAP_PX); |
There was a problem hiding this comment.
Handle the project composer as a downward-growing surface
When expanding the composer on a project's landing page, ProjectComposer uses this hook but is not inside .aui-thread-welcome-center, so it takes the footer calculation despite being in normal document flow (chat-page.tsx, below the project heading). Its bottom moves down as the editor grows, making each measurement request the current editor height plus the distance from the composer's top to the area's top inset. The ResizeObserver therefore keeps increasing the height instead of converging, pushing the toolbar and project contents below the viewport. Detect this placement separately and measure available space from its top to a fixed bottom boundary rather than assuming every non-welcome composer is bottom-anchored.
Useful? React with 👍 / 👎.
… to their own PRs
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. 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". |
… visited (#15649) ## 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:  Internal page tab icons at the globe's size:  New tab page after one visit: Recents under Tools, Suggested below Browser use:  ## 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).
…5650) ## 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: - **Welcome screen and project page:** the composer grows down from where it sits to 16px above the bottom of the window. - **Inside a conversation:** the footer composer grows up from its bottom edge to just under the chat header. - **Compare mode:** grows up to the top of the compare panes. - Attachments, the prompt queue and the toolbar are measured, so the text area shrinks by their height and the whole composer still fits. Adding an image while expanded no longer scrolls the page. - Expanding lands in one frame, keeping the attachment layout as it was (two rows stay two rows). The editor's 280ms height ease and the welcome page's padding slide are skipped on the way in, since together they read as the bottom edge creeping; collapsing still eases. - On the welcome page, expanding unpins the chat's stick-to-bottom scrolling and collapsing re-pins it. In a short window the collapsed page overflows slightly, and the pin held that overflow as `--aui-scroll-stabilizer` padding 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-height` variable 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, so `tests/ui-font-size-scales-spacing.test.ts` counts 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`. - In an isolated Studio on macOS (Apple Silicon): the welcome screen with and without an image attached, and a project page (the expanded height stays at 602px across 2s of re-measuring, ending 16px above the window bottom). - Expand traced every ~40ms with eight attachments in two rows: in Chromium at 954x720, 1440x900 and 1700x1150, and in WebKit at 954x720, the composer reaches its final position (144px from the top to 16px above the window bottom) in the first sample and stays there through typing. At 954x720, collapsing returns the composer to the bottom of the page with its toolbar in view. ## Not tested here - Inside a conversation and in compare mode, which need a loaded model.
## What changed Restores the reload icons that #15232 swapped to Hugeicons `Refresh04Icon`: - In-app browser toolbar: Reload and Run again go back to lucide `RotateCw` at 0.94 scale. - Browser tab menu Reload, Images Reapply and Video Reapply go back to `Refresh01Icon`. - The API page Reload buttons were added with `Refresh04Icon` in #15232, so they keep it. 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:  Tab menu:  ## 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.
… button (#15647) ## What changed Scheduled page and task dialog polish: - Dropdowns in the task dialog (Model, Thinking effort, Repeat, Time, Notify, Project) use the standard select padding (14px each side), so the hover pill has room on the left. A matching negative margin keeps the value and chevron where they were. Dark mode now shows the hover fill too instead of suppressing it. - The task name field is a fully rounded pill. - The page description says tasks run with any of your models, not only the loaded one; the dialog already lets you pick a model. - The New task button uses the same dark style as Projects' New project. Split out of #15640, where these changes first landed. ## Screenshots Task dialog, hovering the Model dropdown, with the pill name field:  Scheduled header (top) next to Projects (bottom), same New button style:  ## How it was verified - `npm run typecheck`, `npm run build`, `npm test`. - Checked the task dialog and Scheduled header in an isolated Studio on macOS (Apple Silicon), light mode. ## Not tested here - Dark mode hover on a real machine. - Non-English locales keep the old description.
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
components/section-box.tsx).AMD NPU export
useNpuStatus().supportedcheck the Model hub uses). Without one, the Q4NX conversion stays off.Train page
TabsTriggerpositions its indicator atbottom-[-5px], which pushed the bar below the border.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 buildandnpm test(14,249 passing).tests/train-configure-preview-column.test.tsnow reads the sharedsection-box.tsxfor the card and section container classes.Staging CI (macOS, Windows, Linux with Playwright): shimmyshimmer#1781
Not tested here