Harden secondary inputs for compact touch layouts - #1385
Open
backnotprop wants to merge 2 commits into
Open
Conversation
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.
Summary
Audit coverage
The inventory traced inputs to their owners and rendered entry points across plan review, single-file/folder/URL/app annotation, and code review. It covered file/archive/history/table/tree searches; branch/worktree/model/agent/skill pickers; Ask AI, agent, and Guided Review prompts; comment/redline/label/code-suggestion/source editors; import/export/share, image annotation, add-review, code-file popouts, confirmations, recovery/submission, PR/integration, analysis, tour, and first-use dialogs.
Rendered QA used the Chromium-based Codex in-app browser against local Vite and built CLI-served applications. This is emulation, not physical Safari validation.
Exact rendered viewport coverage:
The in-app browser reports a fine primary pointer even at phone/tablet dimensions, so coarse-pointer behavior is additionally verified in DOM tests. No claim is made that this is physical iPhone/iPad Safari coverage.
Rendered evidence
Matched dark-theme 568×320 landscape state:
390×844 light-theme review search after the shared compact editable/touch-target fix:
Screenshot binaries live only on
pr-assets-1385; the implementation branch remains binary-free.Validation
DOM_TESTS=1 bun test packages/review-editor/components/SuggestionModal.mobile.test.tsx packages/review-editor/components/ExpandedCommentDialog.mobile.test.tsx packages/ui/components/ImportModal.mobile.test.tsx packages/ui/components/PopoutDialog.mobile.test.tsx packages/ui/components/SearchableSelect.mobile.test.tsx packages/ui/components/ui/mobile-foundation.test.tsx packages/ui/components/MarkdownEditor.extensions.test.tsx packages/ui/hooks/useViewportEnvironment.test.tsx packages/ui/hooks/useModalFocusLifecycle.test.tsx— 27 passbun run typecheckbun run build:ui-cssbun run build:reviewbun run build:hookbun run build:opencodebun run --cwd apps/guides-show check:budgetsbun run --cwd apps/guides-show check:manifestgit diff --checkSelf-review found and fixed an Escape collision in image annotation: the shared legacy-modal helper can now restore focus without overriding that surface's existing “blur name, then accept” sequence.
Desktop regression status
At 1440×900, editable sizes, dense control geometry, horizontal code-suggestion layout, and immediate picker autofocus remain intact. Mobile sizing/touch rules stay behind compact width, coarse-pointer, short compact viewport, or the existing compact-touch root contract.
Physical Safari follow-up