learning-unlimited/ESP-Website — Issue #2: Lottery Student Reg 'submit' is silent until successful
Author: aseering
Created: 2011-10-30 16:20:37+00:00
State: open

When you go to submit your registration in LSR, the UI sends a POST request immediately with the form's contents, but doesn't display anything in the UI until the server responds.

Unfortunately, the 'submit' view can be very slow; tens of seconds at least with a large schedule. Arguably we should just do something to speed up the view; I really don't see any good fundamental reason why what that view is doing needs to be so slow, though the way it's doing it, analyzing one class at a time and inserting one Reg bit at a time into a heavily-indexed table, I don't see an alternative that doesn't require a structural change.

Regardless, there's no UI feedback, so users don't know what's going on; they wander away figuring something's broken, or click multiple times and possibly get errors back, etc.