Repository navigation
feat(planning): full-screen Inbox page with urgent-only host pop-ups - #8471
Conversation
…cations and History The header Inbox button opens a page of its own in the session's place for everyone, at every width, with tabs behind filter chips the device remembers. Needs you holds what each role can act on now; every row opens where it happened and closes the page. Follow-up 23: the owner's Inbox kept handled items waiting. session.py _inbox listed an open report the owner had already asked Claude about as waiting, and the page's review list showed every failed request under a chip on by default, including requests the owner discarded (failed with "The owner did not share the result.") or cancelled. Reports asked about now wait on Claude until the reporter adds to them; a discard marks its request cancelled; a guest's request Claude failed waits (fail: item) until the owner opens it. Follow-ups 18 and 24: the owner's pop-ups are for a join, a request waiting for Run and a problem report; pop-ups arriving together collapse into one with a count and Open Inbox and drop items that stopped waiting. The owner can change which kinds pop up with Pop-ups switches at the top of Notifications (the new optional popups pref; old states load unchanged). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Round 12 Q39: the host's pop-up for what urgently waits (a join, a request for Run, a report) stays until the host closes it with its new Close button or opens it, or nothing in it waits any more; a toast that covers it hands back to it. Every other toast keeps its timing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…that name @claude The host's pop-ups skip items the host filed (a report of their own). The tour step and the welcome line have said chat never reaches Claude since #8408; they now say a message starting with @claude asks Claude. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Review in Inbox from the Host view opens the request's row (it passed a bare id). - Run again and a reporter's addition forget the owner's read mark, so a second failure and a returning report read as new; a pop-up mark is forgotten when its item leaves, so it pops up again on return. - Mark all read leaves failed requests alone; they clear from their row. - Only the cancelled flag marks a discard. Schema version 6 (migrate.py 5 -> 6) marks earlier discards cancelled and starts earlier Claude failures read, so an upgrade adds nothing to Needs you. - A toast's Close or Open never closes the Inbox page; the first Escape takes an urgent pop-up away; its Close is named Close this pop-up; Open Inbox never shuts an open page. - A chip turned off stays in reach; guests see no proposals or suggestions to place. - The popups pref refuses a kind named twice. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first Escape now takes an urgent pop-up away (Q39), so the suite presses Escape until Ask Claude is closed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ion test Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found in the incremental change since 21c10b5 (reviewed at head efbb011).
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 21c10b5979
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-review reviewed Incremental review of efbb011 since 21c10b5 found nothing to flag. I read the diff and the surrounding code in
|
- A pop-up's Open follows the newest item even when its words stay the same. - Opening the Inbox page closes chat, so a hidden chat never holds Tab or keeps the top bar inert on a phone. - The popups pref refuses non-string items as a bad field instead of failing on hashing. - A failure pops up only while unread; an opened one drops out of the pop-up. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each poll set the same label again, which rewrote the live region every few seconds. Co-Authored-By: Claude Opus 5.5 <[email protected]>
No related issue: the owner approved this as item 9 of the question-screen spec, from rounds 9-12 of the live interview; it has no tracker issue.
Summary
The Inbox was a crowded drop-down, and it kept showing handled items as waiting. Pressing Inbox in the header now opens a full-screen page for everyone. Host pop-ups now appear only for urgent events.
popupspref.Fix
The stale Inbox items had two causes.
_inboxin session.py listed every open report as waiting, including reports the owner had already asked Claude about. Those now wait again only after the reporter adds to them.cancelled: true. Only a guest's request that Claude failed waits on the owner, and only until the owner opens it. The Host view's queue uses the same filter.Schema v5 -> v6 (migrate.py
_v5_to_v6): adds the optionalpopupspref. Legacy discards are markedcancelled: true, and only that flag marks a discard now, never a reason string, which Claude could write after reading guest text. Guest requests that Claude failed before the upgrade start read, so they do not flood Needs you. The original file is kept as state.v5.json. A rehearsal on a copy of the live session's state passed the v6 schema with unchanged record counts.Not in this PR: guest pop-up defaults and host-set session defaults (round 11 Q36/Q37), and a "Don't pop up for these" action on each notification. They follow in a later PR.
Verification
plugins/planning/shared/tests/ui.test.sh: 36 suites, 1247 passed, 0 failed.align.test.sh: 502/502.TestInbox.test_handled_requests_and_reports_leave_what_waits_on_the_hostfails before the fix (['report:F3']) and passes after (['fail:R4']).Related
Follows #8386 (Inbox), #8412 (sharing default) and #8420 (picture approval).
🤖 Generated with Claude Code