forestui icon indicating copy to clipboard operation
forestui copied to clipboard

Add Worktree → Existing branch: confusing selection and errors

Open hiroshimorowaka opened this issue 1 month ago • 0 comments

  1. With the search field focused and a result already highlighted, Enter shows Branch '' does not exist instead of picking the highlighted branch. The user has to ↓ into the list and press Enter again.
  2. That error message stays on screen after a valid branch is picked; it's only cleared when the text input is edited.
  3. Branches already checked out in another worktree are offered. Submitting closes the modal, discards the input, and shows a toast with a duplicated prefix (Failed to create worktree: Failed to create worktree: …).

Expected: Enter in the search picks the highlighted match; the error clears on selection; branches in use are marked or disabled (or the error is shown inside the modal without closing it); the toast prefix isn't duplicated.

hiroshimorowaka avatar Oct 22 '26 21:10 hiroshimorowaka