Comments (8)
- Could you expand on the critical step, 'Go to the "register" link'? Do you mean that you click the "login" link in the upper right-hand corner, or that you follow the CfP (multi-step) form and eventually are asked to log in or register?
The login link in the upper right hand corner is the one I just experienced.
from pretalx.
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"
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.
from pretalx.
Hm, yeah, that sucks. Two questions to figure out how to proceed:
- Could you expand on the critical step, 'Go to the "register" link'? Do you mean that you click the "login" link in the upper right-hand corner, or that you follow the CfP (multi-step) form and eventually are asked to log in or register?
The reason I'm asking is that these are two very distinct bug reports – we extensively test for the latter, as that's the expected workflow. It's meant to give users a (seamless-ish?) way to log in or register while in the process of filling in their proposal information. - What do you mean by "Come back to see the site blanked out." – by "blanked out" you mean empty form fields, not a white page, right? Did you open the login/registration form in a separate tab and switched back to the previous one? On page reload, are you thrown back to the first form of the CfP? Or did you log in then navigate back in the browser (which I could see leading to CSRF errors, hm).
Things I just tested manually:
- Submit first form, be directed to login/register page, log in, continue: works.
- Submit first form, be directed to login/register page, open other login page in separate tab, log in, reload page. See 404 (not ideal!), but on using browser navs to go back a step to the first form and hard-reloading, all info is still there.
- Start filling in first form, do not submit, log in in separate tab, then submit form in first tab: Get CSRF error. Navigating back with browser navigation shows me the previously entered data, and soft refresh retains the data, but that's browser dependent behaviour – Firefox keeps form data across soft refresh, Chrome doesn't.
- Start filling in first form, do not submit, log in in separate tab, refresh: data is lost or not as above depending on browser behaviour.
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.
from pretalx.
2. What do you mean by "Come back to see the site blanked out." – by "blanked out" you mean empty form fields, not a white page, right? Did you open the login/registration form in a separate tab and switched back to the previous one? On page reload, are you thrown back to the first form of the CfP? Or did you log in then navigate back in the browser (which I could see leading to CSRF errors, hm).
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.
from pretalx.
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.
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? :))
from pretalx.
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.
from pretalx.
the instance we're (probably? nbpy?) talking about
good guess :)
from pretalx.
To be fair I have experienced this problem on PyCon several times as well. Glad to know that the speedbump exists.
from pretalx.
Related Issues (20)
- Python dependencies are not version-locked HOT 1
- Heroku/Dokku deployment compatibility HOT 1
- Markdown headers get bigger at header level 4 HOT 3
- Link to question reminder email form in question reminder sending page
- Remove pretalx.common.models.Choices HOT 3
- Update site title in proposal wizard to include current proposal name HOT 4
- Ability to share received feedback HOT 2
- Proposal counts for speakers incorrect when showing Speakers only
- Answers to per-speaker (and per-submission) questions not included in API output HOT 2
- "Send mail to speakers" link is wrong HOT 1
- pretalx-schedule widget: settings bar stretches width of content causing horizontal scrollbar
- Locale only partially applied, mostly English fallback loaded HOT 4
- CSRF issue when adding an image to speaker HOT 4
- Ability to automate submitting talks HOT 1
- Event clone: breaks reviewer teams / track assignments
- Download only the Starred Appointments HOT 1
- CSS-Files from Media get blocked due to MIME type
- CSS-Media-Files get blocked due to MIME type HOT 2
- Anonymisation UI is out of the viewport on Firefox and Chrome
- Markdown only partially rendered in Session list entry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pretalx.