Skip to content
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

Desperately need an undo feature! #177

Closed
james-c-m-kim opened this issue Oct 24, 2017 · 7 comments
Closed

Desperately need an undo feature! #177

james-c-m-kim opened this issue Oct 24, 2017 · 7 comments

Comments

@james-c-m-kim
Copy link

The UI lets me delete entire folders and skips the confirmation dialog, and I end up missing entire directories...

@mattblackdev
Copy link

mattblackdev commented Oct 24, 2017

Dang that sucks. What's almost as bad is when you have an amazing idea, bust out a new Stackblitz project and for a few hours it's going really good. Then you accidentally scroll too far to the left in Chrome and you're back on the Stackblitz homepage realizing you never hit cmd+s once.

@james-c-m-kim
Copy link
Author

james-c-m-kim commented Oct 24, 2017 via email

@EricSimons
Copy link
Member

@james-c-m-kim hmm that's really odd, we have confirmation dialogs for all delete operations 🤔 I'm thinking that it might be actually due to an unintentional drag and drop within the files pane? That's def happened to me once or twice — I'm looking into adding a delay or something that would fix! (Also, would love to hear more about why you'd like StackBlitz to be an electron app! :)

@mattblackdev yikes, that's happened to you?? What browser/OS are you using? We have dirty detection in the editor that throws a prompt if you try and redirect your browser away without saving - super weird that it isn't activating for you. Any other info to help me repro/debug this would be super appreciated 👍

Really sorry about these random errors guys — we're doing our best to get this thing fully stable! Def lots of work ahead for our 2 man team 😅

@james-c-m-kim
Copy link
Author

james-c-m-kim commented Oct 25, 2017 via email

@mattblackdev
Copy link

@EricSimons It's not happening anymore. I just tested it with the scroll left, back button, cmd+w and cmd+q. I'm getting the confirmation dialog in all cases. I think Chrome auto updates on my mac so it could've been a regression in a previous version.

My system right now is:
macOS Sierra 10.12.6
Chrome: Version 62.0.3202.62 (Official Build) (64-bit)

@sunilthakur
Copy link

Is there any way to recover the deleted project. Please help!!

@kc0tlh
Copy link
Collaborator

kc0tlh commented Aug 23, 2023

This issue is resolved in our new VS Code editor!

  1. We have added Undo (CTRL + Z and CMD + Z)
  2. Changes are stored in browser cache in case the page is closed without saving
  3. Github is now supported for Version Control, creating additional redundancy (see Github issue Export and import to github, gitlab or pagure. #2473 for more info)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants