Skip to content

fix(dashboard): Read the Inbox feed's reach from later pages only - #3708

Merged
BYK merged 15 commits into
mainfrom
fix/inbox-counts-match-pages
Nov 18, 2026
Merged

BYK merged 15 commits into
mainfrom
fix/inbox-counts-match-pages

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Fixes two bugs that Bugbot found on #3691 after it merged.

  • The Inbox could stop reading the feed too early. The first feed page also holds every pin and each Conversation that waits on the viewer, whatever its age. The Inbox read how far back the feed went from the oldest row it had loaded. So an old pin could stop the feed while a later page still held a row for Today or This week. Now only a page after the first, which holds rows by activity alone, decides that. While only the first page has loaded, the Inbox reads the next one.
  • "Older work is in Done" showed after a failed page. When a needed feed page failed, the link showed while rows could still be missing. Now Try again shows instead.

A follow-up PR drops the Inbox's time-grouped Conversation stream, so the Inbox shows only To do, FYI and In flight. That PR also deletes the code this one changes: the Earlier cap, the link to Done and the feed paging rule.

via @BYK.

--

View Session [Sentry]

sentry-junior Bot and others added 14 commits November 18, 2026 14:13
To do, the header, and the tab count To do's cards, not their items.
Decisions counts every question that it lists, and Pull requests counts
the pull requests under Waiting on you. Closed, snoozed, and cleared rows
leave the counts with their rows. The server count now covers only the
waiting items past the loaded pages.

Earlier in the Inbox shows its first 10 rows and then links to Done, so
the Inbox ends.

Co-Authored-By: BYK <[email protected]>
The Inbox now ends after the first rows of Earlier, so it no longer
reads the older feed page that failed.

Co-Authored-By: BYK <[email protected]>
…h-pages

Co-Authored-By: BYK <[email protected]>

# Conflicts:
#	packages/junior-dashboard/src/client/review-desk/InboxList.tsx
#	packages/junior-dashboard/src/client/review-desk/inboxData.tsx
An ask that a link names, or that an open row holds, can come from past
the loaded pages. It showed as a row, and the server count of the items
past the loaded pages still held it, so the badges counted it twice.
A row whose items closed elsewhere stays while it leaves. Its items left
the shown rows, but they still came off the server remainder as waiting,
so a badge read low until the row was gone.
…h-pages

Co-Authored-By: BYK <[email protected]>

# Conflicts:
#	packages/junior-dashboard/src/client/review-desk/InboxList.tsx
…s it

The feed reads by activity, and a row shows its last message. So a full
Earlier could stop the feed while a later page still held a row for
Today or This week. The feed now stops only when Earlier is full and
its oldest loaded activity is before This week.

Co-Authored-By: BYK <[email protected]>
The first feed page also holds every pin and each Conversation that
waits on the viewer, at any age. Its oldest row could end the feed
while a later page still held a row for Today or This week. Only a
later page, which holds rows by activity alone, now says how far the
feed has read.

The link to Done also showed after a failed page, while rows could
still be missing. Try again shows instead.
…h-pages

Co-Authored-By: BYK <[email protected]>

# 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
@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 8:57pm UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 18, 2026
@BYK
BYK merged commit 29802e0 into main Nov 18, 2026
47 checks passed
@BYK
BYK deleted the fix/inbox-counts-match-pages branch November 18, 2026 21:13
BYK added a commit that referenced this pull request Nov 18, 2026
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 |
![](https://junior-prod.sentry.dev/public/artifacts/2522e2d1-4349-42c7-8dde-0df18b70c2be.png)
|
![](https://junior-prod.sentry.dev/public/artifacts/6b6df0d7-911c-470f-a48f-e0dd9da8485c.png)
|
| Desktop light |
![](https://junior-prod.sentry.dev/public/artifacts/85cc7283-133f-4bce-b53c-66b86e541361.png)
|
![](https://junior-prod.sentry.dev/public/artifacts/bf314467-2ad6-4e11-b4d1-cb5d2299aef5.png)
|
| Mobile dark |
![](https://junior-prod.sentry.dev/public/artifacts/6beffd50-666d-43b7-a7f6-7a3d204965b7.png)
|
![](https://junior-prod.sentry.dev/public/artifacts/2db004dd-18ac-4e40-b32b-489c956991a7.png)
|
| Mobile light |
![](https://junior-prod.sentry.dev/public/artifacts/cbb81fbb-53ca-4fe6-b8f3-7adcccddd967.png)
|
![](https://junior-prod.sentry.dev/public/artifacts/06de2a0b-3d1e-42b8-873f-a3dc397b31c8.png)
|

<!-- 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 — 183a7bc0 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: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant