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

Add the abillity to change save strategy from auto save to selectable #123

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

K0IN
Copy link

@K0IN K0IN commented Nov 14, 2021

With this pr it is possible to change the save mode.
This helps since I sometimes open notes and edit them by accident . Until we have proper note versioning, this is a good solution to not accidentally delete / modify content of notes.
image
to Auto save(every change) or Explicit (when ctrl + s is pressed)
image

Also on pending changes, the browser will warn you for unsaved changes, same on close.

image
image

And there now is a little indicator for changes on the current document
image

K0IN added 2 commits November 14, 2021 17:12
* Added Settings entry
* Added Editor callback for save status
* Added Effect to handle routing and exiting with a warning
* Removed debug statements
@K0IN
Copy link
Author

K0IN commented Nov 14, 2021

One issue to discuss, how to do it on mobile

@QingWei-Li
Copy link
Collaborator

One issue to discuss, how to do it on mobile

Add a save button

* Added save icon
* Added button for mobil devices
* Refactored saving
@K0IN
Copy link
Author

K0IN commented Nov 24, 2021

One issue to discuss, how to do it on mobile

Add a save button

i added one in the top bar is this fine for you?
image

@K0IN K0IN closed this Nov 24, 2021
@K0IN K0IN reopened this Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants