Repository navigation
Inbox review: on a phone, Comments takes the whole screen - #2702
Merged
Merged
Conversation
…es it first; a key's opening clears the selection bar
backnotprop
marked this pull request as ready for review
November 5, 2026 20:51
backnotprop
added a commit
that referenced
this pull request
Nov 6, 2026
…ide the sidebar on a PR #2702's desktop guard took the window's edge and a 300 px sheet; on #2639's PR page the review sits beside the open sidebar, so the docked column needs a wider window, its edge is the review's, and at 800 the folded sheet is the diff's width when that is under 300 px. Co-Authored-By: Claude <[email protected]>
backnotprop
added a commit
that referenced
this pull request
Nov 6, 2026
…s after it closes Since #2702 a phone's Comments sheet covers the window and hides the bar, so the Files button is not reachable while it is open. The step now checks that Comments closes the Files sheet and that closing Comments brings no Files sheet back.
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.
On a phone, Comments in the Inbox's review (a pull request and a guided review) now takes the whole screen. It used to be a 300 px panel over a sliver of the page, under the page's bars.
Phone width only
visibility: hidden, the way the list stays under an open thread. Close returns to the same scroll, and nothing of the page shows or takes a tap beside the sheet.Unchanged
packages/uiandpackages/review-editorare untouched. The rules are.ib-reviewrules in the Inbox's phone media query.Selection bar
There is no sliver left to tap. A bar already on the page goes when Comments opens, and the spec checks that.
Left to other PRs
#803comes from.ib-prr-stripinPullReview.tsx. Flat PR view: the review app's layering of background colours #2639 removes it, so it stays here. With Comments open it is covered.Conflict with #2639
#2639 conflicts in
PullReview.tsxaround the sheet's close. Its test "the sheets cover the diff and nothing else, at 390, 800 and 1100" and its comment saying so "on a phone too" contradict this PR at 390, so that test needs its 390 case changed when it merges. ItscloseCommentsneeds theflushSyncfrom here, because the button can't take focus while the page is hidden.Tests
tests/e2e/inbox-review-comments-phone.spec.tsruns against the compiled binary in a scratch world with a scratchHOME. It fails without the fix.After review
packages/inbox/components/phoneCommentsSheet.ts.