Repository navigation
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: The search found PR #38345, which is the original PR that this current PR (42357) is rebased from according to the description. That's not a duplicate—it's the source that was rebased with permission. No duplicate PRs found |
Author
|
@Hona @Brendonovich Kind reminder. |
1 similar comment
Author
|
@Hona @Brendonovich Kind reminder. |
Member
|
This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2. — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
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
Rebase of #38345 by @razzeee onto current
dev, opened with their permission(#38345 (comment)).
Original commit and authorship preserved.
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.
/andrefetches) instead of confirming
This also fixes opencode web, not just desktop. Both go through the same
DialogSelectDirectory(directory-picker.tsxfalls through to the legacypicker for web), so before this change the only way to descend on web was the
undiscoverable Tab shortcut — and on touch devices there was no way at all
short of typing the full absolute path. The scope in the title is
appratherthan
desktopfor that reason.Rebase notes: the only conflict was the import hunk, resolved by keeping both
the
Pathtype import and the expandeddirectory-picker-domainimport.onSelecthad not changed upstream since the original branch point.How did you verify your code works?
Tested locally on
opencode webin a browser: clicked into nested directories,navigated with Enter and Tab, went back up, confirmed with both the Select
Folder button and Ctrl+Enter. Verified backspace still works normally in the
input, and checked the footer at a narrow (mobile) viewport.
Screenshots / recordings
demo1.mp4
demo2.mp4
Checklist