Skip to content

fix: update sortOrder on worktree activation for correct recent sorting#84

Merged
AmethystLiang merged 1 commit intomainfrom
AmethystLiang/fixRecentSorting
Mar 24, 2026
Merged

fix: update sortOrder on worktree activation for correct recent sorting#84
AmethystLiang merged 1 commit intomainfrom
AmethystLiang/fixRecentSorting

Conversation

@AmethystLiang
Copy link
Copy Markdown
Contributor

Summary

  • Updates sortOrder timestamp when a worktree is activated, so "recent" sorting reflects actual last-accessed time
  • Persists the sortOrder update to worktree metadata alongside the existing unread clearing logic

Test plan

  • Activate different worktrees and verify the "recent" sort order updates correctly
  • Verify unread state still clears on activation

🤖 Generated with Claude Code

When a worktree is activated, update its sortOrder timestamp so that
the "recent" sort reflects the actual last-accessed time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AmethystLiang AmethystLiang merged commit 0eed79f into main Mar 24, 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