Skip to content

Studio: keep the download button off the chat composer on phones - #14163

Merged
shimmyshimmer merged 3 commits into
mainfrom
studio-mobile-download-fab
Oct 19, 2026
Merged

shimmyshimmer merged 3 commits into
mainfrom
studio-mobile-download-fab

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Fixes #14146.

What changed

On phones and other narrow windows, the docked chat composer runs under the bottom-right notification rail. The collapsed download button sat on top of the Send button, and the expanded downloads panel covered the whole composer. Both now sit just above the composer.

The composer now reports how far it reaches up from the bottom edge, but only while its right edge is inside the rail's column. The rail adds that number to its bottom gutter (--studio-composer-clearance).

The rail is still fixed bottom-0 right-0 with the CSS cap from #9547. Only its bottom padding takes the clearance, and that comes from a single input, the composer column's box. Nothing measures the rail itself, so there is no feedback loop. Wide layouts never set the clearance, so desktop is unchanged. In compare mode each pane registers, and the largest clearance wins.

Verification

  • npm run typecheck and the rail contract tests (overlay-shadow-gutter, update-banner-flex-priority) pass. tests/studio/test_update_release_notes.py and test_overlay_layering.py pass, with the rail padding contract updated to the new constant.
  • An isolated Studio, driven with Playwright on a chat with messages while a real GGUF download was in flight:
Viewport Before After
390x844, collapsed button overlaps Send 8px above the composer
390x844, expanded panel covers the composer above the composer
1280x800 16px from the corner unchanged

The welcome screen's centred composer does not trigger the lift.

Screenshots

390x844, collapsed download button: it covers Send before, and sits above the composer after:

Collapsed download button, before and after

The expanded downloads panel, before and after:

Expanded downloads panel, before and after

Not tested here

Real mobile browsers (iOS Safari keyboard behaviour in particular) were not tested; the check used Chromium mobile emulation.

Fixes #14146. On narrow windows the docked composer runs under the bottom-right rail, so the collapsed download button sat on the send button. The composer now publishes a clearance while it reaches into the rail's column, and the rail adds it to its bottom gutter; the rail stays fixed to the corner and wide layouts are unchanged.
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 18, 2026
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 18, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 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-10-18T22:50:36.711076Z a100f99 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. Swish!

Reviewed commit: a100f99cb6

ℹ️ 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 f2ed007 into main Oct 19, 2026
@shimmyshimmer
shimmyshimmer deleted the studio-mobile-download-fab branch October 19, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

​[Bug] UI: Download progress icon overlaps the action/send button on mobile browsers

2 participants