Repository navigation
Releases
Releases · Intersec/qreview
qreview v0.20.0
Added
- Bundled color themes — qreview carries 19 themes to pick in the
preferences: colorblind and high contrast themes in light and dark,
Solarized, GitHub, gruvbox, Catppuccin, One Light, Nord, Dracula, Tokyo
Night, night, paper and gerrit-dark. A file of yours in
~/.config/qreview/themes/replaces the bundled theme of the same name. - Color themes — drop a CSS file of colors in
~/.config/qreview/themes/
and pick it in the preferences, beside light and dark. A theme starts from
the light or the dark palette and replaces the colors it names. An edited
theme shows when you reload the page. A file that qreview cannot read is
left out, and the terminal says which line is wrong. - An agent in a devcontainer — the server also listens on a socket in
.git/qreview/, with a copy of its address, so an agent in a container
that shares the project reaches the server on your machine with nothing
to configure. The directory is private to you and goes away when the
server stops. qreview stage <id>andqreview comment --gerrit— the agent
words a remark for Gerrit and stages it. Only you send it, from the page.- Apply a comment of a reviewer — a thread of Gerrit that waits now has
an Apply button. The agent fixes what the thread asks for, wherever the
same problem shows in the commit, and stages a reply that resolves the
thread and names the other sites it fixed. gerrit.auth.command— a command of yours gives the authorization of
the REST API of Gerrit: a token of OIDC, or an HTTP password. It runs at
the first call to Gerrit, in the terminal ofqreview, where it may ask
you to log in.examples/gerrit-auth-basic.shasks the HTTP password.- Remarks for a colleague go to Gerrit without a request — on the
change of a colleague, when the agent answers your remark with a remark
for the author, it stages that remark for Gerrit. Its own review of
such a change is staged too. You still read each remark and click Send. - The change of a colleague — a change whose author email is not your
user.emailhas no Fix this change, and Fix the series skips it. The
export asks the agent for help with the review instead of a fix. - What became of a draft — a remark sent to Gerrit shows as the
thread of Gerrit once you publish it there, and says deleted on
Gerrit when you delete it there, so you can stage it again. Its tag
links to the change. Send says to push first when Gerrit does not hold
the newest version of the change. - A draft of the agent names the agent — the agent gives its name
withqreview wait --agent <name>. When you send a remark or a reply
that it wrote, its draft on Gerrit starts withFrom <name>:, so the
author of the change knows who wrote it. - Review a change from its address —
qreview https://review.example.com/c/myproject/+/12321
fetches the change from Gerrit and reviews it with no checkout, on the
server of the worktree. Add a patch set number to the address to pick
one. - Reply to a thread of Gerrit — a reply stays in qreview, or goes out
in the thread with For Gerrit, and can resolve it. The Done box of a
thread of Gerrit stages a replyDonethat resolves it. The agent
answers withqreview reply gerrit:<id>and
qreview stage gerrit:<id> --resolve. - Send to Gerrit — send the remarks staged for Gerrit as drafts, from a
dialog that lists each one. Only you see a draft until you publish it in
Gerrit. Needsgerrit.auth.command. - Remarks for Gerrit — check For Gerrit on a remark, on a version that
Gerrit holds, to stage it for the author of the change. If the thread has
replies, its newest reply goes out, so the agent can word the remark. A
staged remark is not work for the agent: the export and the counts leave
it out. - Threads of Gerrit — with the REST API, a remark of Gerrit shows its
replies under it, says whether it is resolved, and folds when it is. A
remark on the left side stands under the line it speaks of. - To handle — the list of comments is now the list of what is left to
handle. It opens with the threads of reviewers on Gerrit that wait for an
answer, and a click opens each one on its patch set. The open remarks
follow. The done, sent and previous remarks wait behind one click. Each
row of the series counts the threads of Gerrit apart, as· 2 Gerrit. - A thread of Gerrit that waits for you is work — an unresolved thread
whose newest comment is of somebody else counts on the series, on the
files and in Fix, the export holds it with the name of each reviewer,
and Ask agent works on it. Your own unresolved question waits for the
author, and counts nowhere. - A configuration of the site —
QREVIEW_SITE_CONFIGnames a file
that a team shares, read before your own configuration. It can name the
gerrit.auth.commandof the whole team. - What the server waits on — while a slow call runs, such as a query of
Gerrit, a quiet chip in the top bar names it and how long it has waited.
Click it, or the version, to open the Trace window: the lines of
qreview --trace, live, without a restart.
Changed
- Delete and Clean keep the comments on disk — a deleted comment moves
todeletedin the file of its change, with when and how it went, for a
restore by hand or a study of the reviews. The format of the file is now
6: an older qreview refuses it.
Fixed
- A preference that the configuration file would refuse is no longer saved.
The save fails with the reason, and the file stays as it was, so the next
start of qreview is not blocked. - The bar over a merge follows the theme chosen in Preferences. It used to
follow only the theme of the system, so it stayed dark on a light page. - A save from Preferences no longer copies the settings of a repository into
your own file. The panel now saves only what you changed, so a context or a
view that one.qreview.jsonsets no longer reaches every other repository. qreview wait --timeout 1returns after a second, as it says. The server
held each wait for half a minute, so the check that an agent runs to find
a server took 30 seconds.
qreview v0.19.0
Added
- Rendered AsciiDoc — an AsciiDoc file opens rendered beside its diff too,
with the same marks in the margin, colored source blocks, and the images of
the tree. Raw HTML in the file is cleaned on the server: nothing in it runs. - Rendered Markdown — a Show rendered button on a Markdown file opens the
rendered page in a pane beside the diff. The pane and the diff follow each
other as either one scrolls. The pane marks in its margin the blocks that
the change touches, and shows the images of the tree. Beside the pane, the
diff wraps its long lines. The file renders only when you ask for it. - Mermaid diagrams — a Mermaid block of a rendered Markdown or AsciiDoc
file shows as its diagram. Each diagram is drawn in a sandboxed frame that
can reach nothing. A diagram that Mermaid cannot read leaves its code, with
the error under it.
Fixed
- The Delete and Cancel buttons of the Clean dialog no longer run into each
other and into the line of keys. - The list of comments follows the series pane: the newest change at the top.
A click on a remark of another change no longer moves that change to the
top, under the pointer. The list scrolls to the open change instead.
qreview v0.18.0
Added
- Rebase marks — between two patch sets on two bases, the lines that came
with the rebase are painted apart, in the colours of Gerrit: lavender for an
added line, pale yellow for a removed one.
Changed
- Between two patch sets on two bases, the file list leaves out a file whose
differences all came with the rebase, and the line counts leave out what the
rebase brought. Gerrit does the same. qreview waithas no time limit by default, so an agent that waits for you
spends no tokens to wake up every 10 minutes.--timeoutstill sets one.
Fixed
- A thread asked with Save and ask, or from another page, no longer offers
Ask agent while the agent answers it. - A reload, Back or Forward on a file that only an older patch set has comes
back to that file. It used to open the commit message, or to say that the
file is not in the change. - A click on a remark in the pane puts the cursor on the line where the diff
shows the remark. A remark of the patch set read against used to land on the
line with the same number in the right column. - A click on a remark in the pane opens the patch set that the remark was
written on, when the version on the screen does not show it. A remark on a
file that a later patch set dropped used to say that the file is not in the
change.
qreview v0.17.0
Added
- Blame —
b, or the Blame button, shows who wrote each line of the left
side of the diff, the way Gerrit does. A tooltip shows the commit. A click
on a line that a change of the series wrote opens that change at that line.
A click on a line of a commit that Gerrit holds opens its change on Gerrit.
These lines are links, so they open in a new tab too. A line that opens
nothing is grey. - More of the Gerrit keys —
Xopens every folded line of the file, or
folds them back.NandPgo to the next or the previous thread of the
file, and open its lines if they are folded.eunfolds every done thread
of the file, andEfolds them all.mswitches between the unified and
the side by side views.rmarks the change read, or unread..puts the
cursor on the code on the screen, after a scroll with the mouse.
Fixed
- The top bar no longer misses an agent that connects or leaves while the
page loads or reads comments. It kept the old state for up to 30 seconds. - The cursor now shows on a line that you open above the bar of common lines,
and the page scrolls to it. Before, a click in the comment list on a thread
there did nothing. - A click in the comment list on a thread outside every hunk now opens the
folded lines and goes to the thread. Before, it did nothing. - A request that fails because the server stopped no longer shows a bare
Failed to fetchbeside the banner that says the server stopped.
qreview v0.16.0
Added
- Fix the series — a second Fix button, and the
Akey, ask the agent
to deal with the open threads of every change of the series at once.
Fixed
- Remarks written in the Reply box of a Gerrit 3 change now show at the top
of the commit message. They were not shown at all. - The top bar stays on one line in a narrow window. The chip that says
what the agent does is cut short, and no button breaks its label in two.
qreview v0.15.1
Changed
- A remark or a reply that the agent answered has no Edit button any more,
and such a reply has no Delete button. Write a reply to say more. Delete on
the remark still deletes the whole thread.
Fixed
- A Gerrit remark on a line of the commit message now shows on that line,
not at the top of the message.
qreview v0.15.0
Added
- Author and line counts of a change — the series pane and the change
bar show the author of each change and the lines that it adds and removes. - IOP grammar —
.iopfiles get their colors from an IOP grammar, not
from the D grammar. If.qreview.jsonor~/.config/qreview/config.json
mapsioptod, the file keeps D: remove that entry.
qreview v0.14.0
Added
- Agent status — the top bar of the page and the terminal of the server
say when the agent is connected. When it disconnects, the terminal says
so, and the browser sends a notification. - Agent gone in the page — when the agent stops listening, the page says
so, and asks you to have it runqreview waitagain. - What the agent does — the top bar names the change that the agent
fixes, or the remark that it answers. A click opens it. - The page in the terminal — the server says when the review page opens
and when it closes, with the URL to open it again. - Stopped server in the page — when the server stops, the page closes its
tab, or says that the server stopped where the browser does not let a page
close its tab. - State on the tab — a dot on the icon of the tab says whether the agent
listens, works, or left, and whether the server stopped. The title of a
tab whose server stopped starts with ⏹. - Status line — on a terminal, the server keeps one line under its
messages that says whether the page is open, and whether the agent is
connected, works on a change, or left.
Changed
qreview waitwaits for a server to start, and attaches again when the
server restarts, where it used to fail at once.
Fixed
- The page and the terminal say that the agent disconnected 5 seconds after
itsqreview waitstops, where they used to wait two minutes. - Two worktrees of one clone can each run
qreviewat the same time. The
second one used to find the server of the first one and stop. The
worktrees still share their remarks.
qreview v0.13.0
Added
- Conversation with an agent — an agent that works on the series in a
terminal writes into the review:qreview comment,qreview replyand
qreview wait. A remark opens a thread, with replies and a Done box as in
Gerrit. A done thread is grey and folded. The agent answers a thread when
you ask it: Ask agent, or Save and ask (Ctrl+Shift+Enter). A
question of the agent marks its thread, its change and the tab title. - Fix, migrate and Clean — after an amend,
qreview migrate --from <old sha>declares the new version, with no need for aChange-Id, and
moves every thread to its new line. The old version still shows each
thread where it stood, with a link to where it went. Fix (ora) asks
the agent to deal with the open threads of a change, behind a dialog.
Clean deletes the done threads, with an Undo. - A fix shows once — while the agent works on a fix, the page says
Agent working… and shows the whole fix when the agent is done, rather
than reloading at every step. A remark, a reply or an edit you are typing
is kept, and follows its line to the new version. When a fix ends, or
the agent answers, while you look elsewhere, the browser notifies you.
The tab title shows ⏳ while the agent works, then a turning ◑ until you
come back, or until you answer the questions the agent left. qreview skill— prints the procedure that an agent follows, from the
binary itself. The skill inskills/qreviewonly runs it, so the skill and
the binary are always the same release.
qreview v0.12.5
Fixed
- A changed
/**lost its/*in Firefox when the code font had
ligatures, such as JetBrains Mono. The diff now draws the code without
ligatures.