Repository navigation
feat(review): a note on the whole change (M, or the Review menu) - #168
Merged
Merged
Conversation
M, or the first row of the Review menu, writes a note on the whole change: the browser's review-level (general) comment, with no file. It heads the rail under "Whole change", is edited and removed like any note, counts in Send, and is sent first under "## Global comments" as the browser sends its global comments, for local reviews and pull requests alike. Resolving notes now skips general notes instead of reading a file with an empty path, which failed for the work tree (a folder) and for a commit (a tree).
backnotprop
force-pushed
the
feat/review-whole-change-note
branch
from
November 20, 2026 01:26
6c2f72f to
a9e97a6
Compare
Merged
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.
Adds a note on the whole change to the code review screen.
M(new actionchange-comment), or the first row of the Review menu, "Comment on the whole change", opens the comment box for a note on no file.scope: "general",filePath: "", lines 0, side new).e) and removed (x) like other notes and counts in "Send N new".## Global comments, the way the browser's export does. This works for local reviews and for pull requests (under the# PR Reviewheader).Mwas free in every code review context. A config that already gaveMto another action keeps loading, andchange-commentis then unbound, as for the other late actions.Docs: README (code review section and key table) and the
?help screen.Tests: the note's JSON shape; resolving it in uncommitted, staged and commit scopes; rail order; the key and older configs; screen flows for
M, the menu row, edit and remove, sending, reload and reopen, and a pull request review.Checked by hand in tmux on a scratch repository and on PR #163 fetched into the cache repository (no clone). Feedback was delivered through
PLANNOTATOR_TUI_DELIVER_CMD.