-
Notifications
You must be signed in to change notification settings - Fork 282
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
Autosave a card description on page reload #2174
Comments
One could use I would prefer the latter for security and privacy reasons (in case of multiple people using thr same device). @matchish do you want to provide a Pull Request? 🚀 🙂 This approach might also be used to the comments field. |
Browsers are quite limiting on actions that can be performed if a page is closed or reloaded, so the only thing we could do here is probably to block navigating away with an confirmation dialog. |
@juliushaertl Could you give me a hint how to recognize a page close/reload? |
Another thing I noticed today is, that if you have the edit dialog open (modal or sidebar, does not matter), paste some text into the description and click anywhere else than the edit dialog (such that the modal/sidebar closes), the content is lost. |
Been having this same issue. I wouldn't mind having somekind of force-save button or whatever. The only way to get descriptions save for me is to:
Also sometimes editing description twice works. But it's very unreliable. |
I have similar issues, where the automatic saving of the description field is not always triggered (or it doesn't always succeed). See #5628. While it is not easy to track down all possible ways of losing the entered information, one simple check it should be done when navigating away, but also when simply closing the card edit window, so that if save didn't happen, prevent any further action that would cause loss of entered data. |
Describe the bug
When you edit a card and then without pause reload the page the modifications are lost
Expected behavior
The card description have to be saved before page reload
Server details
Nextcloud version: 18.0.4
List of activated apps:
Enabled:
Disabled:
The text was updated successfully, but these errors were encountered: