Repository navigation
ref(review-desk): Replace view tabs with one search across open and archived items - #2487
Merged
Merged
Conversation
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]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
10 screenshot changes — 2 changed · 8 added · 0 removed Review screenshots in Frameshift
|
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]>
Member
|
still more work to do here |
dcramer
approved these changes
Oct 31, 2026
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.
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:
Changes:
ReviewDeskPage.tsx: remove bothFilterTabLists. Keep one full-widthSearchInput. 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 theviewandarchivedfilters fromuseReviewItemsData.GET /api/review-itemsno longer takesvieworarchived. Withoutq, it lists open items. Withq, 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.searchReviewItemsinstore.tssorts open items first, so the list limit never drops an open item for a closed one. The agentsearchReviewItemstool passes its own statuses and still filters by assignee.e2e/review-desk.spec.ts: savesreview-deskandreview-desk-searchscreenshots (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]