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

Usability Improvement: Store unsaved text in localstorage, improve autosave, and connection handling #1542

Open
capocasa opened this issue Sep 25, 2023 · 0 comments

Comments

@capocasa
Copy link

Describe your problem

When I am writing and the Internet connection goes down, I receive a panicky message instructing me to save content to a file. Better than nothing, but not ideal.

It would be much better to simply store all unsaved text into localStorage using the oninput Javscript event handler. This can be removed as soon as an autosave or manual save is performed.

If such text is present, it should be displayed instead of the text that is in the article, restoring the state as it was before the internet connection drop happened. When the internet comes back, an autosave should be performed immediately.

Missing internet connection should not be warned about in a popup, but in a subtle notification with no call to action, perhaps linking to a manual entry that says: Writing with no internet connection is no problem because your writing will survive any reload, just make sure to connect to the internet again when you want to publish our content.

Ideally, I believe it would be good if an autosave were performed at 'every' oninput event- words are very valuable to a writer. The latest autosave could be used for this, just updating it- and then, after the autosave period, a new one could be generated so the older autosaves can stay.

This would be ideal save usability from my perspective. I hope this helps! Feel free to ask questions.

Steps to reproduce the problem

Write a bit of new content, then cut internet connection to computer. Wait a bit.

Bludit version

3.15 Pro

PHP version

7.4.33

PHP logs

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

No branches or pull requests

1 participant