Repository navigation
Waiting on you: list each machine's signed-out provider (#808 row 7, part 1) - #1434
Conversation
The "Waiting on you" page gains a "Needs you on a machine" list: each enabled, installed provider that a connected machine reports as signed out, with the step to sign in and a button to that machine's provider settings. It reads the provider statuses the app already holds (no server change); a machine not connected now is named as not read. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
lens: code · reviewer: Claude Opus 5.5 · read at: ebadd23 blocker: none Checked and fine:
State question: runs again - nothing is stored, every render derives the rows from the live atoms, so a re-render or page reopen shows current state. Stops half-way - no writes, nothing to resume. Old/empty state - a disconnected machine lists none of its cached statuses; a connected machine with no snapshot lists nothing; an empty machine list renders nothing (component returns null). Page open while a machine connects/disconnects or a provider signs in: rows appear/disappear on the next atom update (only gap: the brief reconnect window in minor 2). Tests: not re-run (CI ran them); no finding needed a repro beyond reading, as none is blocker/major. 🤖 Generated with Claude Code |
Part of #808 (row 7, part 1).
What: the "Waiting on you" page (the Issues entry while
client.ownerQuestionsPageis on) gains a Needs you on a machine list. Each row is an enabled, installed provider that a connected machine reports as signed out. It shows the machine, the provider, the step to sign in (from its provider settings, or with its CLI then a refresh) with the machine's own message, and a Provider settings button that opens/settings/providersfor that machine and instance. The page's first line counts the sign-ins too. When sign-ins wait, the empty state says "No owner question is waiting" rather than "Nothing is waiting on you".How: it reads the provider statuses the app already holds for every machine (
useEnvironmentProviders). There is no server change, no new setting and no seam: every file is fork-owned, undercomponents/fork/ownerQuestions. The rule is pure logic inneedsYou.logic.ts.State question:
Left for row 7: T3's own update and pairing prompts, OS-only prompts ("needs you at " with the exact step) read across links, and agent guidance to avoid OS prompts. Upstream already offers provider CLI updates across machines (
ProviderUpdatesAction), so a later part only needs to cover what that misses.Tests:
needsYou.logic.test.ts(new, 7 tests). It is red on main because the module is missing. It covers which providers count as signed out, machine and provider order, the step text, a disconnected machine, statuses that have not arrived, and the count line.vp run check:changedpasses (format, lint, knip, typecheck, tests, react compiler). The fork-changes-list test and the schema, upstream-files and seam checks pass too. Docs: a new change file, plusdocs/fork/README.mdanddocs/fork/about.md.🤖 Generated with Claude Code