Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Disable auto-save #607

Open
neekless opened this issue May 5, 2022 · 2 comments
Open

Disable auto-save #607

neekless opened this issue May 5, 2022 · 2 comments

Comments

@neekless
Copy link

neekless commented May 5, 2022

Can we disable auto-save or at least not have it save with every minor change? With no undo/redo option, it's not so easy to revert unintended changes, especially with auto-save. I know I can go to history can restore a previous version but that's not very apparent and it's a relatively overcomplicated way to do a very simple thing.

@moughxyz
Copy link
Member

moughxyz commented May 5, 2022

What if you've been typing for half an hour with no autosave, and the app crashes? You'd lose all your changes. So we can't not autosave. As for lowering frequency, if we don't do it soon enough, you may make some edits and close the app. In which case, it would not have had a chance to sync, so when you go on the desktop app, you won't see your changes. So we have to make sure we sync really close to every edit you make.

@neekless
Copy link
Author

neekless commented May 6, 2022

What if you've been typing for half an hour with no autosave, and the app crashes?

It should be up to the user to weigh the risk of autosave vs app crashing. Users who cannot accept the risk can enable autosave. Users who think inconvenience of autosave should be able to disable it. I type my dissertations on Microsoft Word without autosave. There is risk of Word crashing too. I mitigate risk by saving regularly.

In which case, it would not have had a chance to sync, so when you go on the desktop app, you won't see your changes.

Users who decide not to autosave will risk not syncing, that's true. This is also answered by the above: the user should decide the risk they are willing to accept.

Ultimately if you disagree with my points above, I think my main point is: We should not be using 'History Restore' as a way to undo accidental typing/accidental deletion. So maybe you can introduce Undo/Redo functions to the editor.

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

No branches or pull requests

2 participants