fix(cli): surface keyboard controls on add-on multiselect prompt#441
fix(cli): surface keyboard controls on add-on multiselect prompt#441tannerlinsley merged 1 commit intomainfrom
Conversation
Users reported not realizing the add-on selector uses checkboxes (Space to toggle) and requires Enter to confirm. Show the keyboard shortcuts note above every multiselect (not once per session, and no longer before single-select prompts), and append an inline `(Space to toggle, Enter to confirm)` hint to the prompt message itself so the cue is inseparable from the prompt.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe changes introduce a patch release for the CLI package that enhances the multiselect prompt user experience. The "Keyboard Shortcuts" note is now displayed every time a multiselect prompt appears, and the multiselect message includes inline keyboard instructions specifying "(Space to toggle, Enter to confirm)". Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
Summary
Users reported not realizing the add-on selector during
tanstack createis a checkbox list (Space toggles) that needs Enter to confirm. The existing keyboard hint was shown only once per session and could appear before single-select prompts where it didn't apply.(Space to toggle, Enter to confirm)directly to the multiselect message so the cue is inseparable from the prompt itself.Result:
```
┌ Keyboard Shortcuts
│ Use ↑/↓ to navigate • Space to select/deselect • Enter to confirm
└
◆ What add-ons would you like for your project? (Space to toggle, Enter to confirm)
│ ◯ Clerk
│ ◯ Drizzle
│ ...
```
Test plan
Summary by CodeRabbit