feat: thread resolution with accept/reject decisions#4
Open
feat: thread resolution with accept/reject decisions#4
Conversation
Design for adding accept/reject decisions and modification instructions when resolving review threads, consumed by both web UI and CLI plugin. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6-task plan covering DB schema, API, BlockThread UI, plan detail page, export endpoint, and e2e verification. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lockThread - Adds decision/instruction/resolvedBy fields to Thread interface - Toggleable resolve form with Accept/Reject buttons (emerald/rose colors) - Optional instruction textarea in resolve form - Decision-aware status badge: accepted (emerald), rejected (rose), resolved (emerald fallback) - Left border color reflects decision state - Shows resolved-by name and collapsible instruction for resolved threads Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…il page - Adds decision/instruction/resolvedBy fields to Thread interface - Updates handleResolve to accept optional decision and instruction params - Passes decision and instruction to PATCH API conditionally Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
/api/threads/[tid]withdecision,instructionfields and auth checkChanges
blockThreads(decision, instruction, resolved_by_email, resolved_by_name)Test plan
/planclave-import <plan-id>— verify export includes decision labels and instructionsnpx tsc --noEmit🤖 Generated with Claude Code