Skip to content

feat(review-desk): Add the review desk page - #2464

Merged
dcramer merged 4 commits into
mainfrom
feat/review-desk-page
Oct 31, 2026
Merged

dcramer merged 4 commits into
mainfrom
feat/review-desk-page

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Part 3 of the review desk stack for #2401. Stacked on #2462.

  • Nav: "Review desk" is the first nav item after Conversations. It shows the count of open items assigned to the viewer as a User (/api/review-items/count, refreshed every minute). Unassigned items do not count.
  • Page (/review): item list on the left, selected item on the right (?item=<id>). Mine / Everyone / All views, an Open / Archived filter that uses the same views, and search. The list groups items into "Needs an answer", "Notices", and "Blocked Automations". Blocked Automations come from the viewer's Automations with status blocked; they are not stored as items. Unassigned items show only in All, with an "Unassigned" label.
  • Selected item: title, body, subject, linked Conversations, who added it (Conversation and Automation), assignees, and the actions. An assignee can take, submit, complete, or dismiss. An archived item shows who closed it, when, and the answer.
  • Shared form: the requestUserInput form moves from UserInputRequestCard into components/UserInputForm.tsx. The transcript card still sends the formatted answer as a message. The review desk submits the structured answer. ReviewItemActions will also back the transcript card and side panel in the next PR.

No new automated tests: the page is UI composition over the API that #2462 tests. Visual QA follows on the top PR.

via David Cramer.

--

View Session [Sentry]

@vercel

vercel Bot commented Oct 30, 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 2:51am UTC

Request Review

@blacksmith-sh

This comment has been minimized.

sentry-junior Bot and others added 4 commits October 31, 2026 02:46
…gnees across runs

Follow-up to review feedback on #2460, which merged first.

- The open dedupe index was global, so one workspace could block a key,
  such as pr:7, for every other workspace. A new migration scopes the
  index to the provider tenant, and the lookup filters by tenant.
- A private item checked assignees only against the current
  Conversation. A later run of the same Automation could not keep the
  people of the run that added the item. The check now also accepts
  people in the Conversation that added the item.

Co-Authored-By: David Cramer <david@sentry.io>
Add Review desk to the dashboard nav, second after Conversations, with
the count of open items assigned to the viewer. The page lists open or
archived items in the Mine, Everyone, and All views, grouped into items
that need an answer, notices, and blocked Automations. The selected
item shows its facts and the actions the viewer can take.

Move the requestUserInput form into UserInputForm so the review desk
submits the same form with a structured answer.

Refs #2401

Co-Authored-By: David Cramer <david@sentry.io>
Co-Authored-By: David Cramer <david@sentry.io>
…em in its view

Visual QA found five review desk problems:
- The answer form scrolled inside a fixed height, so Send was hidden.
  Only the composer card needs that limit, so it now owns it.
- The request question showed raw markdown.
- A closed item showed the agent answer text, with the internal request
  id. It now shows one line for each answered field.
- A tab change kept an item that was not in the new list. A tab change
  now clears the selection.
- Item links dropped the view and state, so a click on an archived item
  moved the desk back to Open.

Archived actions are listed as Questions, not Needs an answer.

Co-Authored-By: David Cramer <david@sentry.io>
@dcramer
dcramer marked this pull request as ready for review October 31, 2026 02:46
@github-actions github-actions Bot added the risk: high PR risk score: high label Oct 31, 2026
@sentry-junior
sentry-junior Bot force-pushed the feat/review-desk-page branch from 3c383ab to 3d3bf46 Compare October 31, 2026 02:50
@github-actions

Copy link
Copy Markdown
Contributor

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

Review screenshots in Frameshift

Automation Attention · Desktop
Automation Attention · Desktop
Changed
Automation Editor · Desktop
Automation Editor · Desktop
Changed
Automation Editor Conflict · Desktop
Automation Editor Conflict · Desktop
Changed
Automation Editor Public · Desktop
Automation Editor Public · Desktop
Changed
Automation Event Editor · Desktop
Automation Event Editor · Desktop
Changed
Automation Event Editor Any Resource · Desktop
Automation Event Editor Any Resource · Desktop
Changed
Show 12 more changed screenshots
Automation Page · Desktop
Automation Page · Desktop
Changed
Automation Page Light · Desktop
Automation Page Light · Desktop
Changed
Automation Paused · Desktop
Automation Paused · Desktop
Changed
Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automation Run Details Light · Desktop
Automation Run Details Light · Desktop
Changed
Automation Runs · Desktop
Automation Runs · Desktop
Changed
Automation Versions · Desktop
Automation Versions · Desktop
Changed
Automations · Desktop
Automations · Desktop
Changed
Automations List · Desktop
Automations List · Desktop
Changed
Automations Runs · Desktop
Automations Runs · Desktop
Changed
Code · Desktop
Code · Desktop
Changed
Code Repository · Desktop
Code Repository · Desktop
Changed

39 more changed screenshots in Frameshift.

@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 3d3bf46. Configure here.

@dcramer
dcramer merged commit a037dd8 into main Oct 31, 2026
45 checks passed
@dcramer
dcramer deleted the feat/review-desk-page branch October 31, 2026 02:56
dcramer added a commit that referenced this pull request Oct 31, 2026
Part 4 of the review desk stack for #2401. Stacked on #2464.

- **Transcript card:** when the agent adds an item (`addReviewItem`,
directly or through `executeTool`), the transcript shows a review card
under that tool call. The tool row stays out of the collapsed activity
group so the card is visible. The card has the same actions as the
review desk, shows who closed it and the answer once closed, and links
to the item on the review desk. A viewer who cannot act sees it without
the form; a viewer who cannot see the item sees nothing. The card needs
the tool result, so a transcript that hides tool payloads shows no
inline card (the bar still covers it).
- **Bar + side panel:** while a Conversation has open linked items, a
bar above the message box shows how many. It opens a side panel with a
card per item.
- **"Waiting on you" dot:** `GET
/api/review-items/waiting-conversations` lists Conversations with an
open linked item assigned to the viewer or Everyone. Unassigned items do
not count. The sidebar, home list, and repository list show a lavender
dot for them, and it replaces the other status markers. No layout
changes.

Tests: `/waiting-conversations` cases in
`tests/integration/api/review-items/actions.test.ts`, and a unit test
for the tool call parser (`tests/review-item-tool-call.test.ts`).

The Slack card follows in the next PR.

<!-- junior-request-attribution:start -->
via **David Cramer**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0AHB7N2JCR%3A1793326028.695969 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0AHB7N2JCR%3A1793326028.695969)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0AHB7N2JCR%3A1793326028.695969/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: David Cramer <david@sentry.io>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 3d3bf465 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