fix: retain selections and float local review editors
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
- [x] we should be able to execute commands in visual mode, since some commands may relevant to selections.
|
||||
- [x] diff view: local review UX first, independently of GitHub integration, for reviewing local changes and delivering feedback to coding agents.
|
||||
- add comments at the caret or on selected line ranges on either diff side; compose/edit with normal editor interaction, delete drafts, navigate comments, and open a review overview.
|
||||
- start with gutter markers and a focused comment panel rather than inserting comment text into source rows; iterate on the interaction before adding remote operations.
|
||||
- use gutter markers and a focused floating comment editor over the whole diff text workspace, without adding source-side splits or inserting comment text into source rows.
|
||||
- support a review summary and local verdict: Looks good / Changes requested.
|
||||
- save and reopen reviews using local files that coding agents can read; no server or client/server protocol.
|
||||
- anchor comments to immutable revision IDs, paths, sides, and source line ranges, never screen coordinates or mutable file indices.
|
||||
- preserve original anchors and mark comments stale when the reviewed snapshot no longer matches; defer automatic reanchoring.
|
||||
- [ ] persist local reviews automatically.
|
||||
- default to $XDG_DATA_HOME/vamp/reviews/, falling back to ~/.local/share/vamp/reviews/; allow a configurable review_directory.
|
||||
- key files by repository identity and review ID, preserving reviews and stale comments across revision changes.
|
||||
- autosave committed comment edits, summaries, verdicts, and deletions; retain explicit save-as for sharing with agents.
|
||||
- surface write failures without discarding drafts.
|
||||
- [ ] diff view: GitHub code review integration after the local review UX is usable.
|
||||
- publish local reviews explicitly: general PR comments, inline line/range comments, review summaries, approval, and requests for changes.
|
||||
- preserve explicit PR identity and reviewed commit IDs; validate anchors against GitHub's PR diff and recheck the PR head before submission.
|
||||
|
||||
Reference in New Issue
Block a user