Skip to content

Releases

v0.11.5

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:48
2cb6e41

Fixes

  • Saving a comment no longer breaks the diff. In the code review, saving a comment on a mouse selection could slide the diff sideways so only the ends of long lines showed. Saving or cancelling a comment now leaves the diff exactly where it was.
  • The notes panel no longer opens by itself when you save a note. The lines get their mark, the footer says the note is saved and that z shows the notes, and the Send button counts it. A review that opens with notes still shows the panel.
  • Opening the notes panel, closing the file list, resizing the terminal or moving the middle line no longer slides the diff sideways after a click.

Known: with wrap on, or after a click in the empty half of an added or removed line, a width change can still slide the diff sideways. A fix is in progress.

What's Changed

Full Changelog: v0.11.4...v0.11.5

v0.11.4

Choose a tag to compare

@github-actions github-actions released this 24 Nov 05:58
802653d

New in the code review

Three more settings in the settings menu (,). Each applies at once and is remembered.

  • Whitespace: show, hide (like git diff -w), or hide changes in the amount of whitespace (-b). Press W to switch. While hidden, a re-indented block draws as unchanged lines with only the real edits coloured, hunks that changed only whitespace fold to their heading, and a no ws marker shows in the header. The +/− counts stay the patch's own counts.
  • Tab width: 2, 4 or 8 columns.
  • Changed text: mark changed words, words joined, characters, or nothing.

They can also be set in config.toml under [review] as whitespace (show, ignore-all, ignore-change), tab_width (1 to 16) and inline_changes (word, word-alt, char, none). Versions before 0.11.4 do not know these keys and will ignore a config that has them.

Fixes

  • A one-file review no longer freezes when you filter files and go to the file's heading.
  • A config file that fails to load now says so once in the footer, with the reason.
  • A settings file that cannot be read is replaced by the next change instead of being stuck.

What's Changed

Full Changelog: v0.11.3...v0.11.4

v0.11.3

Choose a tag to compare

@github-actions github-actions released this 24 Nov 03:46
4b0656b

Fixes

  • Letting go of the mouse no longer moves the diff. In the code review, releasing after dragging a selection upward shifted the view so the selected lines landed on the last rows of the pane. A shift-click above the line first pressed did the same. A release now leaves the view exactly where it was, whichever way you dragged.
  • At narrow widths, selecting lines no longer nudges the diff by two rows when the footer grows.

What's Changed

Full Changelog: v0.11.2...v0.11.3

v0.11.2

Choose a tag to compare

@github-actions github-actions released this 24 Nov 02:15
17cee6f

Code review

  • The comment box opens next to your selection. c, s and the small toolbar open the box directly under the selected lines, on their side in split view, or just above when there is no room below. A file note (C) opens under the file's heading. Opening, typing and saving never move the diff, and a click outside the box keeps your draft. A click inside the box places the text cursor.
  • Split or unified at a glance. The header has a Split | Unified switch and a Wrap switch. Click them, or press u and w.
  • Settings menu. , or the Settings button: layout, split ratio, wrap, line numbers, colours and background, applied at once. Your choices are remembered for the next review, in the app's own data folder; the config file is never written. Reset to defaults goes back. A [review] table in the config file sets your own defaults.
  • Drag the middle line. In split view, drag the line between the two sides to give one more room; double-click makes them even; ( and ) do it from the keyboard.
  • The layout no longer flips by itself. With layout on auto, split or unified follows the terminal's width and changes only when the terminal is resized, not when the notes panel opens.

Fixes

  • A drag held past the edge of the diff or a document scrolls at a steady pace and stops at the end of the hunk. Before, terminals that report every pixel of pointer movement could race the view to the bottom.
  • Mouse reports from outside the terminal's area are ignored.
  • A click that wobbles inside one cell stays a click.
  • A suggestion keeps its code exactly, including trailing whitespace and CRLF line ends; tabs show in the box.

Other

  • diffs-rs 0.2.3.
  • A config file with a [review] table is not read by 0.11.1 and older, which then fall back to defaults. Add the table only where every plannotator-tui that reads the file is 0.11.2 or newer.

What's Changed

  • fix(review): a drag selection no longer races the diff to the bottom by @backnotprop in #193
  • feat(review): the comment box opens next to the lines it is about by @backnotprop in #195
  • feat(review): layout switch, diff settings menu and a draggable split line by @backnotprop in #194
  • release: 0.11.2 by @backnotprop in #196

Full Changelog: v0.11.1...v0.11.2

v0.11.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 22:55
1220bc5

