Skip to content

Inbox Reviews: rename and route (#reviews, #pulls alias, &new, off line) - #2661

Merged
backnotprop merged 5 commits into
mainfrom
feat/inbox-reviews-route
Nov 5, 2026
Merged

backnotprop merged 5 commits into
mainfrom
feat/inbox-reviews-route

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

PR 1 of about 7 for the approved Inbox Reviews page (.product/approved/inbox-reviews-page, DESIGN r2 "Estimate", item 1). Item 2 (the server index) merged as #2629.

What changes (all behind Settings -> Capabilities -> Code review, off by default):

  • The sidebar row, the page's head and the PR review's way back say Reviews.
  • The page is #reviews. #pulls... is a permanent alias: it is rewritten to #reviews... in place, with its parameters kept (packages/inbox/reviewsRoute.ts). Workspaces depends on this.
  • #reviews&new opens the box once and leaves the address, so Back and a reload don't reopen it. Until the New review box lands this opens New message.
  • While Code review is off, a #reviews or #pulls link says "Code review is off" with Open Settings, and reads nothing. A tailnet guest's page still lands on the Inbox: it can't turn the switch on.

Not here: the sidebar count is still the PR list's On you. It becomes the Reviews count with the page PR. data-pulls-* and the file names stay, to keep this small beside the PRs in flight on packages/inbox/pulls/.

Words, new and person-facing: "Reviews", "Code review is off", "Reviews of your local changes and pull requests show here when it's on.", "Open Settings" (r2 as approved). No agent-facing words.

Tests: packages/inbox/reviewsRoute.test.ts, tests/e2e/inbox-pull-requests.spec.ts (10 pass, 2 video tests skipped).

…n alias)

The sidebar row and the page's head say Reviews. #pulls... is rewritten to #reviews... in place,
with its parameters, for good: links to it live outside this repository. #reviews&new opens compose
(the New review box when it lands) once and leaves the address. While Code review is off, such a
link says so, with Open Settings, instead of landing on the Inbox; nothing is read.
…equests words; fresh-load, &new and guest tests
# Conflicts:
#	packages/inbox/App.tsx
#	packages/inbox/pulls/PullsPage.tsx
@backnotprop
backnotprop marked this pull request as ready for review November 5, 2026 13:03
@backnotprop backnotprop added the ci:full Run the heavy CI tier on this PR (added by the merge script) label Nov 5, 2026
@backnotprop
backnotprop merged commit ccf27af into main Nov 5, 2026
77 of 80 checks passed
backnotprop added a commit that referenced this pull request Nov 5, 2026
Conflicts kept both sides: `guest` and `codeReview`, the outside-diff and
outdated labels together, `fetchFileContent`/`fileContents` with `fileOpenIn`,
#2640's readHead comment with hasCommit and fileContents, its key comment over
ReaderPart, the union of imports, and both e2e tests (main's first).

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the heavy CI tier on this PR (added by the merge script)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant