Skip to content

fix: diff stats, archive action, sort worktrees, and font fixes#101

Merged
amandal0903 merged 4 commits intomainfrom
fix-diff-stats
Apr 11, 2026
Merged

fix: diff stats, archive action, sort worktrees, and font fixes#101
amandal0903 merged 4 commits intomainfrom
fix-diff-stats

Conversation

@amandal0903
Copy link
Copy Markdown
Collaborator

Description:

  • Switch diff stats to merge-base algorithm matching SCM "Changes in Parent" and GitHub PR behavior
  • Show diff stats for the local (main repo) worktree entry in the orchestrator panel
  • Add "Archive" button on merged PR worktrees
  • Sort worktrees dynamically: main > permission > working > changes > idle > merged, with FLIP animation
  • Use relative font sizes so worktree list scales with editor font setting
  • Unify branch name font with feature name (remove monospace override)

…nify fonts

- Switch getDiffStats to merge-base algorithm matching SCM "Changes in
  Parent" and GitHub PR behavior (single git diff --numstat <mergeBase>)
- Remove multi-step file discovery in favor of one unscoped diff command
- Add "Archive" button on merged PR worktrees (branch · Archive)
- Sort worktrees dynamically: main > permission > working > changes > idle > merged
- FLIP animation for smooth reordering when sort position changes
- Re-render on session state changes so sort updates live
- Unify branch name font with FEAT name (remove monospace override)
- Update squash-merge tests to reflect merge-base semantics
The local (main repo) entry was short-circuited to EMPTY_STATS,
skipping getDiffStats entirely. This meant branches checked out
in the main repo never showed +/- stats in the orchestrator list.
Anchor worktree name, branch, and diff stats badge to
--vscode-font-size so they scale with the user's editor font setting.
@amandal0903 amandal0903 merged commit b1e0bb8 into main Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant