Skip to content

Studio: shrink the resume glyph, trim the queueing hint and round the scroll corner - #11179

Merged
shimmyshimmer merged 3 commits into
mainfrom
studio/queue-resume-glyph-and-scroll-corner
Sep 17, 2026
Merged

shimmyshimmer merged 3 commits into
mainfrom
studio/queue-resume-glyph-and-scroll-corner

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

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. listRef stays on the scrolling element because the reorder code reads scrollTop and getBoundingClientRect() off it.

Verification

tests/studio/playwright_queue_localization.py grows two checks, both confirmed to fail before the fix:

  • check_resume_icon_centred reports dx: 0.145 with the transform removed, against a 0.05 unit tolerance.
  • check_queue_frame_clips_scrollbar reports frameOverflow: visible, frameRadius: 0px on the old markup.

All 7 checks pass in Chromium 153, Firefox 155 and WebKit 26.6. Typecheck, ESLint and i18n:check:strict are 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.tsx looks large because the new frame re-indents the whole JSX body by two spaces. The substantive change is 28 lines; ?w=1 shows it.

Translations are machine drafted and would benefit from a native speaker pass.

… 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.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 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-09-17T06:59:47.604156Z c407bdc 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. More of your lovely PRs please.

Reviewed commit: f9b3c18d8f

ℹ️ 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".

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.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

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 QueueResumeIcon at size-3.5, the same size the queue's own Resume menu item uses, and reads "Resume".

FastForwardIcon had no other use in the file, so its import is gone too.

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 130ad79cda

ℹ️ 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

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: c407bdc5b8

ℹ️ 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 91f9043 into main Sep 17, 2026
40 of 43 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio/queue-resume-glyph-and-scroll-corner branch September 17, 2026 07:03
shaojun pushed a commit to shaojun/unsloth that referenced this pull request Sep 29, 2026
… 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
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