Skip to content

ux: hint Escape key when no tasks match in interactive selector#235

Merged
branchseer merged 1 commit intomainfrom
improve-no-matching-tasks-message
Mar 13, 2026
Merged

ux: hint Escape key when no tasks match in interactive selector#235
branchseer merged 1 commit intomainfrom
improve-no-matching-tasks-message

Conversation

@branchseer
Copy link
Member

Summary

When a user runs a non-existent task (e.g. vp run zzzzz), the interactive selector pre-fills the search with the typo and shows an empty results list. Without additional context, users may think the command is hanging.

This adds an actionable hint to the empty state message:

Select a task (↑/↓, Enter to run, type to search): zzzzz

                                          ┌── added
                                          ▼
  No matching tasks. Press Escape to clear search.

This reminds users they are in a search state and gives them a clear next step to recover, rather than leaving them stuck on a seemingly unresponsive screen.

Test plan

  • E2E snapshot test updated and passing

🤖 Generated with Claude Code

When a user runs a non-existent task (e.g. `vp run zzzzz`), the
interactive selector shows "No matching tasks." which can make users
think the command is hanging. Adding "Press Escape to clear search."
gives an actionable next step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@branchseer branchseer requested review from cpojer and fengmk2 March 13, 2026 00:51
@branchseer branchseer merged commit 398a147 into main Mar 13, 2026
7 checks passed
@branchseer branchseer deleted the improve-no-matching-tasks-message branch March 13, 2026 01:02
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