Skip to content

feat: add command dropdown with arrow key navigation#17

Open
kitan23 wants to merge 1 commit intodedalus-labs:mainfrom
kitan23:feat/command-dropdown
Open

feat: add command dropdown with arrow key navigation#17
kitan23 wants to merge 1 commit intodedalus-labs:mainfrom
kitan23:feat/command-dropdown

Conversation

@kitan23
Copy link

@kitan23 kitan23 commented Jan 10, 2026

Summary

Replaces inline command hints with a vertical dropdown list for better discoverability and navigation.

Features

  • Vertical dropdown: Commands displayed in a vertical list instead of inline
  • Command descriptions: Shows description next to each command (e.g., /model → "Switch model")
  • Arrow key navigation: Use up/down arrows to navigate through suggestions
  • Selection: Tab or Enter to select the highlighted command
  • Scrolling viewport: Selection stays visible with "...N above" and "...+N more" indicators
  • 10 visible items: Shows up to 10 commands at a time

Screenshot

Screenshot 2026-01-09 at 11 48 20 PM Screenshot 2026-01-09 at 11 52 55 PM

- Display slash commands in vertical dropdown list
- Show command descriptions alongside command names
- Navigate with arrow up/down keys
- Select with Tab or Enter
- Viewport scrolls to follow selection
- Show '...N above' and '...+N more' indicators
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.

1 participant