-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Open
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Description
Problem
When using the command to add a provider, if a user misclicks or wants to select a different provider, they currently have to:
- Press ESC (which closes the entire modal)
- Type again
- Start the selection process from scratch
This is especially frustrating on:
- Slow SSH connections with high ping
- Low-RAM devices (e.g., Raspberry Pi Gen 1)
- Any situation where the UI might be laggy
Proposed Solution
Allow users to press ESC while in the API key input or authorization code dialog to return to the provider list, instead of closing the entire modal.
Expected Behavior
- User types
- User selects a provider
- User sees API key/auth dialog
- User presses ESC
- User returns to provider list (not modal closed)
Implementation
The fix involves:
- Adding prop to , , and components
- Handling ESC key in to call
- Using as the back action
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)