Skip to content

Enable path selection when initialPath is set#21381

Merged
tidy-dev merged 1 commit intodesktop:developmentfrom
DylanDevelops:ravel/local-path-issue
Dec 26, 2025
Merged

Enable path selection when initialPath is set#21381
tidy-dev merged 1 commit intodesktop:developmentfrom
DylanDevelops:ravel/local-path-issue

Conversation

@DylanDevelops
Copy link
Contributor

Closes #20991

Description

Removed the restriction that disabled the path input and file picker button when an initialPath prop is provided. Now, the controls are only disabled while the default directory is loading, allowing users to change the path even if initialPath is set.

I know that this issue is a little bit old now; however, it was marked as "help wanted." If this fix is no longer needed, feel free to close this pull request and issue; I will not be offended. The change was only 3 line removals 😅.

Screenshots

Button to open this menu:
Screenshot 2025-12-19 at 10 37 30 AM

Screen that was modified
Screenshot 2025-12-19 at 10 38 25 AM

Release notes

Notes: [Fixed] Fix the inability to move directories when creating a repository in a non-Git folder.

Removed the restriction that disabled the path input and file picker button when an initialPath prop is provided. Now, the controls are only disabled while the default directory is loading, allowing users to change the path even if initialPath is set.
@github-actions github-actions bot added external Pull request originating outside of the Desktop core team triage For incoming issues labels Dec 19, 2025
Copy link
Contributor

@tidy-dev tidy-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💖 Thanks!

@tidy-dev tidy-dev merged commit de4e9ab into desktop:development Dec 26, 2025
8 checks passed
@DylanDevelops DylanDevelops deleted the ravel/local-path-issue branch December 26, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external Pull request originating outside of the Desktop core team triage For incoming issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't edit local path why choosing add local project

2 participants