Repository navigation
Studio: shrink the resume glyph, trim the queueing hint and round the scroll corner - #11179
Conversation
… scroll corner The composer resume button drew the play glyph at 24px, which crowds the 36px circle. Drop it to 16px so it matches the send arrow's weight. Shorten both queueing hints so the tooltip fits on one line. A long queue squared off the panel's top corners: browsers paint the scrollbar outside the scroller's own radius. Move the rounding and the clip to a frame around the scroller.
|
@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. More of your lovely PRs please. 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". |
The bar that offers to finish a stopped reply drew a fast-forward icon and read Continue, which did not match the queue's resume control. Reuse QueueResumeIcon at the same size as the queue menu item.
|
Also swapped the continue bar. The control that offers to finish a stopped reply drew a fast-forward icon and read "Continue", which did not match the queue's resume control right below it. It now uses
|
|
@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". |
|
@codex review |
|
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". |
… scroll corner (unslothai#11179) * Studio: shrink the resume glyph, trim the queueing hint and round the scroll corner The composer resume button drew the play glyph at 24px, which crowds the 36px circle. Drop it to 16px so it matches the send arrow's weight. Shorten both queueing hints so the tooltip fits on one line. A long queue squared off the panel's top corners: browsers paint the scrollbar outside the scroller's own radius. Move the rounding and the clip to a frame around the scroller. * Studio: use the resume glyph and Resume wording on the continue bar The bar that offers to finish a stopped reply drew a fast-forward icon and read Continue, which did not match the queue's resume control. Reuse QueueResumeIcon at the same size as the queue menu item. * Studio: point the continue bar test at the renamed Resume button
Three small follow-ups to the prompt queue view from #11114 and #11117.
Resume glyph was too large and read as off centre
The composer's resume button drew the play glyph at 24px inside a 36px circle, so it nearly touched the edges and the tip crowded the right side. It is now 16px, which matches the optical weight of the stroked send arrow next to it.
The glyph itself was already centred: its bounding box is 4.5 to 19.79 across a 24 unit viewBox, so the icon shifts it back by 0.15. That correction is now covered by a test, measured in viewBox units so it does not depend on the rendered size.
Queueing tooltip was two lines
"New messages stop the current response and run next. Queued prompts are kept." now reads "New messages interrupt and run next. The queue is kept.", and the queueing-on wording is trimmed the same way. English measures 301px against the 320px cap, so it stays on one line with headroom. All 12 locales are updated.
Scrollbar squared off the top corners
Browsers paint the scrollbar inside the padding box but outside the element's own
border-radius, so once the queue was long enough to scroll, the thumb sat on top of the rounded top-right corner.The rounding and the clip now live on a frame around the scroller instead of on the scroller itself, so the corner clips the scrollbar.
listRefstays on the scrolling element because the reorder code readsscrollTopandgetBoundingClientRect()off it.Verification
tests/studio/playwright_queue_localization.pygrows two checks, both confirmed to fail before the fix:check_resume_icon_centredreportsdx: 0.145with the transform removed, against a 0.05 unit tolerance.check_queue_frame_clips_scrollbarreportsframeOverflow: visible, frameRadius: 0pxon the old markup.All 7 checks pass in Chromium 153, Firefox 155 and WebKit 26.6. Typecheck, ESLint and
i18n:check:strictare clean.The scrollbar case was reproduced with a real space-taking scrollbar by launching Chromium with
-AppleShowScrollBars Always, since headless macOS otherwise only gives overlay scrollbars. The committed check asserts the clipping structure rather than pixels, so it does not depend on the platform's scrollbar style.Reviewing the diff
prompt-queue-list.tsxlooks large because the new frame re-indents the whole JSX body by two spaces. The substantive change is 28 lines;?w=1shows it.Translations are machine drafted and would benefit from a native speaker pass.