-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting site leaves local files #303
Comments
@danielbachhuber If users mistakenly miss the option, I would prefer that their files stay on the filesystem and are not deleted. Losing the files without noticing seems to be a worse outcome.
It seems to be native Windows UI, and not really a Studio or Electron thing. |
@wojtekn I think the expectation when I "Delete site" is that the site is deleted. What do Local and DevKinsta do? |
@danielbachhuber Local asks the user if they want to move files to trash and preselects the option for the user. They also don't use native system dialog and implement a custom dialog: DevKinsta doesn't ask about that at all and removes the files. They use custom dialog too: It seems that Studio is on the lowest part of the YOLO-ness scale here. I think we can select the checkbox by default. After all, the site is being moved to the thrash, so users can still revert the process if they change their minds. |
@wojtekn Thanks for looking into it! I agree; I think checking the box by default is a reasonable implementation. |
Quick summary
When deleting a site in Studio 1.4, the local files are not being deleted.
Steps to reproduce
What you expected to happen
The complete directory is being deleted.
What actually happened
Nothing
Impact
All
Available workarounds?
No but the app is still usable
Platform
Windows
Logs or notes
Studio 1.4 on Windows 10
The text was updated successfully, but these errors were encountered: