Repository navigation
Conversation
On a phone the app now works the way a native chat app does: - The chats are a drawer: the menu button or a swipe from the left edge opens it, the scrim, a swipe back, Escape, the close button or going to another chat shuts it. Shut, it leaves the tab order. A wide screen keeps the sidebar beside the page, as before. - A top bar: menu, the title in the middle, new chat. On a chat, its actions (Publish, Duplicate, Download) sit in one menu, and a Chat | Preview | Code switch shows one pane at a time, the chat first. - Home: the question in the middle, the composer docked at the bottom under the thumb, padded for the home bar. - The composer: 16px text so iOS does not zoom on focus, a rounder box, a round send button; a touch keyboard's return key starts a new line. - 15px chat text and rounder bubbles; bigger rows in the drawer and in menus; chat options visible without hover; dialogs rise from the bottom as sheets; the code pane's files become a row of chips. - The page runs edge to edge (viewport-fit cover, safe-area padding), the keyboard resizes it, no rubber-band or double-tap zoom, no grey tap flash, and a web app manifest so it opens full screen from the home screen. tests/web: mobile-shell.test.tsx covers the drawer, the top bar, the switch, the composer's size and the manifest (adds @types/react-dom). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNWBtvn3y8id6vTP3Yz
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.
On a phone (below the
mdbreakpoint, 768 px), the web app now behaves like a native chat app such as the Claude mobile app. Wide screens look and work as before.What changes on a phone
Navigation
invisible, so the keyboard and screen readers skip it.Screens
text-sm.The page itself
viewport-fit=cover) with safe-area padding, and the keyboard resizes the page (interactive-widget=resizes-content).app/manifest.tsandappleWebAppmetadata, so the app opens full screen when added to the home screen.Checks
apps/web:tsc --noEmitpasses;eslintreports no errors; the warnings are the same kinds as before, plus one morewindow.location.assignwarning, matching the sidebar's existing New Chat button.next buildpasses;/manifest.webmanifestis prerendered.tests/web: 52 tests pass. The newmobile-shell.test.tsxcovers:It adds
@types/react-domtotests/web; the lockfile gains 3 lines.These baseline contract tests pass: manifest, phases, coverage, rebrand, retouch, bootstrap-defer and leak. The generated component docs are refreshed (
tests/web/docs/architecture.mdlists the new suite), andgen-component-docs.py --checkis clean.I checked it by hand in Chromium emulating an iPhone 15, light and dark, against a stand-in v0 API: home, drawer open and closed, Chat / Preview / Code, the actions menu, the API-key bottom sheet, and desktop unchanged.
Generated by Claude Code