feat: review inbox with state-tracked PR comments#217
Open
eugenioenko wants to merge 1 commit into
Open
Conversation
Add a Review Inbox sidebar panel that provides a better PR review experience than GitHub's web UI. Comments are tracked as tasks with states (Open -> Addressed -> Verified -> Closed), and the editor shows live code with gutter markers on commented lines. Key features: - GitHub API layer for fetching/posting PR review comments - Review Inbox sidebar panel with file-grouped comment threads - Comment state machine: Open, Addressed, Verified, Dismissed - Auto-detection of "addressed" comments via git log - Gutter markers on commented lines (diamond indicators) - Next/prev unresolved navigation (Ctrl+K N) - Status bar progress display (e.g. "3/7 resolved") - State persistence via .ttt-review-state.json - Comments auto-load when a PR is opened via Changes Co-Authored-By: Claude Opus 4.6 <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
Ctrl+K V) that treats PR comments as tracked tasks with states: Open -> Addressed -> Verified -> Dismissedgit logfor file modifications after the comment timestampCtrl+K N/ command palette) let you jump through unresolved comments across files like diagnostic jumping.ttt-review-state.jsonso review progress survives across editor sessionsArchitecture
internal/github/github.go-- newFetchPRComments,AddPRComment,AddPRInlineCommentfunctions usingghCLIinternal/github/review_state.go--CommentStateenum,ReviewStatepersistence,DetectAddressedheuristicinternal/ui/review_inbox_widget.go-- sidebar panel widget with file-grouped comments, state indicators, and keyboard shortcuts (v=verify, d=dismiss, r=reopen, a=reply)internal/app/review.go-- app-layer wiring: async comment fetch, state management, gutter marker updates, navigationinternal/app/commands_review.go-- command palette entries for all review actionsDesign Decisions
SelectableList,BaseWidget,PostEventfor async,term.Style*constants for colorsTest plan
internal/github/github_test.go)internal/github/review_state_test.go)internal/ui/review_inbox_widget_test.go)make build && make testpassesv/d/rkeys to change comment statesCtrl+K Nto navigate through unresolved comments🤖 Generated with Claude Code