prreviewbuddy 0.64.2 → 0.70.2
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 +128 -0
- package/dist/{delete_review-l4p_p6oh.js → delete_review-CRPRIRKg.js} +7013 -6596
- package/dist/main.js +2 -328
- package/dist/server.js +697 -7
- package/package.json +1 -1
- package/static/chunk-BsU84lX4.js +1 -0
- package/static/chunk-C8kkSv38.js +1 -0
- package/static/chunk-DqEA-C0S.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 +84 -0
- package/static/sidebar.css +2 -0
- package/static/workspace.js +63 -63
- package/static/chunk-BadSI8AL.js +0 -1
- package/static/chunk-CXf6hwXL.js +0 -1
- package/static/chunk-CndkgJPh.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,133 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.70.2
|
|
4
|
+
|
|
5
|
+
**Buddy AI's answers on cards of their own.** In the Buddy AI panel, your questions stay purple and
|
|
6
|
+
Buddy's answers now sit on a light card with a thin border, so a conversation reads as turns
|
|
7
|
+
between you and Buddy. In the dark theme the card is outlined. The copy button stays where it was,
|
|
8
|
+
at the foot of each answer.
|
|
9
|
+
|
|
10
|
+
## 0.70.1
|
|
11
|
+
|
|
12
|
+
**Selecting a review's ID by hand, with the keyboard.** When Copy review ID can't reach the
|
|
13
|
+
clipboard, the menu shows the ID in a box for you to select and copy yourself. In a review's `…`
|
|
14
|
+
menu, Home, End and the arrow keys in that box jumped to a menu item instead; they now move within
|
|
15
|
+
the box, with Shift selecting as usual. The same holds in the menus on the Reviews list. Escape
|
|
16
|
+
still closes the menu.
|
|
17
|
+
|
|
18
|
+
## 0.70.0
|
|
19
|
+
|
|
20
|
+
**A review's menu from the keyboard.** On the Reviews list, Space opens the menu of the review J
|
|
21
|
+
and K are on, with its first item ready. Move through it with J and K or the arrow keys, press
|
|
22
|
+
Enter to choose, or Escape to close it and carry on down the list from the same review. Space
|
|
23
|
+
still ticks a focused checkbox, presses a focused button and types in the search box. Space is
|
|
24
|
+
listed with the page's keys in the palette (⌘K, or Ctrl+K off a Mac) and in Keyboard shortcuts
|
|
25
|
+
(⌘K ?).
|
|
26
|
+
|
|
27
|
+
**J and K in every menu.** In any open menu (a review's on the list, the one in a review's header,
|
|
28
|
+
Ask Buddy on an issue or question) J and K move down and up as the arrow keys do.
|
|
29
|
+
|
|
30
|
+
**The Reviews list's menus behave like a review's.** They open above their button when there is
|
|
31
|
+
no room below it. Escape closes one and puts you back on its button, or on the review if Space
|
|
32
|
+
opened it. Choosing Delete from the keyboard puts you on Cancel, and Cancel puts you back on
|
|
33
|
+
Delete.
|
|
34
|
+
|
|
35
|
+
## 0.69.1
|
|
36
|
+
|
|
37
|
+
**Escape leaves the Buddy AI field.** With your cursor in the Buddy AI question box, Escape moves
|
|
38
|
+
focus out of it and keeps what you typed, so J, K and the other single keys work on the page again.
|
|
39
|
+
An open menu or dialog still takes Escape first. A second Escape leaves Prepare feedback or focus
|
|
40
|
+
mode, as before.
|
|
41
|
+
|
|
42
|
+
## 0.69.0
|
|
43
|
+
|
|
44
|
+
**Back to the review's overview from the keyboard.** ⌘K S R (Ctrl+K S R off a Mac) goes where the
|
|
45
|
+
Review item at the top of the sidebar goes: the review's Overview, or its progress while it is
|
|
46
|
+
still running. It is first under Sections in the palette. If a section is expanded, the Overview
|
|
47
|
+
opens expanded too, as the other sections do. It is listed in Keyboard shortcuts (⌘K ?).
|
|
48
|
+
|
|
49
|
+
## 0.68.0
|
|
50
|
+
|
|
51
|
+
**Prepare and copy feedback from the keyboard.** While you prepare feedback with at least one card
|
|
52
|
+
chosen, ⌘Enter (Ctrl+Enter off a Mac) opens the draft, as the Prepare feedback button does. Enter
|
|
53
|
+
still ticks the ringed card. In the draft, ⌘C copies the whole Markdown, as Copy Markdown does, and
|
|
54
|
+
Escape closes it. If you have selected some of the draft's text, ⌘C copies just that, as it always
|
|
55
|
+
has.
|
|
56
|
+
|
|
57
|
+
Both buttons now show their key: Prepare feedback ⌘Enter, Copy Markdown ⌘C. Both are listed in
|
|
58
|
+
Keyboard shortcuts (⌘K ?) under Issues and Questions.
|
|
59
|
+
|
|
60
|
+
## 0.67.0
|
|
61
|
+
|
|
62
|
+
**Prepare feedback from the keyboard.** ⌘K A P (Ctrl+K A P off a Mac) starts Prepare feedback on
|
|
63
|
+
Issues or Questions, and the same keys leave it from anywhere in the review. The palette names the
|
|
64
|
+
way it will go: Start Prepare feedback, or Exit Prepare feedback.
|
|
65
|
+
|
|
66
|
+
**Escape leaves Prepare feedback.** Escape now closes the innermost thing first. An open menu, popover
|
|
67
|
+
or dialog closes; with none open, Escape leaves Prepare feedback, just as Done does; and only then
|
|
68
|
+
does it leave an expanded section. It also works straight after ticking a box with the mouse.
|
|
69
|
+
|
|
70
|
+
**Escape from a card's Ask Buddy menu goes back to the card.** After Space opens the menu and Escape
|
|
71
|
+
closes it, the ring and focus are back on the card, so ⌘C, Space, Enter and J carry on from it
|
|
72
|
+
without moving away and back. A menu opened by clicking its button still returns to the button.
|
|
73
|
+
|
|
74
|
+
## 0.66.0
|
|
75
|
+
|
|
76
|
+
**Move through Issues and Questions from the keyboard.** On a review's Issues or Questions, J and K
|
|
77
|
+
move a ring from card to card, the same ring the Reviews list uses, and bring each card on screen.
|
|
78
|
+
Cards folded away under Resolved or Answered are passed over until you open them, and while Buddy
|
|
79
|
+
AI is expanded over the review the keys are left alone. Click a card,
|
|
80
|
+
anywhere on it, and J and K go on from that card.
|
|
81
|
+
|
|
82
|
+
On the ringed card, Space opens its Ask Buddy menu, ready for the arrow keys, Enter and Escape.
|
|
83
|
+
⌘C (Ctrl+C off a Mac) copies the card, exactly as its Copy button does. If you have selected some
|
|
84
|
+
text, or you are typing in a field, ⌘C copies that instead, as it always has. While you prepare
|
|
85
|
+
feedback, Enter ticks or unticks the ringed card, and J and K move on without changing what you
|
|
86
|
+
have chosen.
|
|
87
|
+
|
|
88
|
+
**Tick a whole card while preparing feedback.** A click anywhere on a card now ticks it, not only
|
|
89
|
+
on its box. Clicks on the card's own controls (Copy, Ask Buddy, Dismiss, a file location) still do
|
|
90
|
+
what they did, and selecting text on a card does not tick it.
|
|
91
|
+
|
|
92
|
+
**Menus near the bottom stay on screen.** An Ask Buddy menu opened low in the window now opens
|
|
93
|
+
upwards when it fits there and not below. When it fits neither way, for example with many saved
|
|
94
|
+
prompts in a short window, it opens on the side with more room and scrolls inside, and the arrow
|
|
95
|
+
keys keep the item you are on in view, so every choice stays within reach. The review page's other
|
|
96
|
+
menus, and Ask Buddy in the browser extension, follow the same rule.
|
|
97
|
+
|
|
98
|
+
All five keys are listed in Keyboard shortcuts (⌘K ?) under Issues and Questions.
|
|
99
|
+
|
|
100
|
+
## 0.65.0
|
|
101
|
+
|
|
102
|
+
**Start a review from the workspace with ⌘P.** You no longer need a terminal to start one. Press
|
|
103
|
+
⌘P (Ctrl+P off a Mac) anywhere in the workspace and choose what to review: P for pull requests, B
|
|
104
|
+
for a branch. ⌘P P and ⌘P B go straight there, and both are listed in Keyboard shortcuts and in the
|
|
105
|
+
⌘K palette under Add review.
|
|
106
|
+
|
|
107
|
+
Pull requests: paste one or more github.com links, in whatever text they came in, and press Enter.
|
|
108
|
+
Links to `/files` or a comment are read as the pull request they belong to, and the same pull
|
|
109
|
+
request pasted twice is reviewed once. Each link gets a row saying what will happen: `Ready`,
|
|
110
|
+
`Already reviewed`, `Local repository not found`, or `GitLab isn't supported yet`. One link that
|
|
111
|
+
cannot be reviewed does not stop the others. A review runs in a local clone of its repository,
|
|
112
|
+
found among the folders you have reviewed in before and their other worktrees, including ones an
|
|
113
|
+
agent made. When more than one folder holds the repository, the row shows which one it will use,
|
|
114
|
+
and you can pick another. The workspace runs two reviews at a time, across everything you start
|
|
115
|
+
from it, and the rest wait their turn. Up to 20 pull requests can go in one paste; past that the
|
|
116
|
+
panel says how many to remove rather than leaving some out. You can close the panel straight away:
|
|
117
|
+
the reviews carry on and appear in your list as they start.
|
|
118
|
+
|
|
119
|
+
Branch: choose a working folder, from Recent, by typing its path, or with Browse… on a Mac, and
|
|
120
|
+
press Enter. It reviews the branch checked out in that folder, exactly as running `prreviewbuddy`
|
|
121
|
+
there would, and the review is filed under that folder: a worktree stays that worktree, never its
|
|
122
|
+
main clone. The panel shows the repository, branch and base it found, says if that branch already
|
|
123
|
+
has a review, and explains a folder it cannot review, such as one on a detached HEAD.
|
|
124
|
+
|
|
125
|
+
Review options, folded away, let you change the agent and model for this review, and the base for a
|
|
126
|
+
branch. The agent is the one you configured, as on the command line. When several are installed
|
|
127
|
+
and none is chosen, the options open and ask you to pick one. A review that stopped before it
|
|
128
|
+
finished picks up where it left off with the agent and model it started with, as from the command
|
|
129
|
+
line, and its row says which.
|
|
130
|
+
|
|
3
131
|
## 0.64.2
|
|
4
132
|
|
|
5
133
|
**Review state says whether you have reviewed a change, in those words.** On the Reviews page the
|