Skip to content

Show alert for unsaved changes if autosave is not on #1390

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

Open
kerjenwang opened this issue Apr 12, 2020 · 8 comments
Open

Show alert for unsaved changes if autosave is not on #1390

kerjenwang opened this issue Apr 12, 2020 · 8 comments
Labels
Feature Request Proposal for adding a new functionality Needs Design Requires design input before moving forward Priority:High Should be addressed soon but not critical

Comments

@kerjenwang
Copy link

Nature of issue?

  • New feature request

New feature details:

Hi, is it possible to enable auto-save as soon as a user is logged in and starts a new project? Currently I believe the auto-save only enables AFTER the user saves the project for the first time...

Thanks!

@welcome
Copy link

welcome bot commented Apr 12, 2020

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@catarak
Copy link
Member

catarak commented Apr 15, 2020

Thanks for the suggestion! The reasoning behind not starting it immediately is to prevent users from creating a bunch of empty sketches that they don't want. For example, if you opened the editor quickly to test something out but ultimately don't want to save your work. Open to other thoughts though!

It could make sense to turn on autosave if you're opening an existing project and then editing. It won't start autosave then until you've saved it once as well.

@kerjenwang
Copy link
Author

Hi Cassie,

Thanks for responding!

I see your point. How about enabling auto-save as soon as the project is renamed?

This actually happened to me and I lost a bunch of code. I started a project and renamed it, but I didn't actually explicitly save it because I thought by renaming the project it would automatically save the project under the new name. When the program froze and I closed the browser tab, the code was gone.

Alternatively, whenever a user starts a new project, is it possible to have a pop-up appear to remind the user to save the project after 5 or 10 minutes?

Thanks again!

@catarak
Copy link
Member

catarak commented Apr 15, 2020

That's a good suggestion. It seems like if you're changing the project name then you probably care about the code you're writing. A reminder popup could also be good—this basically is the approach that CodePen takes, in which the save button will wiggle.

@kerjenwang
Copy link
Author

Thank you!

@catarak catarak added Priority:Medium Moderately important, should be completed in a fair timeframe Feature Request Proposal for adding a new functionality labels Apr 16, 2020
@debajitdeb11
Copy link

@catarak Can I work on this?

@catarak
Copy link
Member

catarak commented Sep 3, 2020

@debajitdeb11 sure! I don't think there's a 100% clear vision of what this should look like, so feel free to throw out some options before getting to coding. What I do know is, I don't like sketches saving automatically when you first open it, I find that it creates a bunch of junk sketches that I have to wade through the ones that I want. I think, instead, it would make sense to direct users to save if they've been working on a new sketch or editing an existing sketch. This is how CodePen directs users:
Screen Shot 2020-09-03 at 1 19 56 PM

@catarak catarak changed the title Enable auto-save as soon as project is started Show alert for unsaved changes if autosave is not on Feb 11, 2021
@catarak catarak added Priority:High Should be addressed soon but not critical and removed Priority:Medium Moderately important, should be completed in a fair timeframe labels Feb 11, 2021
@raclim
Copy link
Collaborator

raclim commented Nov 30, 2023

To me, this feels related to #1635

@raclim raclim added the Needs Design Requires design input before moving forward label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Proposal for adding a new functionality Needs Design Requires design input before moving forward Priority:High Should be addressed soon but not critical
Projects
None yet
Development

No branches or pull requests

4 participants