-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
CfP submission form loses data when creating an account or logging in #1742
Comments
Hm, yeah, that sucks. Two questions to figure out how to proceed:
Things I just tested manually:
I feel like forms being emptied of data when reloading without submitting is right on the edge of "expected, correct behaviour, do not mess with it" and "annoying af, do magic with localstorage to prevent". (Any data loss following a form submit is definitely a bug and needs to be treated as such of course.) I do think we need to err on the side of messing with JavaScript and LocalStorage, as much as it pains me, because this isn't the first time I've heard people complain of this, and being useful is more important than being correct etc etc. |
The login link in the upper right hand corner is the one I just experienced. |
Yes, empty form fields. I did not open a new tab; just clicked the link, then ended up on the blank form, hit "back" to see if the state was saved in my page history, and it still wasn't, that one was blank as well. |
Thanks, yeah, I think the LocalStorage option is the one I'd like to see. (Is PyScript at the point where you could avoid JavaScript, I wonder? Or would that destroy page load performance? :)) |
A quick fix to avoid this frustration might be to add a speedbump on any navigation away from the page, "are you sure you don't want to save first", but a nice background autosave would be preferable. |
This exists in pretalx as of the last release, as per #1107 – the instance we're (probably? nbpy?) talking about is lagging by a year / two big releases atm, not much I can do there, sadly. |
good guess :) |
To be fair I have experienced this problem on PyCon several times as well. Glad to know that the speedbump exists. |
Problem and impact
As a submitter to CfPs using pretalx, I frequently lose data while filling out the form. This can be quite frustrating as some CfPs have multiple multi-hundred-word questions and I can type for quite a while.
Expected behaviour
I would expect that any input I start putting into the form will be auto-saved, particularly if I have started filling out the form without being authenticated, then log in or register.
Steps to reproduce
Screenshots
No response
Link
No response
Browser (software, desktop or mobile?) and version
No response
Operating system, dependency versions
No response
Version
No response
The text was updated successfully, but these errors were encountered: