Repository navigation
Waiting on you: list pairing steps that wait on the owner (#808 row 7, part 3) - #1443
scuttletoby wants to merge 2 commits into
Conversation
|
lens: code · reviewer: Claude Opus 5.5 (code lens r1) · read at: dce2565 blocker: none Checked:
State question:
🤖 Generated with Claude Code |
|
Merge conveyor: head |
RebaseMerged Conflicts
Checks
|
|
Merge conveyor: head |
…, part 3) A saved machine where this device waits for approval, and a machine link that expired or ends within 5 days, each with a Connections button. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's signed-out-providers change also starts "Waiting on you also lists, under"; with the same first pull request the changes-list check read both as one change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
9dc92b2 to
48d3199
Compare
|
Merge conveyor: head |
Part of #808 (row 7, part 3; after #1434 and #1436).
What: the "Waiting on you" page (the Issues entry while
client.ownerQuestionsPageis on) gains a Pairing that needs you list:awaitingApproval, and its own text says where to approve it and shows the code. The row gives that text and the step (approve it on that machine's Settings → Connections, or from another device signed in to it).peerLinkHealthrule, the one Settings → Connections uses for "Expired. Link it again…" and "Expires in N days". The row names both machines and the step: link it again from that machine with a new pairing code from the linked one.How: every code file is fork-owned under
apps/web/src/components/fork/ownerQuestions. There is no server change, no setting and no seam. The rule is pure logic inpairing.logic.ts.NeedsYouPairing.tsxreads the environment presentations the app already holds, plus each connected machine's link list (peerLinkListsAtomoverusePeerLinkHosts(), the same reader Settings uses), and draws the rows. The page adds one hook call, one section line and the empty-title condition.Left out on purpose:
expiresAtagainst the current minute.State question:
Merge note: #1434 and #1436 change the same empty-title line in
WaitingOnYouPage.tsxand the same spot indocs/fork/about.md. Whichever merges later keeps all three conditions and all three lines. The README text here is a separate paragraph.Tests:
apps/web/src/components/fork/ownerQuestions/pairing.logic.test.ts(new; red on main because the module does not exist, 8 green here). The questions they answer:Ran locally: the test file above,
vp fmtandvp linton the changed files, the apps/web typecheck, and the fork schema, upstream-files and seam checks.Docs:
docs/fork/README.md(a paragraph underclient.ownerQuestionsPage),docs/fork/about.md, and the change filedocs/fork/changes/app/808-waiting-on-you-lists-pairing.md.Left for row 7: OS-only prompts ("needs you at " with the exact step) and agent guidance to avoid OS prompts.
🤖 Generated with Claude Code