Skip to content

ref(review-desk): Replace view tabs with one search across open and archived items - #2487

Merged
dcramer merged 3 commits into
mainfrom
ref/review-desk-search-only
Oct 31, 2026
Merged

dcramer merged 3 commits into
mainfrom
ref/review-desk-search-only

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

The review desk had two tab rows: Mine / Everyone / All, and Open / Archived. That is more filter chrome than the page needs.

Now the page has one search bar and nothing else:

  • No search: the list shows every open Review item the viewer can see, plus blocked Automations.
  • Search: the list also finds done and dismissed items. They show in an Archived group under the open groups. Each archived row has a muted title and its outcome ("Done" or "Dismissed").
  • Archived detail: a closed item starts with an "Archived · Done" (or "Dismissed") banner, so it is clear when a search result is not open.
  • On desktop, the list card no longer stretches to the height of the detail card.

Changes:

  • ReviewDeskPage.tsx: remove both FilterTabLists. Keep one full-width SearchInput. Split the list into open and archived groups. List groups now have an accessible name.
  • ReviewItemDetail.tsx: show the Archived banner for a closed item instead of a status chip.
  • queries.ts: drop the view and archived filters from useReviewItemsData.
  • API: GET /api/review-items no longer takes view or archived. Without q, it lists open items. With q, it also lists done and dismissed items. The query schema is strict, so a stale ?view= or ?archived= link to the API now gets a 400. Old dashboard URLs with these params ignore them.
  • searchReviewItems in store.ts sorts open items first, so the list limit never drops an open item for a closed one. The agent searchReviewItems tool passes its own statuses and still filters by assignee.
  • e2e/review-desk.spec.ts: saves review-desk and review-desk-search screenshots (desktop and mobile, dark and light) for Frameshift. It checks that the default list has no archived items, and that a search shows the Archived group and banner.

This departs from #2401, which specified Mine / Everyone / All views and an archived filter. Follow-up work is in #2488.

Open question: without Mine, a person in a busy tenant sees every public item. If that gets noisy, we could sort items the viewer can act on (canAct) first. That is not in this PR.

via David Cramer.

--

View Session [Sentry]

The review desk lists every Review item the viewer can see. Search narrows
it, and a Show archived toggle switches to done and dismissed items. The
Mine, Everyone, and All views and the Open/Archived tabs are gone, and the
list API no longer takes a view parameter.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Oct 31, 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 Oct 31, 2026 5:01pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

10 screenshot changes — 2 changed · 8 added · 0 removed

Review screenshots in Frameshift

Conversation Child Agent Drawer · Desktop
Conversation Child Agent Drawer · Desktop
Changed
Conversation Child Agent Drawer · Mobile
Conversation Child Agent Drawer · Mobile
Changed

Add an e2e test that saves the open list, a search result, and the
archived view, so Frameshift shows review desk changes. The test also
checks that search and the archived toggle update the URL.

Co-Authored-By: David Cramer <[email protected]>
Drop the Show archived toggle. Without a search, the desk lists open
items. A search also finds done and dismissed items, which show in an
Archived group with a muted row and their outcome. The detail of a
closed item starts with an Archived banner.

The list API drops the archived filter. A query also matches closed
items, and open items sort first so the list limit keeps them.

Co-Authored-By: David Cramer <[email protected]>
@sentry-junior sentry-junior Bot changed the title ref(review-desk): Replace view tabs with search and an archived toggle ref(review-desk): Replace view tabs with one search across open and archived items Oct 31, 2026
@dcramer

dcramer commented Oct 31, 2026

Copy link
Copy Markdown
Member

still more work to do here

@dcramer
dcramer merged commit cad56e1 into main Oct 31, 2026
44 checks passed
@dcramer
dcramer deleted the ref/review-desk-search-only branch October 31, 2026 17:10

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 8b0bd13a Deployed Oct 31, 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