Conversation
…phone ⋯ rows 44 px; handle clears the safe area; corner box off on touch; menu glyphs stroked - AttachmentPane: leaving full screen resets the toolbar to pinned, so going back in never draws a tucked frame or slides in, and focus lands on its first button (regression test: Hide, the drawer, Write the reply, Full screen again) - FullViewBar: inert set in a layout effect; the count bumps only while the drawer is closed - inbox.css: 44 px rows in ⋯ under the phone query; the handle sits at env(safe-area-inset-right); the corner box takes no pointer on (hover: none); portaled menu glyphs keep their stroke (they drew as filled shapes) - Thread.tsx: drop an orphaned comment - e2e: the phone's ⋯ rows are at least 44 px
Owner
Author
|
Review fixes in ffdd18e, then a merge of origin/main (0b09263, conflicts in Thread.tsx imports and the Playwright config comment only):
Results: DOM 541 pass, 0 fail. Inbox typechecks clean. E2E on the compiled binary (inbox-full-view, inbox-mobile, inbox-attachments, inbox-attachments-kinds, inbox-attachment-stepping, inbox-video, inbox-paste): 85 passed, 1 skipped, 0 failed. |
# Conflicts: # AGENTS.md # tests/e2e/playwright.config.ts
… file viewer's keys move into the shortcut registry Escape in a full-screen file now closes the innermost thing first (the file list or the menu, a comment being written, the image/film comment row, the comments drawer, Annotate on HTML, the unsaved-comment question) and only then leaves full screen: back beside the thread, or back to the thread where the file can only be full screen. Typed words are never lost: Escape on a composer holding words asks first (Save it, Discard it, Keep writing). From inside an HTML page, Annotate's Escape is a rung of the same ladder, and in Interact the bridge offers an Escape the page did not use (page-escape, HtmlViewer onPageEscape). The Inbox's keys get a registry surface (packages/inbox/shortcuts): inbox-file-viewer (Escape, ] [ arrows, the full-screen chord), inbox-thread (E, Z) and the existing inbox-search, with the shared guard rules in one place (guards.ts). useShortcutScope takes a capture option.
…he next Escape); the menu-row check waits for the opening scale
# Conflicts: # AGENTS.md # packages/inbox/components/AttachmentPane.tsx # packages/inbox/components/OpenIn.tsx # packages/inbox/components/Thread.tsx # packages/inbox/fullView.test.tsx # packages/inbox/inbox.css # tests/e2e/inbox-mobile.spec.ts # tests/e2e/playwright.config.ts
# Conflicts: # AGENTS.md # packages/inbox/components/Toast.tsx # packages/inbox/inbox.css
…t a title The approved Drawer design draws the whole "Changed since Claude sent it" sentence as the chip's component tooltip (ui's Tooltip), never a native title. inbox-image-viewer.spec.ts still asked for a title attribute, failed, and the worker restart that followed reran beforeAll with an empty world, so every later test in the file timed out or looked for an empty thread id. The spec now hovers the chip and reads the tooltip.
1 task
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
Approval record:
.product/approved/inbox-one-fullscreen/(approved 2026-10-16 by the owner, variant Drawer; not in this repo). Owner choices that override the designer's notes: the toolbar always starts showing, the Inbox no longer follows plan review's sharedtoolsHiddencookie, and the comments drawer never opens by itself.One full-screen mode. The pane header's Full screen goes straight into what used to be "full view": the file fills the window and one floating toolbar is left. The old full screen (pane header + stepping bar + docked panel with only the thread hidden) and the separate eye button are gone, with their dead paths (the phone stepper bar and reply strip,
onFullView, the eye's first-run label, the shared-cookie reads and writes inThread.tsx). A phone and a stacked window use the same mode (44 px targets, no hover), led by ‹ Back to the thread.The toolbar (
FullViewBar.tsx): pen (HTML that takes comments), comment count,N/M ⌄peek, ⋯ (FullScreenMoreinOpenIn.tsx: Open in, Download, the other version; on a phone also the position), Exit full screen, » Hide tools.inertand the handle is a real button ("Show tools, N comments[, file changed since sent]"); focus is never lost.The drawer. The count opens the docked comments panel beside the page (320 px; the page narrows, not covered). It keeps its foot ("N annotations ride your next Send … M are on other files." + Write the reply). Open/closed is remembered (cookie
plannotator-inbox-file-comments) and it never opens by itself: a comment saved while it is closed bumps the count (on the handle too; no bump under reduced motion). On a phone it is the existing bottom sheet.Exit full screen puts the file back beside the thread with focus on the header's Full screen. Esc keeps its ladder (draft → hover → Interact) and never leaves full screen.
Unchanged:
]/[stepping and the step chip, the N/M peek, the changed-since-sent chip (it does not tuck), light/dark on theme tokens, reduced motion.Also fixed while proving it: on a phone the toolbar covered a film's "Comment at" button; the pane and the toast now keep above any file foot row (
FILE_FOOT_ROW,data-file-foot).Docs: the "Full view" bullet in CLAUDE.md/AGENTS.md is now "Full screen, one mode", plus its neighbours (stepping, phone and stacked-window bullets).
Proof
DOM_TESTS=1 bun test --isolate packages/inbox: 514 pass, 0 fail. New/rewritten:packages/inbox/fullView.test.tsx(the one mode and focus, tuck/reveal/pin and focus, the corner timing, the drawer and its remembered state, a new comment only bumping the count, the toolbar always starting out, ⌘⇧X on HTML only, ⋯, peek and steps, Escape, changed chip and dot, phone, stacked window, Exit) andpackages/inbox/fullScreenThread.test.tsx(whole window: HTML opens with the toolbar showing whatever the shared cookie says and never writes it; the drawer comes back with the next file).fullViewRemembered.test.tsx(the shared-cookie behaviour) is deleted.packages/inbox/tsconfig.json,apps/inbox/tsconfig.jsonclean.bun run test:e2e:inbox, 37 specs incl.inbox-full-view,inbox-attachments,inbox-attachment-stepping,inbox-image-viewer,inbox-mobile,inbox-video,inbox-worst-case,toolstrip-stacking): 282 passed, 2 skipped (env-gated), 0 failed.Screenshots
From
tests/e2e/inbox-full-view.spec.ts(headless Chromium 1280×800; phone in WebKit iPhone 15). Desktop: HTML, image and markdown, each light and dark, showing / tucked / revealed / pinned / drawer open; plus the HTML menu, annotating, beside the thread, the peek, the step chip, markdown changed + tucked; phone showing / tucked / revealed / comments sheet.Local paths (not uploaded), in
/tmp/one-fullscreen-built/:html-annotating-dark.pnghtml-beside-dark.pnghtml-drawer-dark.pnghtml-drawer-light.pnghtml-menu-dark.pnghtml-pinned-dark.pnghtml-pinned-light.pnghtml-revealed-dark.pnghtml-revealed-light.pnghtml-showing-dark.pnghtml-showing-light.pnghtml-tucked-dark.pnghtml-tucked-light.pngimage-drawer-dark.pngimage-drawer-light.pngimage-pinned-dark.pngimage-pinned-light.pngimage-revealed-dark.pngimage-revealed-light.pngimage-showing-dark.pngimage-showing-light.pngimage-tucked-dark.pngimage-tucked-light.pngmarkdown-changed-tucked-dark.pngmarkdown-drawer-dark.pngmarkdown-drawer-light.pngmarkdown-pinned-dark.pngmarkdown-pinned-light.pngmarkdown-revealed-dark.pngmarkdown-revealed-light.pngmarkdown-showing-dark.pngmarkdown-showing-light.pngmarkdown-tucked-dark.pngmarkdown-tucked-light.pngpeek-dark.pngphone-comments-dark.pngphone-comments-light.pngphone-revealed-dark.pngphone-revealed-light.pngphone-showing-dark.pngphone-showing-light.pngphone-tucked-dark.pngphone-tucked-light.pngphone-video-comment-at-light.pngstep-chip-dark.pngDecisions the record didn't cover
plannotator-inbox-file-comments, per browser), not config.json, and it is shared by every file and kind.N/M.