Code review

  • File list you can read. The review draws its own file list: it sizes itself to fit the names, so they are no longer cut off, and the wasted left padding is gone. < and > narrow and widen it.
  • Filter files. / filters by name, t filters by kind (code, tests, docs, config, generated and more, the same rules Plannotator uses), H hides files you marked viewed. A filter applies to the diff as well as the list.
  • Select with the mouse. Drag over lines in the diff, then c to comment or s to suggest, or click the small bar that appears. Shift-click extends a selection. A selection is shown as a plain background colour and stays inside one hunk.
  • Drag the pane lines. Drag the line between the file list and the diff, or between the diff and the notes, to resize. Double-click to reset. { and } resize the notes from the keyboard.
  • n / N put the next file's heading on the top row. ctrl+n handles a path that appears twice in a diff.
  • Mouse errors show in the footer; they no longer end the review. A panic restores mouse, paste and focus modes.

Buttons

  • Send, Approve, the Review menu and the floating toolbar are readable in dark and light themes, in every state. After a send the button says Sent ✓.

Other

  • The review copies lines with a new copy-lines action. Configs written for 0.11.0 load unchanged.
  • diffs-rs 0.2.2.

What's Changed

  • feat(review): a file list that fits its names, with filters by name, kind and viewed by @backnotprop in #189
  • fix(ui): readable send, approve, review and toolbar chips; say sent after a send by @backnotprop in #190
  • feat(review): select diff lines with the mouse and comment on them by @backnotprop in #188
  • release: 0.11.1 by @backnotprop in #192

Full Changelog: v0.11.0...v0.11.1

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:42
7ac491b

If you use Pi

