feat(desktop): Improve keyboard navigation and add accept button in open project dialog - #38345
Open
razzeee wants to merge 1 commit into
Open
feat(desktop): Improve keyboard navigation and add accept button in open project dialog#38345razzeee wants to merge 1 commit into
razzeee wants to merge 1 commit into
Conversation
Contributor
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
This also affects opencode web, not only desktop. The web path uses the same DialogSelectDirectory, where selecting a row resolves immediately and Tab is the only way to descend, which is undiscoverable on desktop and unusable on touch. |
Author
|
Feel free to rebase |
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #38338
Type of change
What does this PR do?
The Open Project dialog immediately resolved and closed when clicking a suggestion or pressing Enter, making it impossible to navigate into a subdirectory and continue. There was also no explicit confirm action.
/and refetches) instead of confirmingHow did you verify your code works?
Tested locally: typed a partial path, navigated into suggestions with Enter and Tab, confirmed with the button and Ctrl+Enter. Verified backspace works normally in the input.
Screenshots / recordings
Screencast.From.2026-07-22.17-50-17.mp4
Checklist