feat: review queue for resolved annotations#5
Merged
alexgorbatchev merged 8 commits intomainfrom Mar 10, 2026
Merged
Conversation
Keep resolved/dismissed annotations in state instead of removing them. They render as faded green checkmark markers and can be reviewed via a new panel (between clear and settings). Users check off items and clear them when done. Keyboard shortcut R toggles the panel. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
R conflicts with browser reload. Button stays left of settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add Select All button (disabled when all already selected) - Rename to "Clear Selected" (enabled when any are checked) - Style both as proper buttons with hover states Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Panel 650x450 (was 320x240) - Agent reply no longer line-clamped - 2px border (white 0.2 dark, black 0.12 light) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Wrap setAnnotations with a gate that filters dismissed IDs on every call. Cleared annotation IDs are stored in localStorage and loaded into a ref on mount, so no load path (initial, SSE, reconnect, session fetch) can reintroduce a cleared annotation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove dismissed IDs localStorage machinery. Clear Selected now deletes annotations from the server (same pattern as the trash button), so they don't come back on reload regardless of localStorage state. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 tests covering: - Resolved/dismissed annotations stay visible as markers - Review queue button visibility and badge count - Panel shows annotation details, comments, and agent replies - Mutual exclusivity with settings panel - Checking/unchecking reviewed items updates counter and marker CSS - Select All / Clear Selected button states and behavior - Clear Selected removes only checked items - Clear Selected sends DELETE to server - SSE resolution keeps annotation visible with resolved marker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2a637a6 to
3468ecb
Compare
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.
Summary
Qkey) that lists all resolved annotations with their original comment, agent reply, and statusDetails
isRenderableAnnotationnow allows all annotations through — resolved ones render with.resolvedCSS classannotation.updatedhandler updates status in place instead of exit animation + removeTest plan
pnpm buildpassespnpm test— all 846 tests pass🤖 Generated with Claude Code