Repository navigation
feat(dashboard): Bundle the inbox by conversation - #3036
Closed
sentry-junior[bot] wants to merge 15 commits into
Closed
sentry-junior[bot] wants to merge 15 commits into
sentry-junior[bot] wants to merge 15 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
30 screenshot changes — 21 changed · 6 added · 3 removed Review screenshots in Frameshift Show 12 more changed screenshots3 more changed screenshots in Frameshift. |
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 00:37
faa1154 to
608fe59
Compare
sentry-junior
Bot
changed the base branch from
main
to
feat/dashboard-one-pane-nav
November 10, 2026 00:38
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 00:43
608fe59 to
fc6d895
Compare
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 06:27
fc6d895 to
d49ffb1
Compare
This comment has been minimized.
This comment has been minimized.
This was referenced Nov 10, 2026
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 10:30
d49ffb1 to
cce0149
Compare
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 19:56
cce0149 to
540c509
Compare
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 21:28
540c509 to
06e828e
Compare
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 10, 2026 22:10
06e828e to
f7c5f78
Compare
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 11, 2026 02:00
71dd512 to
4e77d2e
Compare
Show the inbox as one triage queue with one bundle per Conversation. A bundle expands in place with the asking message, each item's answer form, and Done, Snooze, and Open conversation actions. j/k, Enter, e, h, o, and r drive it. A plugin ask about a pull request shows the saved object card from its Conversation. Needs you uses the server's waiting rule: open action items assigned to the viewer, not to Everyone. Bundles sort by the longest wait, like the conversation list. The queue fills the page beside the shared pane. Snooze is browser-local. Mock reporting adds GitHub plugin asks and FYI notices to the shared Review item store. Co-Authored-By: BYK <[email protected]> Co-Authored-By: David Cramer <[email protected]> Co-Authored-By: bete <[email protected]>
Add owner=me to the Automation list query. It narrows any scope to the Automations the viewer owns, so the Inbox can ask for the viewer's Automations that need attention. Co-Authored-By: BYK <[email protected]>
Port Kix's Inbox prototype onto the stacked one-pane nav: - The bundle pane lists All, Pull requests, Decisions, Automations, then one entry per Conversation. Rows are cards; an open row lifts. - Each bundle groups its rows its own way. All: Needs you (longest wait first), then Today, This week, and Earlier. Pull requests by state. Decisions by Conversation. Automations by reason. A Conversation by item kind. - /review?filter=needs-you&group=conversation lands on the items that wait on the viewer, grouped by Conversation. - A click on a row expands it in place. Only labelled buttons leave the Inbox. Automation rows show why they are here and their last run, with Resume for a blocked Automation. - A sweep clears notices and FYI items only, with a 6s Undo. p pins and h snoozes, with time choices only. Pins and snoozes stay in the browser. Co-Authored-By: BYK <[email protected]>
Everything in the Inbox involves the viewer, so the phrase adds nothing. - All leads with To do. Headers and sweeps show plain counts. - Rows say what they are: Question, Approval, Review requested, Ready to merge, or FYI. - The by-conversation landing keeps its URL and reads "By conversation" with its Conversation count. - With nothing to clear, a sweep shows nothing. Co-Authored-By: BYK <[email protected]>
Done lists the viewer's closed Review items, newest closed first, in Today, This week, and Earlier. Each row shows the answer or close reason, who closed it, and when; dismissed rows carry a marker. Rows expand in place and are read-only. Only Open conversation leaves the Inbox. The review-items list takes a status filter: open by default, or done and dismissed, paged newest closed first with the same visibility as open items. The Inbox count and sweep still see only open items. Co-Authored-By: BYK <[email protected]>
On desktop the Inbox title and sweep sit in the header row that the pane and the other pages share, with search and keys below it. Co-Authored-By: BYK <[email protected]>
An Automation with a last run time but no last run status said "No runs yet" in the Inbox. It now says when it ran. Co-Authored-By: BYK <[email protected]>
- A sweep clears notices only. A question or approval assigned to Everyone failed the waits-on-viewer check, so a sweep dismissed it. - Collapsing a section with the open row in it no longer opens another row. Only a row that left the list hands off to the next one. - A search on All or Automations matches the viewer's Automations by title and status reason, since the server search covers Review items only. Co-Authored-By: BYK <[email protected]>
Done rows are read-only and never leave the list, so a collapsed Done section no longer hands the open row off to the next one. Co-Authored-By: BYK <[email protected]>
The Inbox tab badge counts items that wait on the viewer, but the All row counted everything, so they disagreed side by side. Each bundle now leads with what waits on the viewer, the same rule as the badge, and shows its FYI items as a lighter second number. All's main number matches the badge. An open row's header now ends flat on a rule inside its card, and the detail starts below it with the card's padding. Co-Authored-By: BYK <[email protected]>
#3035 gives the Inbox pane scroll memory through its tab. The bundle list replaces that page, so it passes the same tab. Co-Authored-By: BYK <[email protected]>
The shared row detail now starts below a rule, so the Automation detail no longer draws its own. Co-Authored-By: BYK <[email protected]>
sentry-junior
Bot
force-pushed
the
feat/dashboard-inbox-bundles
branch
from
November 11, 2026 02:32
4e77d2e to
d7f7a54
Compare
- A link to an open item past the loaded page now opens it. A linked item that was open leaves the queue when it closes, and only an item that was closed when the link opened stays shown. - The view reset runs before the link opens its row, so a cached list on mount keeps the linked row open. - A sweep brings back items that did not close, with an error toast. - While the viewer's Automations load or fail, All and Automations do not read as empty, and a failure shows an error. The Inbox e2e spec passed 1,000 lines, so its fixtures move to review-desk-fixture.ts and the bundle specs to review-desk-bundles.spec.ts.
A link recorded whether its item was listed as soon as the detail loaded, so an item on the loaded page could read as unlisted and come back after its answer. All also showed the loading rows while the viewer's Automations load and nothing else is listed.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 01d1295. Configure here.
The All loading rows now wait only when nothing is listed or snoozed.
Contributor
Author
|
Folded into #3035. All 15 commits from this PR, plus the Inbox fixes, are on |
sentry-junior Bot
added a commit
that referenced
this pull request
Nov 11, 2026
The Inbox tab replaces the Conversations tab. Its pane lists entries instead of rows: Inbox, Snoozed and Done, then the bundles Conversations, Pull requests, Decisions and Automations, then In flight (pinned and running Conversations, up to five, with Show all). The main area shows the rich list for the selected entry at full width. - The Inbox opens with a collapsible To do section (the choice is remembered), then Today, This week and Earlier. Only a bundle has a main heading. - Rows show the Brief summary, ask pills and PR chips. A click opens the Conversation in the main area; the pills or the chevron expand the row in place to answer, approve, mark Done, pin or snooze. - Clear sits on each section header as "Clear N", with Undo. - Back in the Conversation header, and Esc outside an input, return to the list with the same entry, scroll position and expanded row. When Details is open, the first Esc closes it. - "+" opens the composer at /conversations/new. / is the list. - /review, /review?bundle= and /review?item= redirect to the list, with the item's row expanded. reviewItemPath and its consumers follow: the palette, and the transcript item cards and change rows. Push notifications already link Conversations, not items. - One hook owns the list state (entry, scroll, expanded row, loaded length), and one data hook feeds the pane and the list. The feed loads older pages by cursor as the list scrolls. - The Conversations bundle keeps the old sidebar row features: the context menu, rename, archive, mark unread, pin with drag-reorder, and Thread nesting. Pins use the server's pinnedAt only. - An archive from a Conversation goes back to the list it opened from. - The Automations tab keeps its own pane list. Remove ReviewDeskPage, InboxSidebar, ConversationSidebar, the localStorage pins, the j/k/h/e/o keys and the held-order list from #3036, and rename the conversations tab key to inbox. Co-Authored-By: BYK <[email protected]>
An error occurred while trying to automatically change base from
feat/dashboard-one-pane-nav
to
main
November 17, 2026 09:32
BYK
added a commit
that referenced
this pull request
Nov 17, 2026
This PR adds the new dashboard UI behind the per-user switch from #3446. Turn on **Settings › General › Try the new dashboard** to get it. Everyone else keeps the current dashboard, unchanged. Base: `main`. The new UI puts all navigation in one left pane, and merges Conversations and the Review desk into one Inbox, modeled on Google Inbox. It started as #3035 (one-pane nav) and #3036 (Inbox bundles). The pane comes from Kix's tabs prototype (`proto/dashboard-tabs`, `34b2a6bc2`), and the Inbox from Kix's unified Inbox prototype (`9094c16ba`). Thanks, Kix. **Why:** what waits on you is spread over the Conversations sidebar, a separate Review desk page and each Conversation. The new UI puts it in one list, with the rest of the dashboard one click away. ## How the switch works - The page loads one shell, chosen on the server from the user's `experimentalUi`: - `ClassicShell` is the current UI, as on `main`. - `InboxShell` (entry `src/inbox.ts`) is this PR's UI. It replaces `main`'s placeholder. - The checkbox is in Settings › General in both shells. It is off by default and visible to everyone. It sends `PATCH /api/me` and reloads, so a user can always switch back. - The current UI's own modules stay as they are on `main`. New-UI code lives in its own modules under `src/client/inbox/`. Where a shared module has new behavior, the new UI turns it on through `useInboxUi()` or an optional prop. Shared Review item links stay `/review?item=`, and the new UI maps them to its Inbox. - **Bundles** (first-load JS, gzip): classic **587.0 KB → 599.9 KB** (+2.2%: the shell switch, the setting and 12 shared icons). Inbox **616.3 KB** (the placeholder was 387.3 KB). The classic entry has no new-UI module, and the inbox entry has no module that only the current UI uses. ## What the new UI has - **One pane:** search, **+** and the pane toggle on top. Below them, one list: Inbox, Snoozed, Done │ Conversations, Automations, plugin pages │ Asks by type (Pull requests, Decisions) │ In flight (pins, then running Conversations). Counts come from the server. Settings, System, Memories and Code get their own pane, with a way back. - **Inbox:** **To do** (asks that name you), **Up for grabs** (asks for everyone, with "I'll take it"), then Today, This week and Earlier. Rows show the Brief status and summary, ask pills and linked work. A click expands a row in place, to answer, Dismiss, Snooze or Pin it. Dismiss and Snooze move the focus to the next row. Notices clear per section with Undo. - **Density:** Compact (the default) or Comfortable, in the profile menu. Comfortable rows add a summary column, quiet linked-work cards, file thumbnails and link cards. The row under the pointer grows a little and opens in the same motion. **Expand on hover** (Off / Compact only / Everywhere) controls the opening. Reduced motion turns both off. - **Pull requests** (`?view=prs`): your open changes in three piles: Waiting on you, Waiting on others, and Drafts. - **Automations:** a pane row with your Automations that need attention. The list uses the Inbox's style, with To do, Active, Paused and Completed sections. - **Omni search** (`⌘K`) is the only search. It covers Conversations, Inbox items, Automations, people, repositories, changes, Memories, Runs and Events. - **Tab count:** `main`'s tab title and icon count (#3460), in both shells. - **Shortcuts:** `⌘B` toggles the pane, `⌥⌘B` Details, and `⌥⌘Y` Zen mode. `Esc` closes Details, then goes back to the list. Off Mac, use Ctrl instead of ⌘. ## API There are no API, schema or migration changes. The new UI reads APIs that are already on `main`. It adds `include=links,media` to its feed reads (#3449, #3483), so only users of the new UI pay for that query. Outside the dashboard, the GitHub plugin's "Review requested" and "Ready to merge" notices now name the pull request by number, and put its URL on its own line, so both UIs show it as one card. ## What could break, and what to do - **The current UI:** it should look and behave as on `main`. A difference is a bug in this PR. Report it here. - **The new UI:** it is opt-in. If it breaks for you, clear **Try the new dashboard** in Settings › General to go back. - **State kept in the browser:** in the new UI, snoozes, dismissed Automation alerts, density and Expand on hover are saved per browser. They don't follow a user to another browser. A later PR moves snoozes to the server. - **Safari:** `⌥⌘Y` is not tested in Safari yet. ## Screenshots Mock data, 1440 (phone 390), taken at the merged head. **Current UI:** `main` on the left, this PR on the right, with `main`'s mock data. Only Settings changes: it adds the switch. | | Light | Dark | | --- | --- | --- | | **Home** |  |  | | **Review desk** |  |  | | **Settings** |  |  | **New UI** (this PR's mock data): | | Light | Dark | | --- | --- | --- | | **Inbox, compact: before (`1b49ab899`)** |  |  | | **Inbox, compact: after** |  |  | | **Inbox, comfortable: before (`1b49ab899`)** |  |  | | **Inbox, comfortable: after** |  |  | | **Conversations, compact: before (`1b49ab899`)** |  |  | | **Conversations, compact: after** |  |  | | **Pane top bar, 16rem: before (`eea8bd38d`)** |  |  | | **Pane top bar, 18rem: after** |  |  | | **Pane footer, tall (≥720px): before (16rem, `a208b87e1`)** |  |  | | **Pane footer, tall (≥720px): after (18rem)** |  |  | | **Pane footer, short (<720px): before (16rem, `a208b87e1`)** |  |  | | **Pane footer, short (<720px): after (18rem)** |  |  | | **Conversations, comfortable: before (`1b49ab899`)** |  |  | | **Conversations, comfortable: after** |  |  | | **A triage row with PRs, Linear issues and Threads, comfortable: before (`1b49ab899`)** |  |  | | **A triage row with PRs, Linear issues and Threads, comfortable: after** |  |  | | **A triage row with PRs, Linear issues and Threads, compact: before (`1b49ab899`)** |  |  | | **A triage row with PRs, Linear issues and Threads, compact: after** |  |  | | **A row with 90 PRs and 12 images, comfortable: before (`1b49ab899`)** |  |  | | **A row with 90 PRs and 12 images, comfortable: after** |  |  | | **An open pinned row: before (`1b49ab899`)** |  |  | | **An open pinned row: after** |  |  | | **A pinned row, pointer on its Threads: before (`1b49ab899`)** |  |  | | **A pinned row, pointer on its Threads: after** |  |  | | **An expanded question row** |  |  | | **Pull requests** |  |  | | **Conversation** |  |  | | **Automations** |  |  | | **Settings, with the switch** |  |  | | **Settings, Inbox motion** |  |  | | **Phone** |  |  | | **Hover scroll: before (`596edf8b8`) / after** | Before (dark, mock):  [GIF](https://junior-prod.sentry.dev/public/artifacts/8deeabd4-2dd5-4e0f-bf72-8905d4ccde8e.gif) | After (dark, mock):  [GIF](https://junior-prod.sentry.dev/public/artifacts/4c83b687-6c69-4ebe-8499-a7e429c2e0ee.gif) | <!-- junior-request-attribution:start --> via @BYK, @betegon. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A4ff7beb14b0fc44330b5ad54fe9c3664 --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A4ff7beb14b0fc44330b5ad54fe9c3664) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A4ff7beb14b0fc44330b5ad54fe9c3664/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <[email protected]> Co-authored-by: David Cramer <[email protected]> Co-authored-by: bete <[email protected]>
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.

