Skip to content

feat: sort repositories alphabetically in worktree list - #27

Merged
malaporte merged 1 commit into
mainfrom
worktree-sort
Oct 1, 2026
Merged

malaporte merged 1 commit into
mainfrom
worktree-sort

Conversation

@malaporte

Copy link
Copy Markdown
Owner

Summary

  • Repos in the Worktrees list are always sorted alphabetically by name (case-insensitive) instead of config order.
  • Repos with no worktrees stay in that alphabetical order instead of being pushed to the bottom.
  • Removed drag-to-reorder for repos (grip handle), the unused reorderRepos from useConfig, and the @dnd-kit/sortable dependency. Dragging worktrees onto workspaces still works.

Testing

  • bun run typecheck
  • bun run test (89 passing)

🤖 Generated with Claude Code

@malaporte
malaporte merged commit 5edf3d5 into main Oct 1, 2026
2 checks passed
@malaporte
malaporte deleted the worktree-sort branch October 1, 2026 08:53
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.20.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant