Skip to content

Releases

1.8.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 13:44

sc ui now shows your stack in a sidebar on the left of the diff, instead of
only in the header's branch menu. The stack you're viewing is drawn as an
sc ls-style rail with the trunk, PR numbers and CI status, and every branch
shows its commit, commit count and +/− line stats against its parent. Date
prefixes are dropped from branch names, and other stacks fold away under
"Other stacks". You can drag the sidebar's edge to resize it (double-click to
reset), and the width is remembered.

Jumping to any branch is now a ⌘K (Ctrl+K) command palette centered over the
page, with no button taking up room while the sidebar is shown.

Files now run edge to edge between the sidebars instead of sitting in padded,
rounded cards, with a rule between files.

The changed-files tree moves to the right of the diff. Below 1200px it folds
into the header's file menu, and below 768px the stack sidebar hides and a
"Jump to branch…" button in the header opens the palette. The header now shows
the commit title and branch → parent of the diff you're viewing.

The stack API (/api/stack, /api/state) now includes diffStats for each
branch, cached per commit pair so polling stays cheap.

This release was contributed by @patrick91 in #153

1.7.7

Choose a tag to compare

@github-actions github-actions released this 14 Oct 16:04

Make it obvious in sc ui when consecutive diff hunks are in different functions.
Hunk headers now show the enclosing function (git's hunk context) in the code font,
with the @@ line range faded. A hunk that moves into a new function gets a bold,
ruled header, while one that continues the function above keeps its name dimmed.

This release was contributed by @patrick91 in #152

1.7.6

Choose a tag to compare

@github-actions github-actions released this 02 Oct 17:37

Fix sc move, sc restack and other restacking commands crashing when a branch
they need to rebase is checked out in another worktree. Shortcake now rebases it
on a detached HEAD and moves the branch from inside its worktree, so that
worktree's files follow. It refuses with a clear error when that worktree has
uncommitted changes or an operation in progress, and sc continue / sc abort
keep the worktree in sync after a conflict.

Also fix sc move crashing with a KeyError when the branch to move doesn't
exist; it now reports that the branch wasn't found.

This release was contributed by @patrick91 in #151

1.7.5

Choose a tag to compare

@github-actions github-actions released this 01 Oct 14:31

Fix sc sync keeping a merged branch when several stacked branches were merged at
once. Children of a deleted branch were moved onto its parent even when that parent
was being deleted too, which conflicted, so sync kept the branch and then tried to
rebase it onto trunk. Children now move onto the nearest ancestor that survives the
sync, and a merged branch that could not be deleted is no longer rebased.

This release was contributed by @patrick91 in #150

1.7.4

Choose a tag to compare

@github-actions github-actions released this 01 Oct 10:40

Fix restacks dropping commits from branches with more than one commit. sc modify -m
copies the Shortcake-Parent trailer onto each new commit, and restacking (via
sc sync, sc restack, or sc pull) treated only the newest of them as the
branch, silently dropping the earlier commits.

This release was contributed by @patrick91 in #149

1.7.3

Choose a tag to compare

@github-actions github-actions released this 18 Sep 13:07

Fix sc sync crashing when a branch that needs reparenting is checked out in
another worktree. Sync now rebases it in that worktree and keeps the parent branch
when uncommitted changes or an operation in progress prevent reparenting.

This release was contributed by @patrick91 in #148

1.7.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 08:27

Reduce GitHub API traffic from sc ui by sharing a five-minute cache across tabs
and pausing polling in hidden tabs. Stop refreshes when GitHub rate-limits requests,
respect its retry timing, and preserve previously loaded PR and CI information.

This release was contributed by @patrick91 in #147

1.7.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 13:04
73b68f1

Prevent sc move from crashing after a successful local move when the branch's
former parent has already been deleted locally. Post-move stack discovery now
skips missing local branch names instead of indexing a nonexistent ref.

This release was contributed by @patrick91 in #144

1.7.0

Choose a tag to compare

@github-actions github-actions released this 21 Aug 18:46
4c614c4

Redesign the sc ui diff review screen around GitHub-style file cards.

Each file now renders as a rounded card on the page background, with a sticky
file header that keeps the card's rounded corners while scrolling and is
pushed off the top edge when its card ends. Diffs use GitHub's Primer colors
at full strength (backgrounds were previously diluted to ~10% by the diff
renderer's color mixing), the GitHub Primer syntax themes by default, and the
Monaspace Neon code font (bundled). File headers show the directory dimmed
with the filename bold, a status icon for added/deleted/renamed files, a
copy-path button, colored +/- counts with a diffstat meter, and a Viewed
toggle chip. The app header now shows the branch's commit subject and commit
count, and the theme/layout controls moved into a settings drawer that slides
in from the right without dimming the page, so theme changes are visible live.

This release was contributed by @patrick91 in #143

1.6.6

Choose a tag to compare

@github-actions github-actions released this 18 Aug 13:16
5931e9b

Keep pulled PR branches visible when an unrelated local branch points at the
same commit. Shortcake now uses the uniquely matching remote branch as the
canonical stack branch while leaving the local alias untracked.

This release was contributed by @patrick91 in #142