Skip to content

Conversation

@sei40kr
Copy link
Contributor

@sei40kr sei40kr commented Dec 11, 2025

Summary

Converts branch checkout and delete operations to use the new interactive picker, providing a better user experience for branch selection.

Changes

  • Branch checkout now uses interactive picker instead of text input
  • Branch delete now uses interactive picker for selecting branches to delete
  • Both operations support filtering, navigation, and custom input fallback

Test Plan

  • Updated branch operation snapshot tests to work with picker interface
  • Tests cover picker usage, filtering, navigation, and cancellation scenarios

Dependencies

Note: This PR depends on #468 being merged first.

🤖 Generated with Claude Code

@sei40kr sei40kr changed the title feat: Convert branch operations to interactive picker feat: convert branch operations to interactive picker Dec 11, 2025
@sei40kr sei40kr mentioned this pull request Dec 11, 2025
1 task
sei40kr and others added 2 commits December 12, 2025 11:57
Implement an interactive fuzzy finder picker component:
- Fuzzy matching with real-time filtering
- Keyboard navigation (↓/↑, Ctrl-n/p)
- Select with Enter, cancel with Esc/Ctrl-c
- Visual highlighting of matched characters

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Convert Checkout to use interactive picker with fuzzy search
- Convert Delete to use interactive picker
- Exclude current branch from picker lists
- Add comprehensive test coverage for all picker interactions
- CheckoutNewBranch and Spinoff remain as text prompts (branch names, not git revs)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@sei40kr sei40kr force-pushed the feat/branch-interactive-picker branch from 9151434 to 3311023 Compare December 12, 2025 03:08
@sei40kr sei40kr marked this pull request as draft December 25, 2025 19:22
@altsem
Copy link
Owner

altsem commented Dec 28, 2025

I noted that cancelling the picker takes me back to the submenu, while as before it would close the submenu completely. I'd vote cancelling should just close everything.

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.

2 participants