Repository navigation
Inbox: offer code review to people who already use the Inbox - #3960
Merged
Merged
Conversation
The one-time "A new way to review" offer is shown again (CODE_REVIEW_OFFER_SHOWN), with the four lines and icons the owner approved on 2026-11-23. The line naming Shape and System is gone. E2E worlds and the DOM server's release modes start with the offer stamped as shown; a new spec proves it on a release build.
A fresh install no longer sees Code review's one-time offer. Who gets it is decided at the first release start that shows it, as the tab icon dialog's is (inboxUsedBefore): dueAt for someone who used an earlier Inbox, freshAt for a fresh install, nothing for someone who already decided Code review.
…r-on # Conflicts: # packages/server/inbox-held-switches.test.ts # packages/server/inbox-reveal.test.ts
backnotprop
marked this pull request as ready for review
November 24, 2026 06:19
This was referenced Nov 25, 2026
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.
Turns on the one-time "A new way to review" offer, with the four lines and icons the owner approved on 2026-11-23 (record:
.product/approved/inbox-code-review-offer/, not in this repo). Only the offer: no--review, no welcome dialog, no page, no change to what agents are told.What a person sees
workflowat stroke 1.5)Who sees it (unchanged rules,
CODE_REVIEW_OFFER_SHOWNnow true)inboxCodeReviewis unset. Someone who turned Code review on or off in Settings never sees it.inboxReveals.code_review.shownAt). A linked computer has its own config, so it can offer once there too.Agent-facing text
None changes. Showing the offer and Not now leave agent text byte-equal (server test). Turn on code review sends the same save as Settings → Capabilities → Code review.
Tests
packages/server/inbox-reveal.test.ts: next for an existing user; the claim stamps once, turns nothing on, leaves agent text equal, holds the next offer for the gap; Not now; Turn on; decided users never asked.packages/inbox/codeReviewOffer.test.tsx(DOM): also not opening when Code review is already on, and no Shape or System words.packages/server/inbox-held-switches.test.ts,inbox-snooze-intro.test.ts: updated for the offer now being next.E2E_GROUP_TIP_SEEN) and the DOM server's release modes start with the offer stamped as shown.tests/e2e/inbox-code-review-offer.spec.ts: a 0.30.0 binary; pictures of the offer (light, dark, phone) and of the window after Turn on (Reviews in the sidebar).