Skip to content

rgitui v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 05:58
· 2 commits to main since this release

An interface release. Every panel was reviewed: dialogs, hover, selection and
focus now behave one way throughout, text fields are rebuilt on a real editing
model, and short, consistent transitions replace instant pops (with a setting
to turn them off). The diff pane can show a whole file, render Markdown and
SVG, and display images. Pull works with uncommitted changes, with an
optional autostash. Rendered pull request and issue text is readable on dark
themes again, and Ctrl+Z in a text field no longer opens Create Stash.

Linux users: saved tokens (GitHub, AI providers) move from the kernel
session keyring to the Secret Service (GNOME Keyring, KWallet and others),
so they now survive a logout or reboot. Tokens saved by an earlier version
are not carried over: enter them once more after updating. A Secret Service
provider has to be running. Windows and macOS keep their saved tokens.

Added

  • Pull with AutoStash. Git: Pull with AutoStash in the command palette
    runs the pull with --autostash: git stashes your uncommitted changes,
    integrates the remote branch by merge or rebase as the repository is
    configured, and puts the changes back. If the pull stops on a conflict, the
    changes are restored when you continue or abort; if putting them back
    conflicts, they are kept in the stash list as autostash and the banner says
    so. When a pull is refused because of uncommitted changes, the failure banner
    offers Pull with AutoStash next to Retry. (#100)
  • A setting for what Pull does with uncommitted changes. Settings →
    General → Pull with Uncommitted Changes
    chooses between Let Git decide
    (the default), AutoStash, which makes every pull an autostash pull, and
    Require a clean tree, which is how Pull behaved before. (#100)
  • Quit with Cmd+Q or Ctrl+Q. File: Quit rgitui is in the command palette
    and bound to Cmd+Q on macOS and Ctrl+Q on Windows and Linux, in the main
    window and the Settings window; it can be rebound in keymap.json. On macOS
    it is also the Quit item of a new application menu. (#105, closes #104)
  • The whole file, with its changes marked. File beside Unified and
    Split in the diff header shows the entire file at that revision, with
    added and changed lines marked in the gutter. A global search result opens
    at its line in the whole file. Files over the size limit, binary files and
    submodules say why they cannot be shown. (#109)
  • Images in the diff pane. A changed image shows before and after side by
    side, an added or deleted one on its own, with its size, format and zoom
    below. Fit scales it to the pane and 100% shows it at actual size; the
    two panes scroll together. (#109)
  • Preview for Markdown and SVG files. Preview renders a Markdown file as
    a document and an SVG as a picture. A changed Markdown file is shown as
    prose, with changed blocks tinted, or the old version beside the new one.
    Images the document links to from the repository are shown inline. (#109)
  • Rendered Markdown can be selected and copied, in previews, commit
    messages and pull request and issue bodies. Rendering is rebuilt on a full
    Markdown parser, with a type scale, tables, task lists, links and
    highlighted code blocks. (#109)
  • A choice of graph nodes. Settings → General → Commit Nodes, also in
    the graph's Display Settings, chooses between author avatars on the nodes
    (the default, as before) and plain dots on the lanes with a small avatar
    before the author's name. (#109)
  • Reduce Motion. Dialogs, menus, popovers, toasts and tooltips now ease in
    over 100–200ms, loading spinners appear only after 300ms, and line counts
    count up or down to new values. Settings → General → Reduce Motion turns
    all of it off. (#109)
  • Sidebar row actions. A row's actions appear as buttons while the
    pointer is over it, and right-clicking a branch or a stash opens all of its
    actions in a menu. (#109)
  • The reflog can check out and reset to an entry. (#109)
  • A keyboard shortcuts sheet with a filter. It is built from the keymap
    in force, so it shows your own bindings and warns about any that collided.
    (#109)
  • Commit message help. Enter in the summary moves to the description, the
    summary's length is counted against 50 characters and then 72, description
    lines over 72 characters are counted, and a pasted multi-line message is
    split between the summary and the description. (#109)
  • Intel macOS release build. Releases ship an x86_64 .dmg again,
    built on macos-15-intel beside the Apple Silicon one. Each architecture
    is built natively on its own runner. (#107)

Changed

  • Pull no longer refuses every working tree with uncommitted changes. It
    checked for changes to tracked files before running git and refused if there
    were any, even when the incoming commits touched other files. Git now makes
    that call: it pulls past changes the incoming commits do not touch, and
    refuses, changing nothing, when one would be overwritten. The failure names
    the files in the way. Git's own merge.autoStash and rebase.autoStash
    settings now take effect, since the pull reaches git. (#100)
  • Text fields are rebuilt. Every field now uses the system's text input,
    so IME composition and dead keys work. The caret and clicks move by whole
    characters (emoji and accented letters included), double-click selects a
    word and triple-click a line, undo and redo work per field, long single-line
    text scrolls, multi-line fields grow as you type, text pasted into a
    single-line field is joined onto one line, and the caret stops blinking
    when idle. (#109)
  • On Windows, the title row is the window's caption, in the main window
    and the Settings window, instead of a second system bar stacked above it.
    Snap layouts, double-click to maximise and the system menu still work.
    (#109)
  • One dialog shape. Every dialog shares one frame and can be worked
    entirely from the keyboard. (#109)
  • Progress and notifications no longer move the layout. A running
    operation shows as a spinner in the status bar, and toasts appear at the
    bottom centre of the window. (#109)
  • The command palette ranks by word and highlights what matched. Commands
    that cannot run right now stay listed below the others with the reason
    (for example Stage some changes first). (#109)
  • A diff refresh keeps your place. The cursor, scroll position and rows
    stay where they were when the working tree changes, so hunks can be staged
    one after another from the keyboard. Keys with nothing to act on say why.
    (#109)
  • Search results are grouped by file. (#109)
  • The diff layout follows Default Diff View Mode and is kept as you move
    between files. (#109)
  • Every built-in theme meets a contrast floor, checked by a test. Five
    themes had placeholder, disabled or file-state colours below it and were
    adjusted. (#109)
  • Ref chips follow one rule in the graph and the detail panel, with +N
    for refs that do not fit, and the commit's avatar sits beside its author.
    (#109)
  • The branch and tag dialogs catch more invalid names before git does: a
    leading /, a part starting with . and a part ending in .lock. (#109)

Fixed

  • Ctrl+Z in a text field opened Create Stash, and Ctrl+Shift+Z popped a
    stash. Key bindings ran before the field's own keys; a focused field now
    keeps its editing keys. (#109)
  • Pull request and issue text was black on dark themes. Rendered text
    inherited no colour; every run now carries its own. (#109)
  • Aborting a rebase left HEAD detached. Abort reset the working tree to
    wherever the rebase had stopped and cleared its state, which left HEAD
    detached on that commit instead of back on the branch. A rebase is now
    aborted by git rebase --abort, which returns to the branch as it was.
    (#100)
  • Changes git had autostashed were stranded when rgitui finished the
    operation.
    Concluding a merge or aborting any operation in rgitui skipped
    the step where git reapplies an autostash made by git pull --autostash,
    git merge --autostash or git rebase --autostash, in rgitui or in a
    terminal, so the changes stayed out of the working tree and out of the stash
    list. Continue, Abort and committing a merge now put them back, and a
    reset made while the operation is stopped moves them to the stash list
    first. (#100)
  • Closing the main window was treated as a crash. Only Workspace: Home
    recorded a clean exit, so after closing the window the next launch offered
    crash recovery. On macOS, closing the window also left rgitui running in the
    Dock with no window. Closing the window now quits the app cleanly. (#105)
  • Panel sizes were lost on the next launch. A launch restores the layout
    from the saved workspace, whose copy was updated only when tabs changed, so
    a resize or graph toggle was dropped however the app was closed. Quitting
    within half a second of a change also cancelled its save. (#105)
  • Esc did nothing in a newly opened Settings window until you clicked in
    it; the window now takes focus when it opens. Unsaved text in a settings
    field is kept when the window is closed with its close button or the app
    quits. (#105, #109)
  • The Create Stash dialog could not be closed. (#109)
  • A failed commit lost its message. The message is now given back, and
    amending a commit can change its message. (#109)
  • Keyboard navigation in the graph did nothing until a row was clicked.
    (#109)
  • Interactive rebase from the command palette always failed to plan its
    range,
    and was refused in any repository whose branch runs down to its
    first commit. The range now runs from the selected commit, and the first
    commit can be the base. (#109)
  • A gap in a graph lane. When HEAD was one commit ahead of another
    branch's tip, the line into that tip stopped short of it. (#109)
  • After a refresh, sidebar keys could act on a different file. The
    keyboard cursor was a position in a list that every refresh rebuilds, so
    when a file appeared above it, s or x staged or discarded the file that
    had moved into that position. The cursor now follows its file. An open stash
    menu closes when the stash list changes instead of acting on whichever stash
    moved into its place. (#109)
  • Global search put matches containing : in the wrong fields, such as
    port: 8080 or a timestamp. (#109)
  • Bisect log rows could not be clicked. (#109)
  • Blame and History fell back to the diff on every refresh. (#109)
  • Toasts announced success before the operation had run. (#109)
  • Commit details were squashed above a long file list. With a commit that
    changed many files, the author, refs and message shrank to a few lines; the
    file list now takes the room below them. The file filter field was also cut
    off at the bottom.

Internal

  • GPUI follows Zed 985bbf42, 1,275 commits newer, and the toolchain is
    Rust 1.100.0. Dependencies move to git2 0.21, keyring 4, rfd 0.18, md5 0.8,
    similar 2.7 and sysinfo 0.39. (#103, #108)
  • The release workflow checks its toolchain against rust-toolchain.toml
    again; it had been left on 1.97.1. Every crate is marked unpublishable.
    (#108)
  • Named screenshots from perf scenarios. A screenshot step and
    scripts/screenshot.ps1 capture the window at a given point in a scripted
    run, against an isolated settings directory. (#109)
  • Three rounds of review on #109 fixed 32 issues before merging. Codex was
    out of review quota for the PR, so local reviewers stood in for it.

Known limitations

  • Simplified Chinese does not yet cover the strings added in this
    release.
    About 430 of them show in English until they are translated;
    Settings → Appearance → Language shows the count.
  • Cmd+Q and the macOS application menu have not been tried on a Mac.
    They were built and tested on Windows.