feat(ui): add draft target shortcut sequences

This commit is contained in:
ChangeHow
2026-08-06 14:18:14 +08:00
parent ab3ccf395d
commit 1b9da5f9fa
2 changed files with 35 additions and 2 deletions
@@ -101,6 +101,9 @@ and the send path reading the same grammar.
- `state/useDraftTarget.ts` — the draft can target a directory that does not
exist yet (a worktree being created). It must survive not appearing in the
branch list, or the selector snaps back to the project root mid-creation.
- `ui/DraftTargetSelectors.tsx` owns the controlled project/worktree picker
state and registers its application shortcuts locally. The selectors only
consume their shared prefix while the draft target UI is mounted.
## Mobile