Skip to content

feat(tui): add interactive code review system for reviewing agent changes - #12188

Closed
ishaksebsib wants to merge 10 commits into
anomalyco:devfrom
ishaksebsib:feat/code-review-page
Closed

ishaksebsib wants to merge 10 commits into
anomalyco:devfrom
ishaksebsib:feat/code-review-page

Conversation

@ishaksebsib

Copy link
Copy Markdown
Contributor
demo.mp4

Depends on opentui#621

Summary

Added a new /changes route that enables users to review file changes made by the agent and provide feedback through inline comments.

Features

  • Interactive diff viewer with split/unified views, syntax highlighting, and word wrap
  • File list sidebar grouped by directory with additions/deletions counts
  • Inline commenting on any line (add, remove, or context lines)
  • Comment management: add, edit, and delete comments
  • Keyboard navigation: j/k scroll, tab switch panes, ctrl+enter submit feedback
  • Feedback submission: formatted comments sent as a user message to continue the session

Architecture

  • Session based diff using the builtin sync.data.session_diff
  • Slottable diff system injects comment UI at specific line positions opentui#621
  • Comments tracked per-file using line anchors (old:, new:, v:) for diff view compatibility
  • Comments formatted as markdown with file path, line numbers, and change type when given to agent

@github-actions

github-actions Bot commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions

github-actions Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants