Repository navigation
feat(dashboard): Show a stack's count once, and keep item rows plain - #3752
Merged
Merged
Conversation
One stack per root Conversation, and every Review item its own card with its own answer, Dismiss, and Snooze. Next prefers the same stack. Intent from BYK's request in the Inbox redesign thread. Co-Authored-By: BYK <[email protected]>
The Inbox stacks a child agent's items under its root Conversation. Each item payload now has addedByChild, with the root id and a label such as the Thread title, when the viewer can see that root. A search marks the items from children with a join, so a page of root items reads nothing more. The mock data gets a root with two Threads and mixed items. Co-Authored-By: BYK <[email protected]>
A child agent's items now show in the stack of its root Conversation, with a quiet label that names the child. Each card has its own Dismiss and Snooze, so no action closes several items at once. When a card leaves, the next card of the same stack takes focus; the stack leaves with its last card, or in To do with its last ask for the viewer, and the next stack opens. A card that closes elsewhere leaves the same way. A stack of more than one card keeps Snooze all. Co-Authored-By: BYK <[email protected]>
…on-stacks Co-Authored-By: BYK <[email protected]> # Conflicts: # packages/junior-dashboard/e2e/inbox/inbox-motion.spec.ts # packages/junior-dashboard/src/client/review-desk/InboxRow.tsx
Each Review item of a root Conversation gets its own row inside a light border under the root's title, inside the existing sections. A row click opens the row, quick actions show on hover (always on touch), a stack folds after four rows, Next stays in the stack, and Wake in Snoozed wakes one row. Co-Authored-By: BYK <[email protected]>
… row stacks Quick Snooze and Dismiss replace Pin and Archive only on Inbox rows. The design doc now describes stacks as light-border groups of rows. Co-Authored-By: BYK <[email protected]>
…on-stacks Co-Authored-By: BYK <[email protected]> # Conflicts: # packages/junior-dashboard/e2e/inbox/inbox.spec.ts # packages/junior-dashboard/src/client/review-desk/InboxList.tsx # packages/junior-dashboard/src/client/review-desk/InboxRow.tsx # packages/junior-dashboard/src/client/review-desk/RowSnoozeDismiss.tsx
Co-Authored-By: BYK <[email protected]>
…on-stacks Co-Authored-By: BYK <[email protected]> # Conflicts: # packages/junior-dashboard/src/mock-reporting/review-items.ts # packages/junior/src/api/review-items/routes.ts
A Conversation with two asks stacks as rows in the Inbox, and a stack shows no summary. The Conversations view keeps the Conversation row. Co-Authored-By: BYK <[email protected]>
…actions A row's quick actions now use the Inbox's own Snooze and Dismiss buttons, with their words, Dismiss right-most as the main action. A phone shows only their icons. Snooze all also holds the items it put away, so a stack that is part of its Conversation, as after one row snoozed by itself, leaves too. Only an item added after the snooze wakes it.
…on-stacks Co-Authored-By: BYK <[email protected]> # Conflicts: # packages/junior-dashboard/src/client/review-desk/InboxList.tsx # packages/junior-dashboard/src/client/review-desk/InboxRow.tsx # packages/junior-dashboard/src/client/review-desk/ReviewItemActions.tsx # packages/junior-dashboard/src/client/review-desk/RowSnoozeDismiss.tsx # packages/junior-dashboard/src/client/review-desk/inboxData.tsx # packages/junior-dashboard/src/client/review-desk/rowMotion.ts
A stack row for a child's ask opened the root at an ask that is not in the root's transcript, so the ask never came into view. Item rows now open the Conversation that added the item, at its ask, and the subject card reads that Conversation's annotations. A Conversation row still opens its own Conversation.
The stack header had a plain "Snooze all" link, a new look next to the row bar's buttons. It now uses the row bar's own Snooze and Dismiss buttons, with their icons, and only the icons on a phone. Dismiss all is the main action, so it goes right-most. It closes every open ask of the stack at once, with the optimistic Retry when one fails. The hold for the open row and its closed-elsewhere leave move to their own hook, so InboxList stays under its length limit. Co-Authored-By: BYK <[email protected]>
…on-stacks Co-Authored-By: BYK <[email protected]>
The stack header's Snooze all and Dismiss all are ghost buttons now, so the header does not compete with the rows. Dismiss all stays right-most, as the main action. A row's quick actions show only their icons, with their names as the accessible name and the tooltip. A touch screen has no hover, so there an Inbox row shows its actions only once it is open. Unopened rows on a phone no longer repeat them. Co-Authored-By: BYK <[email protected]>
…y section Dismiss all acted on the stack's key, which no row has, so the open row of the stack did not hand off to the next row of the list, and a failed dismiss had no row to scroll back to. It now puts the stack's open row away, or its first row, with every row of the stack passing. A Snooze on a shut row of a stack had no card to leave with, so the row went at once. A shut row now leaves itself, with the same motion. A stack's dock key now has its section, so the same Conversation in To do and Up for grabs gives two keys.
An item row is always one actionable item. A lone ask in To do, Up for grabs, FYI, or Snoozed now shows its own row, which opens in place, not its Conversation's row. Conversation rows stay in the Conversation sections. Every Review item now names its root Conversation the same way: rootConversationId, from the root that each Conversation stores, at any depth. A child's item also has addedByLabel. The search reads the same join as before, so the cost does not change. Snooze all snoozes each item of the stack, so an item that arrives later shows by itself while the rest stay in Snoozed. Snooze all and Dismiss all put the whole stack away with the row's leave motion, and the next row after the stack opens. FYI notices stack by root, as asks do.
…on-stacks # Conflicts: # packages/junior-dashboard/src/client/review-desk/InboxList.tsx # packages/junior-dashboard/src/client/review-desk/InboxRow.tsx # packages/junior-dashboard/src/client/review-desk/RowSnoozeDismiss.tsx # packages/junior-dashboard/src/client/review-desk/inboxData.tsx # packages/junior-dashboard/src/client/review-desk/inboxRowActs.ts
The stack header shows its item count once, right-most. Its buttons say Snooze and Dismiss, and their names say what each covers. Also from review: - Section counts count item rows, not stacks. - Row snoozes saved before item snoozes convert to snoozes of their items. - A lone item row has no Conversation actions, as a stacked row. Co-Authored-By: BYK <[email protected]>
…on-stacks Co-Authored-By: BYK <[email protected]> # Conflicts: # design/inbox.md # packages/junior-dashboard/e2e/inbox/inbox-answers.spec.ts # packages/junior-dashboard/e2e/inbox/inbox-stacks.spec.ts # packages/junior-dashboard/src/client/review-desk/InboxList.tsx # packages/junior-dashboard/src/client/review-desk/InboxStack.tsx # packages/junior-dashboard/src/client/review-desk/RowSnoozeDismiss.tsx # packages/junior-dashboard/src/client/review-desk/inboxRowActs.ts # packages/junior-dashboard/src/client/review-desk/inboxSnooze.ts
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
A row snooze from before items snoozed one by one was converted and deleted with the first page. Its items on later pages then woke. Keep it until it ends, so each later page converts too, and mark a woken item so the legacy snooze does not put it away again.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3f3f887. Configure here.
Contributor
|
30 screenshot changes — 30 changed · 0 added · 0 removed Review screenshots in Frameshift Show 12 more changed screenshots12 more changed screenshots in Frameshift. |
The Snoozed count named a legacy row snooze's newest item even after it woke. Name it only until it has its own snooze. Also convert later items with the stored cutoff when the newest item is no longer listed.
BYK
approved these changes
Nov 19, 2026
22 tasks done
This branch was successfully deployed
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.

Follow-up to #3704, from its last review round.
One count per stack. A stack's header showed "Snooze all" and "Dismiss all". It now shows the stack's item count once, right-most, so a scan reads it. The buttons say just Snooze and Dismiss, as quiet buttons, and only their icons on a phone. Their names say what each covers, such as "Snooze 3 items in this stack":
Item rows stay plain. A Conversation with one item showed that item with the Conversation row's actions: Pin, Archive and the context menu. A stacked row did not. An item row is always one actionable item, so a lone item row now has the same actions as a stacked one. Pin and Archive stay on the Conversations view.
Section counts count rows. Up for grabs counted root Conversations, and To do did too when the server count was missing. Each section now counts its item rows.
Older snoozes keep sleeping. Snoozes saved before items snoozed one by one put away a whole row, under its Conversation. Each now turns into snoozes of the items it put away. An item that came later stays awake, so it shows by itself.
via @BYK.
--
View Session [Sentry]