Skip to content

Improve review picking and diff discussions in margin-gui - #5

Merged
redrick merged 25 commits into
redrick:mainfrom
lunemec:gui/diff-discussions
Nov 26, 2026
Merged

redrick merged 25 commits into
redrick:mainfrom
lunemec:gui/diff-discussions

Conversation

@lunemec

@lunemec lunemec commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Run questions from the diff in independent background sessions and place answers at the selected code.
  • Browse comments and questions with Next ask and Next reply. Back to reading restores the original reading position across jumps.
  • Keep new replies highlighted until opened. Restore saved questions and reply badges after restart.
  • Continue a diff question with Reply. Each follow-up uses the original code selection and the saved conversation. The thread remains available after a restart or when the code moves.
  • Collapse resolved discussions and dismissed notes to keyboard-accessible markers in the guided and whole-stop views. Local resolution is reversible, and collapsed threads still flag new replies.
  • Open the repository picker in the main pane and keep the sidebar visible. Show Pull requests first and let reviewers switch worktrees from the picker header.

Dependencies

PRs #2 and #4 are merged into upstream main. This branch includes that baseline.

Verification

  • Go tests, Go vet, and a terminal-only build.
  • Discussion and theme tests.
  • Headless browser fixtures for discussion navigation, read badges, draft recovery, and command search.
  • Local Gemini policy checks using permissive user settings and fixture tool names.
  • Follow-up tests for saved context and retry in place, plus a headless browser fixture for continuing after a code move and jumping to the exact reply.
  • Headless browser fixtures for saved collapse state, keyboard recap, detached questions, and rejected GitHub resolution.
  • Headless browser checks for keyboard navigation, opening a PR, switching worktrees, GitHub lookup failures, and stale responses.

@lunemec lunemec changed the title Add independent diff discussions and reply navigation Improve review picking and diff discussions in margin-gui Nov 24, 2026
@redrick
redrick merged commit f2504e3 into redrick:main Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants