Feature request: persist form data between page refreshes
fwuensche
1 year ago
I had just written a long feedback in the other thread. Then I accidentally refreshed the page and lost all that I’ve written 😅 I guess we could rely on localStorage to prevent that.
That might be an issue if not implemented carefully on ‘edit’ pages, because maybe users will refresh their page exactly to discard the changes. But it should be more straightforward to implement for ‘new’ actions, as we’d only have to store keys such as “new-thread-title” and “new-thread-content” and then discard the entry once the form is submit.
👍1
charles reacted with :thumbs_up
tyro
1 year ago
Yes, agreed on this being a problem. I think Turbo is a slight issue here as it prevents the browser from repopulating the form. Local storage could be a good option. 👍
I had just written a long feedback in the other thread. Then I accidentally refreshed the page and lost all that I’ve written 😅 I guess we could rely on localStorage to prevent that.
That might be an issue if not implemented carefully on ‘edit’ pages, because maybe users will refresh their page exactly to discard the changes. But it should be more straightforward to implement for ‘new’ actions, as we’d only have to store keys such as “new-thread-title” and “new-thread-content” and then discard the entry once the form is submit.
Yes, agreed on this being a problem. I think Turbo is a slight issue here as it prevents the browser from repopulating the form. Local storage could be a good option. 👍
New task
And now that we’re done with this thread, should we be able to archive it? 😏❤️
You can close threads (I’ll close this) but there is no separate ‘archive’ functionality yet.