Repository navigation
Releases
Releases · cosmicbuffalo/prs
v0.1.6
Added
- Multiple GitHub accounts:
prsnow picks which logged-inghaccount to
use per repo instead of always usinggh's active account. Without config it
uses an account that can read the repo, preferring the one whose login is the
repo owner, then the one remembered from last time, then (when several can
read it) one with commits in the repo, thengh's active account. Pin an account per
owner or repo with the newaccountsconfig section, or per run with
--account <login>. The token is passed toghper command, sogh's global
active account is never changed.--as_usernow defaults to the account in
use.
Changed
- The repo is now detected from the git remotes (respecting
gh repo set-default) rather thangh repo view, so detection no longer
fails when the activeghaccount can't see the repo.
v0.1.5
Added
- Self-update: a
prs updatesubcommand that downloads the latest release
for your platform, verifies its checksum, and atomically swaps the binary in
place (following the installed symlink to its target). Supports
prs update --check(report only),--force(reinstall/repair), an explicit
prs update <version>(pin or downgrade), and$PRS_VERSION— mirroring the
installer's knobs. - A cached (once-a-day), non-blocking startup check that shows a subtle
⬆ vX.Y.Z available · prs updatenote in the footer when a newer release is
out. On by default; disable it withupdates.check: falseinconfig.json.
v0.1.4
Added
- Live refresh: the list now auto re-fetches every 5 minutes in the
background, on by default. Toggle it withR(capital). A manualrrefresh
(or an automatic one) resets the countdown, so the next automatic refresh is
always a full interval after the most recent one. - A footer status slot on the left: it shows a spinner and
Refreshing…while a
fetch is in flight, otherwiseAs of X ago(time since the last successful
fetch, ticking up live). A(LIVE ON/OFF)indicator is always appended —
green when live refresh is on, red when off. - Configurable review styling via an optional
config.json
($PRS_CONFIG_DIR, else$XDG_CONFIG_HOME/prs, else~/.config/prs). The
colors and glyphs for trusted/regular/changes-requested reviews can each be
overridden; see the README's Configuration section.
Changed
- Review marks are clearer: a trusted (codeowner) approval now shows an amber
star (⭑) with the reviewer's name in italics; a regular (valid but
non-codeowner) approval shows a green check (✓). The star makes trusted
approvals stand out at a glance. Change requests stay red (✗).
v0.1.3
Changed
- Acting on a PR with
Enter/inow auto-advances the cursor to the next PR,
so repeated taps walk down the list. When you act on the last PR, the cursor
holds and falls back to the previous PR once the move commits. - Telegraphed moves can now stack: tapping
i i istages three moves that each
commit after their own delay, instead of a new move force-committing the
previous one. Cancel/redirect act on the PR under the cursor, so to undo or
change a staged move, navigate back to that PR first.
Fixed
- OSC52 URL copy (
o) now works inside tmux whenallow-passthroughis off
(the default since tmux 3.3). Previously the passthrough-wrapped sequence was
silently swallowed while the status line still reported success. The emission
mode is now chosen from tmux's actualset-clipboard/allow-passthrough
options. - The list cursor no longer silently lands on a different PR when a telegraphed
toggle commits. The cursor is now locked to its PR across reclassification and
background refreshes, falling back to clamping the old index only when the PR
it was on has left the tab.
v0.1.2
Added
--version(also-version) flag: prints the installed prs version and
exits. The version is stamped into the binary at build time from the
VERSIONfile.- Scroll hints in the detail pane: when its contents overflow the panel, a
centered↑ (more)/↓ (more)appears at the top/bottom of the scroll
region to signal hidden content in that direction, each disappearing once
you scroll to that end (mirroring the PR list's scroll indicators).
Changed
- In the horizontal layout, only the PR link, title, and baseline line stay
pinned at the top of the detail pane; the PR Details and Review Status
sections now scroll along with the comment/commit thread. Previously they
were pinned too, which could make the detail pane impossible to scroll on a
short window when a PR had a long participant or review list.
v0.1.1
Fixed
- The detail pane no longer pushes the top of the TUI off-screen on taller
windows. An un-truncated Comments/Commits section header could be
wider than a narrow detail column and get soft-wrapped by the enclosing box,
making the body one row taller than its height budget so the whole frame
scrolled up by a line (the bug only surfaced on taller windows, where there
was enough room to render down to the offending line instead of truncating
it away). Section-header notes are now truncated to the column width, every
detail-box line is hard-capped to the interior width, and the rendered frame
is clamped to the terminal height as a final backstop.
v0.1.0
Added
- Initial release.
- Four tabs — Outstanding, New, Done, Ignored — surfacing open,
non-draft PRs that need attention: PRs you've reviewed that got new commits,
your own PRs that got new comments/reviews, and PRs you haven't seen yet.
Each bucket has its own accent color (Outstanding orange, New white, Done
green, Ignored red) used for the cursor bar and the selected tab. Enterto mark a PR done (auto-reopens on new activity) andito ignore a
PR (a permanent mute). A PR lives in exactly one bucket, and both states are
persisted per user to~/.local/state/prs/state.json. Toggling either is
telegraphed with a brief animation you can cancel (press the same key again)
or redirect (press the other key) before it commits.- Detail panel with PR metadata, a participant list, an always-shown review
status, and the recent comment/commit thread. In comments,codespans
render orange, links and URLs blue, and file paths yellow. New-tab PRs load
their full comment/review/commit data lazily the first time you select them. - Horizontal (list · detail side by side) and vertical (list over detail)
layouts, toggled withv. - A floating
?help overlay with the full keymap; the footer keeps just the
essentials. - Keyboard (arrows or
hjkl) and mouse navigation,oto copy a PR's URL via
OSC52, andrto refresh. curl | shinstaller that downloads a prebuilt binary, falling back to a
source build.