prreviewbuddy 0.63.0 → 0.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +152 -0
- package/dist/{delete_review-CeJo9t7h.js → delete_review-CRPRIRKg.js} +7115 -6620
- package/dist/main.js +2 -328
- package/dist/server.js +1010 -137
- package/package.json +1 -1
- package/static/chunk-2P5KTb9d.js +1 -0
- package/static/chunk-C8kkSv38.js +1 -0
- package/static/help.js +1 -1
- package/static/notifications.js +1 -1
- package/static/reviews.js +1 -1
- package/static/settings.js +1 -1
- package/static/shell.css +265 -22
- package/static/sidebar.css +2 -0
- package/static/workspace.js +83 -77
- package/static/chunk-BadSI8AL.js +0 -1
- package/static/chunk-CxNfDBSA.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,157 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.69.1
|
|
4
|
+
|
|
5
|
+
**Escape leaves the Buddy AI field.** With your cursor in the Buddy AI question box, Escape moves
|
|
6
|
+
focus out of it and keeps what you typed, so J, K and the other single keys work on the page again.
|
|
7
|
+
An open menu or dialog still takes Escape first. A second Escape leaves Prepare feedback or focus
|
|
8
|
+
mode, as before.
|
|
9
|
+
|
|
10
|
+
## 0.69.0
|
|
11
|
+
|
|
12
|
+
**Back to the review's overview from the keyboard.** ⌘K S R (Ctrl+K S R off a Mac) goes where the
|
|
13
|
+
Review item at the top of the sidebar goes: the review's Overview, or its progress while it is
|
|
14
|
+
still running. It is first under Sections in the palette. If a section is expanded, the Overview
|
|
15
|
+
opens expanded too, as the other sections do. It is listed in Keyboard shortcuts (⌘K ?).
|
|
16
|
+
|
|
17
|
+
## 0.68.0
|
|
18
|
+
|
|
19
|
+
**Prepare and copy feedback from the keyboard.** While you prepare feedback with at least one card
|
|
20
|
+
chosen, ⌘Enter (Ctrl+Enter off a Mac) opens the draft, as the Prepare feedback button does. Enter
|
|
21
|
+
still ticks the ringed card. In the draft, ⌘C copies the whole Markdown, as Copy Markdown does, and
|
|
22
|
+
Escape closes it. If you have selected some of the draft's text, ⌘C copies just that, as it always
|
|
23
|
+
has.
|
|
24
|
+
|
|
25
|
+
Both buttons now show their key: Prepare feedback ⌘Enter, Copy Markdown ⌘C. Both are listed in
|
|
26
|
+
Keyboard shortcuts (⌘K ?) under Issues and Questions.
|
|
27
|
+
|
|
28
|
+
## 0.67.0
|
|
29
|
+
|
|
30
|
+
**Prepare feedback from the keyboard.** ⌘K A P (Ctrl+K A P off a Mac) starts Prepare feedback on
|
|
31
|
+
Issues or Questions, and the same keys leave it from anywhere in the review. The palette names the
|
|
32
|
+
way it will go: Start Prepare feedback, or Exit Prepare feedback.
|
|
33
|
+
|
|
34
|
+
**Escape leaves Prepare feedback.** Escape now closes the innermost thing first. An open menu, popover
|
|
35
|
+
or dialog closes; with none open, Escape leaves Prepare feedback, just as Done does; and only then
|
|
36
|
+
does it leave an expanded section. It also works straight after ticking a box with the mouse.
|
|
37
|
+
|
|
38
|
+
**Escape from a card's Ask Buddy menu goes back to the card.** After Space opens the menu and Escape
|
|
39
|
+
closes it, the ring and focus are back on the card, so ⌘C, Space, Enter and J carry on from it
|
|
40
|
+
without moving away and back. A menu opened by clicking its button still returns to the button.
|
|
41
|
+
|
|
42
|
+
## 0.66.0
|
|
43
|
+
|
|
44
|
+
**Move through Issues and Questions from the keyboard.** On a review's Issues or Questions, J and K
|
|
45
|
+
move a ring from card to card, the same ring the Reviews list uses, and bring each card on screen.
|
|
46
|
+
Cards folded away under Resolved or Answered are passed over until you open them, and while Buddy
|
|
47
|
+
AI is expanded over the review the keys are left alone. Click a card,
|
|
48
|
+
anywhere on it, and J and K go on from that card.
|
|
49
|
+
|
|
50
|
+
On the ringed card, Space opens its Ask Buddy menu, ready for the arrow keys, Enter and Escape.
|
|
51
|
+
⌘C (Ctrl+C off a Mac) copies the card, exactly as its Copy button does. If you have selected some
|
|
52
|
+
text, or you are typing in a field, ⌘C copies that instead, as it always has. While you prepare
|
|
53
|
+
feedback, Enter ticks or unticks the ringed card, and J and K move on without changing what you
|
|
54
|
+
have chosen.
|
|
55
|
+
|
|
56
|
+
**Tick a whole card while preparing feedback.** A click anywhere on a card now ticks it, not only
|
|
57
|
+
on its box. Clicks on the card's own controls (Copy, Ask Buddy, Dismiss, a file location) still do
|
|
58
|
+
what they did, and selecting text on a card does not tick it.
|
|
59
|
+
|
|
60
|
+
**Menus near the bottom stay on screen.** An Ask Buddy menu opened low in the window now opens
|
|
61
|
+
upwards when it fits there and not below. When it fits neither way, for example with many saved
|
|
62
|
+
prompts in a short window, it opens on the side with more room and scrolls inside, and the arrow
|
|
63
|
+
keys keep the item you are on in view, so every choice stays within reach. The review page's other
|
|
64
|
+
menus, and Ask Buddy in the browser extension, follow the same rule.
|
|
65
|
+
|
|
66
|
+
All five keys are listed in Keyboard shortcuts (⌘K ?) under Issues and Questions.
|
|
67
|
+
|
|
68
|
+
## 0.65.0
|
|
69
|
+
|
|
70
|
+
**Start a review from the workspace with ⌘P.** You no longer need a terminal to start one. Press
|
|
71
|
+
⌘P (Ctrl+P off a Mac) anywhere in the workspace and choose what to review: P for pull requests, B
|
|
72
|
+
for a branch. ⌘P P and ⌘P B go straight there, and both are listed in Keyboard shortcuts and in the
|
|
73
|
+
⌘K palette under Add review.
|
|
74
|
+
|
|
75
|
+
Pull requests: paste one or more github.com links, in whatever text they came in, and press Enter.
|
|
76
|
+
Links to `/files` or a comment are read as the pull request they belong to, and the same pull
|
|
77
|
+
request pasted twice is reviewed once. Each link gets a row saying what will happen: `Ready`,
|
|
78
|
+
`Already reviewed`, `Local repository not found`, or `GitLab isn't supported yet`. One link that
|
|
79
|
+
cannot be reviewed does not stop the others. A review runs in a local clone of its repository,
|
|
80
|
+
found among the folders you have reviewed in before and their other worktrees, including ones an
|
|
81
|
+
agent made. When more than one folder holds the repository, the row shows which one it will use,
|
|
82
|
+
and you can pick another. The workspace runs two reviews at a time, across everything you start
|
|
83
|
+
from it, and the rest wait their turn. Up to 20 pull requests can go in one paste; past that the
|
|
84
|
+
panel says how many to remove rather than leaving some out. You can close the panel straight away:
|
|
85
|
+
the reviews carry on and appear in your list as they start.
|
|
86
|
+
|
|
87
|
+
Branch: choose a working folder, from Recent, by typing its path, or with Browse… on a Mac, and
|
|
88
|
+
press Enter. It reviews the branch checked out in that folder, exactly as running `prreviewbuddy`
|
|
89
|
+
there would, and the review is filed under that folder: a worktree stays that worktree, never its
|
|
90
|
+
main clone. The panel shows the repository, branch and base it found, says if that branch already
|
|
91
|
+
has a review, and explains a folder it cannot review, such as one on a detached HEAD.
|
|
92
|
+
|
|
93
|
+
Review options, folded away, let you change the agent and model for this review, and the base for a
|
|
94
|
+
branch. The agent is the one you configured, as on the command line. When several are installed
|
|
95
|
+
and none is chosen, the options open and ask you to pick one. A review that stopped before it
|
|
96
|
+
finished picks up where it left off with the agent and model it started with, as from the command
|
|
97
|
+
line, and its row says which.
|
|
98
|
+
|
|
99
|
+
## 0.64.2
|
|
100
|
+
|
|
101
|
+
**Review state says whether you have reviewed a change, in those words.** On the Reviews page the
|
|
102
|
+
filter reads `Review state: All / Queue / Not reviewed / Reviewed`, and a card you have opened but
|
|
103
|
+
not marked says `Not reviewed` where it said `In progress`. The menus and the bulk bar say
|
|
104
|
+
`Mark not reviewed` for the way back. This is a separate question from where a review sits in
|
|
105
|
+
Active, Waiting and Done, so `Not reviewed` and `Done` together is a card you have put away
|
|
106
|
+
without marking it reviewed, not a contradiction.
|
|
107
|
+
|
|
108
|
+
`New` still marks a review you have never opened. The `Not reviewed` filter includes those as well,
|
|
109
|
+
because a review nobody has opened has not been reviewed either. Mark not reviewed from a review's
|
|
110
|
+
own page now always lands on `Not reviewed`, never back on `New`, as it already did from the list.
|
|
111
|
+
Links to the old filter keep working.
|
|
112
|
+
|
|
113
|
+
## 0.64.1
|
|
114
|
+
|
|
115
|
+
**The author filter names people.** On the Reviews page it reads `Author: Everyone`, like Status
|
|
116
|
+
and PR beside it, and lists each person by their GitHub name with their login beside it:
|
|
117
|
+
`Amy Li · @amy`. Someone with no public name on GitHub is listed by login alone. The list is in
|
|
118
|
+
alphabetical order of what you read, and if someone changes their name on GitHub the filter shows
|
|
119
|
+
the name from their newest review. Author and PR both carry the GitHub mark, because both are
|
|
120
|
+
answered from GitHub. Status is yours, so it has none.
|
|
121
|
+
|
|
122
|
+
## 0.64.0
|
|
123
|
+
|
|
124
|
+
**Choose the findings you want to raise, and copy them as one message.** Issues and Questions each
|
|
125
|
+
have a Prepare feedback button now. Press it and every card gets a checkbox; tick the ones you want
|
|
126
|
+
to take to the author. Your choices stay as you move between Issues and Questions, and a bar at the
|
|
127
|
+
foot of the review keeps count: `5 chosen · 2 issues · 3 questions`. Each count takes you back to
|
|
128
|
+
its list. The rail shows `2 chosen` under each. Clear empties your choice, and Done leaves it
|
|
129
|
+
altogether.
|
|
130
|
+
|
|
131
|
+
Prepare feedback in that bar opens your choices, large enough to read, issues first, then
|
|
132
|
+
questions, each in the order the review lists them. Preview shows the message as the author will
|
|
133
|
+
read it; Markdown shows the text behind it, to edit. They are one draft: an edit is in the preview
|
|
134
|
+
as soon as you switch back, and Copy Markdown copies what you edited. Each item starts as exactly
|
|
135
|
+
what that card's own Copy gives you: the finding, why it matters, and where it points. Severity and
|
|
136
|
+
status are left out, because they are how PR Review Buddy sorts findings for you, not part of what
|
|
137
|
+
you tell the author. Dismissing or answering a finding you chose leaves your draft exactly as you
|
|
138
|
+
left it. Change what you chose, even to take a tick back, and the draft is made again from the new
|
|
139
|
+
choice. Nothing is rewritten by AI.
|
|
140
|
+
|
|
141
|
+
A choice belongs to the review you made it on. Another review starts with none, and reloading the
|
|
142
|
+
page starts over. Dismiss and Mark answered work as before, while choosing or not.
|
|
143
|
+
|
|
144
|
+
Lists are drawn as GitHub draws them, in the feedback preview and in Buddy AI's answers. A list
|
|
145
|
+
with blank lines between its items is one list, numbered on from its first number. A paragraph
|
|
146
|
+
indented under an item stays in that item, and a list indented under an item is drawn inside it,
|
|
147
|
+
one level deep, with its own paragraphs. What counts is how far a line is indented under its item,
|
|
148
|
+
so a list indented the same throughout is still one list. Before, each item after a blank line was
|
|
149
|
+
numbered 1, and a nested list was drawn as more items of the outer one, so a finding with numbered
|
|
150
|
+
steps of its own previewed them as further findings.
|
|
151
|
+
|
|
152
|
+
KISS's Copy draft comment and Copy recommendations now say Copied in their own words after a
|
|
153
|
+
click, and then go back to their names. Before, the first click left them as a bare icon.
|
|
154
|
+
|
|
3
155
|
## 0.63.0
|
|
4
156
|
|
|
5
157
|
**Telemetry now records first use.** With telemetry on, PR Review Buddy sends one more event,
|