Related: #3030 (the narrower "Needs you" signal, including plugin-reported asks) and #3031 (progress replies should not mark unread). This PR does not fix either one.
Rebuilds the Inbox from Kix's prototype (
proto/dashboard-tabs, thanks Kix 🙏), plus the requester's rules. It now sits on #3035's tabs rebuild.What changes
ListPane, under the Inbox tab, lists All, Pull requests, Decisions, and Automations, then one entry per Conversation, then Done. Phones get the same list as chips, with Done last. Rows are cards with gaps between them, sections have bold headers, and an open row lifts out of the stream.2 questions · Review requested · FYI.o) leaves.TERMINOLOGY.mdrecords Done so that it is not confused with Conversation archive.statuson the Review item list.openis the default.done,dismissed, ordone,dismissedlist closed items instead, and they page by a cursor in newest-closed-first order (closed_at,id), past the old 50-item cap. The list keeps the same reader and visibility rules as open items. A cursor pages only its own list, andopencannot be mixed with closed statuses. No migration. The Inbox count and sweep still see only open items.okey does the same thing as those buttons./api/automations?scope=attention&owner=me. Expanded, a row shows why it is here and its last run. A blocked Automation gets Resume, through the existing lifecycle API, which the Automation page shares viauseAutomationLifecycle. Other reasons link to the editor. The mock rows now come from feat(automations): Attention-first Automations landing and details page #3098's fixtures.owner=meon the Automation list. The smallest filter that narrows any scope to the viewer's own Automations. No migration. It is covered by the Automations API integration scenario.8 · 6 FYI. A bundle with only FYI items shows only the mutedN FYI. All's main number equals the badge. Attention Automations count in their own bundle, not in All, because the badge counts only Review items. Counts include snoozed items, as the badge does.tab="inbox".f494176a4and71dd512debefore the replay):ppins andhsnoozes, with time choices only (3 hours, Tomorrow, Next week); the "until something happens" choices wait for Store Inbox snooze and pins on the server, with event-based snooze #3106.j/k,Enter,e,r,o, andEscwork as before. In Done, only move, open, andoapply.App.tsxhas no diff against feat(dashboard): Add the new Inbox UI behind the per-user switch #3035.Why
e,h,j/k), Linear triage, and GitHub notifications. Hick's law: a collapsed row has one action, and its choices show only when you open it.Screenshots (top of the stack with #3035's tabs, mock mode, signed-in viewer)
All shots are from #3035's head
5cc6bbff3, with Inbox as the first tab.1440:
?filter=needs-you&group=conversation)390:
?filter=needs-you&group=conversation)Checks
typecheck(dashboard and core) ✅. Rootpnpm lint✅, including file-length, test-architecture, dashboard-style, and ast-grep. The pre-push hook passed.d7f7a545f(base5cc6bbff3). Behavior specs inreview-desk.spec.ts:resume, and "Open editor" navigates;vitest run tests/integration/api/review-items tests/integration/api/automations.test.ts✅. The review-items scenario now pagesstatus=done,dismissednewest closed first, rejects cursors from another list andopen,done, hides closed items from an outsider, and keeps the count at open items.Prototype gaps and follow-ups
needsViewer, and the pane counts the listed open items. With more open items than one page, they can differ until the next page loads.localStorage). A real version needs per-viewer state on Review items. Snooze-until-event waits for Store Inbox snooze and pins on the server, with event-based snooze #3106.Review requested · #N). A structured state field on the plugin's Review item would be sturdier (Narrow Needs attention to things blocked on the viewer #3030).closed_at. It sorts the viewer's visible closed items. Add an index if the table grows.for=viewer, like the rest of the Inbox, so closed items assigned only to other people do not show.Local preview: plain
JUNIOR_DASHBOARD_MOCK_CONVERSATIONS=true pnpm devruns signed out, which hides the Inbox. The screenshots come from a standalone server with the e2e harness auth stub and a fixed mock clock.via @BYK.
--
View Session in Sentry