After you upgrade, run plannotator-tui pi install again, then restart your Pi sessions or run /reload in each one. The new extension lets last under Rex open the Pi session you have focused, at your place after /tree. Send also checks that it still goes to that session. (#145, thanks @kaushikgopal)

Code review

  • Review a GitHub pull request with plannotator-tui review <PR>. (#164)
  • Start a code review from Rex (rex review) and herdr-core (hc review). (#158)
  • In Rex, reviews now open full size in a tab of their own. To keep the split beside the agent, set [rex] placement = "split". (#176)
  • See the whole file with o (now) and O (before the change). (#172)
  • Go to definition with d. Go back and forward with ctrl+o and ctrl+i. (#169, #178)
  • Mark a file as viewed with x, and go to the next file you have not viewed with ctrl+n. The browser app sees the same marks. Viewed files get a tick in the file list. (#171, #186)
  • Leave a note on the whole change with M, or from the Review menu. (#168)
  • The footer tells you when the diff changed on disk. Press r to read it again. (#170)
  • The review uses your terminal's own background, like the document screen. (#186)

Reading documents

  • Search the text with /, then n and N for the next and previous match. (#174)
  • A reading column, coloured code blocks, definition lists and stronger headings. (#173)
  • Long documents open faster: the first screens show at once, and the rest is laid out in the background. (#166)
  • Hide the notes panel with z. It shows up with your first note and stays hidden once you hide it. (#177)

Sending feedback

  • Send to any agent. When nothing names a target, Send asks which agent to use. (#159)
  • Under Rex, the agent list shows every agent Rex runs. (#165)
  • When the agent is stuck at a dialog, Send no longer copies your notes to the clipboard. The notes stay unsent, and E tries again. (#165)
  • Send asks which agent right away, without waiting for a key press. (#175)

Command line

  • --annotate-block takes the same optional type as --annotate. (#183)
  • Both refuse a type they do not know, instead of guessing. (#184)

Fixes

  • Front matter counts only at the top of a file, never inside an agent's reply. (#163)
  • On macOS, last --stdin no longer shows a blank screen and spins a CPU. (#167)
  • Code review: edits made in the same second as the last refresh now show up. (#161, thanks @sebastianst)
  • Code review: the temporary copy of the git index goes into a private folder. (#160, thanks @sebastianst)
  • Code review: text from a pull request (its title, branch names and paths) can no longer slip extra sections into the feedback sent to the agent. (#180, thanks @sebastianst)
  • Code review: a crafted diff line can no longer crash or freeze go to definition. (#182, thanks @sebastianst)
  • Three tests no longer fail now and then when run together. (#181, thanks @sebastianst)

Checks

  • cargo fmt --all --check: clean
  • cargo clippy --workspace --all-targets -- -D warnings: clean
  • cargo test --workspace: 1018 passed, 0 failed, 0 ignored (35 test binaries), run with a scratch HOME and PLANNOTATOR_DATA_DIR

What's Changed

  • feat(review): code review from Rex and herdr-core by @backnotprop in #158
  • feat(send): pick any agent; Send asks which one when nothing names a target by @backnotprop in #159
  • fix(render): front matter only at the top of a file, never in a reply by @backnotprop in #163
  • feat(review): review GitHub pull requests, plannotator-tui review by @backnotprop in #164
  • feat(send): agent picker lists Rex agents; an agent at a dialog gets no clipboard copy by @backnotprop in #165
  • fix(last): read keys from the terminal after --stdin consumed stdin by @backnotprop in #167
  • feat(review): definition search core (git grep on the side being reviewed) by @backnotprop in #169
  • feat(review): viewed marks shared with the browser app (x, ctrl+n) by @backnotprop in #171
  • perf(layout): open long documents on their first screens, lay out the rest in the background by @backnotprop in #166
  • feat(review): a note on the whole change (M, or the Review menu) by @backnotprop in #168
  • feat(review): say in the footer when the diff changed on disk by @backnotprop in #170
  • feat(render): reading column, coloured code blocks, definition lists, stronger headings by @backnotprop in #173
  • feat(rex): full-size review tab, now the default placement by @backnotprop in #176
  • fix(review): the index copy keeps the index's mtime, so same-second edits still show by @sebastianst in #161
  • fix(review): the index copy goes into a fresh private dir, not a guessable temp path by @sebastianst in #160
  • feat(review): whole-file view (o / O) by @backnotprop in #172
  • feat(ui): close the notes rail with z; it appears with the first note and stays closed once closed by @backnotprop in #177
  • feat(document): search the rendered text with /, then n and N by @backnotprop in #174
  • fix(send): redraw when the agent finder answers, so Send asks without a key press by @backnotprop in #175
  • feat(review): go to definition (d), back and forward (ctrl+o, ctrl+i) by @backnotprop in #178
  • fix(review): escape PR-controlled text in agent feedback (prompt injection) by @sebastianst in #180
  • fix(review): a hostile diff line can't crash or freeze go to definition (DoS) by @sebastianst in #182
  • test: fix three flakes from tests racing each other in one process by @sebastianst in #181
  • feat(cli): --annotate-block takes the same optional type as --annotate by @backnotprop in #183
  • fix(cli): --annotate and --annotate-block refuse a type they do not know by @backnotprop in #184
  • fix(rex): select the focused Pi session by @kaushikgopal in #145
  • feat(review): tick viewed files in the file list; draw the review on the terminal background by @backnotprop in #186
  • release: 0.11.0 by @backnotprop in #187

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 21:00
1ed53da

What's Changed

  • feat(pi): send reviews to any running Pi, and take notes from Pi by @backnotprop in #149
  • fix(keys): a plain binding no longer answers with Ctrl held by @sebastianst in #132
  • fix(ui): footer key hints flow onto up to three rows by @sebastianst in #134
  • fix(render): render CJK emphasis and wrap CJK text per character by @Manho in #135
  • feat(hc): review in an hc terminal and send feedback back with hc send by @bailob in #129
  • feat(compose): readline keys, word wrap and a comment_width setting by @sebastianst in #131
  • feat(delivery): send feedback through any command with PLANNOTATOR_TUI_DELIVER_CMD by @backnotprop in #151
  • feat(review): add plannotator-tui-review, the data side of code review by @backnotprop in #150
  • fix(pi): pi send exits 69 when no Pi can take the feedback by @backnotprop in #153
  • fix(last): the message picker scrolls to keep the cursor in view by @sebastianst in #141
  • feat(last): a [last] pick setting for how many messages the picker offers by @sebastianst in #142
  • fix(rex): the config check writes its scratch Lua only into a fresh private dir by @sebastianst in #143
  • fix(pi): remove the registry entry when the terminal hangs up by @backnotprop in #155
  • fix(last): under Rex, Pi's last opens the focused session, not the newest in the folder by @backnotprop in #156
  • feat(last): page and top/bottom keys move the message picker by @sebastianst in #144
  • feat(render): bullets, task boxes, quote bars and hanging indents from the parse by @backnotprop in #152
  • feat(review): code review screen, plannotator-tui review by @backnotprop in #154
  • release: 0.10.0 by @backnotprop in #157

New Contributors

Full Changelog: v0.9.11...v0.10.0

v0.9.11

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:39
b71e96c

What's Changed

Full Changelog: v0.9.10...v0.9.11

v0.9.10

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:03
3ea52ed

What's Changed

  • feat(keys): word-end, whole-row selection and marking without the toolbar by @sebastianst in #133
  • feat(last): search listed claude profile dirs for an exact session id by @sebastianst in #130
  • fix(tui): exit when the terminal hangs up instead of spinning by @backnotprop in #139
  • feat(rex): open reviews in rex and send feedback back by @kwigley in #127
  • feat(rex): Rex Annotate, plus popup placement and Node agent detection by @backnotprop in #140
  • release: 0.9.10 by @backnotprop in #146

New Contributors

Full Changelog: v0.9.9...v0.9.10

v0.9.9

Choose a tag to compare

@github-actions github-actions released this 29 Oct 11:33
83b0cd9

What's Changed

Full Changelog: v0.9.8...v0.9.9