Repository navigation
Allow creating new folders in the Save to dialog of the Build tab - #522
Merged
v0lumehi merged 3 commits intoNov 2, 2026
Merged
Conversation
The folder panel of Save to could only pick a folder that exists. The panel is now made by LauncherStores.buildFolderPanel() with canCreateDirectories on, and a test checks its settings. Fixes the same thing as #477 by @SifatTaj, whose change was in ContentView.swift, which the launcher split removed. Co-authored-by: SifatTaj <[email protected]>
# Conflicts: # AGENTS.md
This was referenced Nov 2, 2026
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.
Fix or feature
What and why
The folder panel behind Save to in the Build tab could only pick a folder that already exists. The folder for the IPA often does not exist yet, and the panel had no New Folder button.
@SifatTaj sent the one-line fix in #477 against
ContentView.swift. That file is gone since the launcher split, and the panel is now made inLauncherStores. I moved the panel intoLauncherStores.buildFolderPanel()withcanCreateDirectories = true, so a test can read its settings. It supersedes #477 and keeps @SifatTaj as co-author of the commit.Checked
cd frontend && swift build && swift teston this branch, 646 tests with 17 skipped and no failure.BuildFolderPanelTests.testTheSaveToPanelCanCreateFoldersreads the panel's settings without showing it. I checked that it fails withcanCreateDirectories = falseand passes with the fix. Picking a folder in the real panel is not tested, it needs the system dialog.Screenshots
None captured. The change is the New Folder button of the system's folder panel, which the capture does not draw.
Scope
dm/,scripts/,docs/,ref/) is added to the repository