Repository navigation
feat(shell): add a phone top bar and fit the chat composer - #134
Merged
Merged
Conversation
The chat dock's grid column sized to its content, so the composer could never be narrower than its toolbar and ran off the right edge on phones. Chip labels also wrapped onto two lines. - Let the dock's column shrink (minmax(0,1fr)) - Keep chips and icon buttons on one line and at full size - Truncate the model name with an ellipsis, with the full name as title - At 600px and below, show Connectors and Memory as icon and count, drop the model's provider prefix, and tighten the bar's padding Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY
On phones the menu button floated alone in the corner, over the page as it scrolled, and nothing said which page was open. Home's greeting wrapped onto three lines. - Add a sticky, frosted bar at 760px and below with the menu button and the page's name (its sidebar item, or its section) - Drop the 64px top padding that cleared the floating button - Fit Home's greeting on one line, with room above it - Shrink a new chat's mark and gaps so the composer fits on one screen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY
This branch was successfully deployed
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
Top bar on phones (760px and below)
/jobs/nightly/editshows Workflows), or its section.Chat composer on narrow screens
minmax(0,1fr)).Why
The chat composer and the header looked broken on phones: wrapped chip labels, a clipped send button, and a menu button floating over content.
How to test
pnpm devinui/, open DevTools' device toolbar at 375 to 390px wide.pnpm vitest run:AppShell.test.tsxnow checks the bar's contents andpageName.🤖 Generated with Claude Code
https://claude.ai/code/session_01QW4EewVw4PsagWuFNuGMGY