Skip to content

Fix sidebar repo ordering to sort alphabetically#29

Merged
alari76 merged 1 commit intomainfrom
fix/sidebar-alphabetical-sort
Mar 9, 2026
Merged

Fix sidebar repo ordering to sort alphabetically#29
alari76 merged 1 commit intomainfrom
fix/sidebar-alphabetical-sort

Conversation

@alari76
Copy link
Copy Markdown
Contributor

@alari76 alari76 commented Mar 9, 2026

Summary

  • The previous fix (fb8cbbb) only sorted repos in the new-session repo picker dropdown
  • The sidebar's buildRepoNodes used Map insertion order, so repos appeared in session creation order
  • Added .sort() by display name so the sidebar repo tree is always alphabetical

Test plan

  • Open Codekin with multiple repos having active sessions
  • Verify sidebar repos are listed in alphabetical order
  • Create a new session in a repo that would sort first — confirm it appears at the top

🤖 Generated with Claude Code

The previous fix (fb8cbbb) only sorted repos in the new-session picker.
The sidebar's buildRepoNodes used Map insertion order, so existing
sessions appeared in creation order. Sort by display name instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alari76 alari76 merged commit 181e3ea into main Mar 9, 2026
2 checks passed
@alari76 alari76 deleted the fix/sidebar-alphabetical-sort branch March 10, 2026 05:11
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