Skip to content

feat(dashboard): List only what needs the viewer in the Inbox - #3712

Merged
BYK merged 4 commits into
mainfrom
feat/inbox-actionable-only
Nov 18, 2026
Merged

BYK merged 4 commits into
mainfrom
feat/inbox-actionable-only

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

The Inbox listed every Conversation under Today, This week and Earlier, below To do and FYI. Most of those rows need nothing from the viewer, so the Inbox never ended, and #3691 had to add an Earlier cap, a link to Done and a paging rule to stop it.

Now the Inbox shows only what needs the viewer: To do, Up for grabs and FYI. The pane's In flight still shows running and pinned Conversations, and Conversations still lists everything. The badges are unchanged.

This deletes what only the stream used: the Earlier cap, the "Older work is in Done" link, and the Inbox's feed paging. #3708 has not merged yet, and it changes that same code, so this PR deletes its changes too.

Before After
Desktop dark
Desktop light
Mobile dark
Mobile light

via @BYK.

--

View Session [Sentry]

The Inbox drops its time-grouped Conversation stream. It shows To do, Up
for grabs, and FYI, and the pane's In flight shows running and pinned
Conversations. Conversations still lists everything.

This removes the Earlier cap, the link to Done, and the Inbox's feed
paging that only the stream used.

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from BYK November 18, 2026 20:40
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 18, 2026 9:31pm UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 18, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@BYK
BYK enabled auto-merge (squash) November 18, 2026 20:50
…inks with no row

The Inbox said "Nothing left here" before Automations loaded, and after
that read failed. An item link to an ask with no Inbox row kept looking
for a Conversation row, which the Inbox no longer has.
The Inbox now has the linked item's row at once, so the link leaves the
URL before the test could read it.
…-only

# Conflicts:
#	packages/junior-dashboard/e2e/inbox/inbox-paging.spec.ts
#	packages/junior-dashboard/src/client/review-desk/InboxList.tsx
#	packages/junior-dashboard/src/client/review-desk/inboxData.tsx

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 35feec4. Configure here.

@BYK
BYK merged commit f928161 into main Nov 18, 2026
47 checks passed
@BYK
BYK deleted the feat/inbox-actionable-only branch November 18, 2026 21:48
@github-actions

Copy link
Copy Markdown
Contributor

24 screenshot changes — 24 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Attachment Zoom · Mobile
Conversation Attachment Zoom · Mobile
Changed
Conversation Event Log · Mobile
Conversation Event Log · Mobile
Changed
Conversation Question · Desktop
Conversation Question · Desktop
Changed
Show 12 more changed screenshots
Conversation Question Light · Desktop
Conversation Question Light · Desktop
Changed
Conversation Question Stepper · Desktop
Conversation Question Stepper · Desktop
Changed
Inbox · Desktop
Inbox · Desktop
Changed
Inbox In Flight · Desktop
Inbox In Flight · Desktop
Changed
Inbox In Flight Expanded · Desktop
Inbox In Flight Expanded · Desktop
Changed
Inbox In Flight Expanded Light · Desktop
Inbox In Flight Expanded Light · Desktop
Changed
Inbox Light · Desktop
Inbox Light · Desktop
Changed
Inbox Phone Entries · Desktop
Inbox Phone Entries · Desktop
Changed
Inbox Phone Entries Light · Desktop
Inbox Phone Entries Light · Desktop
Changed
Inbox Phone List · Desktop
Inbox Phone List · Desktop
Changed
Inbox Phone List · Mobile
Inbox Phone List · Mobile
Changed
Inbox Phone List Light · Desktop
Inbox Phone List Light · Desktop
Changed

6 more changed screenshots in Frameshift.

armcknight added a commit that referenced this pull request Nov 19, 2026
…ves the Inbox (#3721)

#3704 fixed the "an answer says so in a toast, then on the row" test in
`inbox-answers.spec.ts` after #3712. The test now opens Conversations to
find the answered row. This PR first made the same fix. After a merge
with `main`, this PR has only the change below.

The Inbox removes an answered row before the server answers. So
`expect(rollout(page)).toHaveCount(0)` can pass while the held answer
request is still in progress. The `page.goto` to Conversations can then
stop that request, and the row never says "You answered Hold". Cursor
Bugbot found this race.

The test now waits for the POST response to
`/api/review-items/:id/actions` and checks that it is OK. Only then does
it go to Conversations.

Locally, the spec passed 10 of 10 runs (`--repeat-each 5 --retries 0`,
`inbox` project).

No screenshot test applies: this changes only an e2e test, not what
users see.

No Linear issue.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
BYK added a commit that referenced this pull request Nov 19, 2026
…3720)

A Conversation row says "You answered Hold" until the Conversation moves
on. The dashboard looked for that answer only in the first page of the
viewer's closed Review items. After 50 newer closes, the answer was no
longer on that page, and the row showed the old ask again. Bugbot found
this on #3690.

Now the Conversation list API sends `viewerAnswer` on each row of the
viewer's own feed: the options they picked and the close time. A
text-only answer has no options, and the row says "You replied". The
value comes from a scalar subquery on the row read, so the feed sends no
new statement. A partial index on answered items keeps the subquery
cheap. The dashboard no longer reads closed items for this, and the mock
reporting API sends the same field.

Since #3712, the Inbox lists no Conversation rows, so
the answer line shows only in Conversations.

The UI does not change visibly, so there are no screenshots.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3A48b837080a8297cf9a982eb8522da019 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A48b837080a8297cf9a982eb8522da019)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A48b837080a8297cf9a982eb8522da019/?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]>
BYK added a commit that referenced this pull request Nov 19, 2026
)

An Inbox `?item=` link to an ask that waits on someone else has no row,
because the Inbox lists only what needs the viewer. The link still added
the ask to the list, and that replaced the item an earlier link had kept
there. If the kept item was past the loaded page, its To do row went
away.

Now a linked open item joins the Inbox only when it gets a row: a
notice, an ask that is up for grabs, an ask that waits on the viewer, or
an item whose root Conversation is already in To do. In every other case
the link leaves the URL and the list stays as it is. Other views work as
before.

This follows up on Bugbot's finding on #3712, which
merged before this fix was pushed.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3Aa5eb5c98b535a5fa5cab8ac9580b44c0 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Aa5eb5c98b535a5fa5cab8ac9580b44c0)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Aa5eb5c98b535a5fa5cab8ac9580b44c0/?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]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 35feec49 Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant