-
Notifications
You must be signed in to change notification settings - Fork 18
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
WIP: FM255 - improve interactive grader UI #209
base: tabs-on-grading-page-instead-of-graph
Are you sure you want to change the base?
WIP: FM255 - improve interactive grader UI #209
Conversation
I poked around for a little bit for getting a spinner showing while the grading page is changing problems. Here is a small diff that works, but I don't love the fact that my default spinner (that darkens the whole page) ends up flickering on and off quickly when moving between problems in a reasonable sized class. I think ideally there would be a little delay to see if rendering can finish quickly, and if it doesn't then show the spinner. The react render is synchronous though, so its not like we can interrupt it. Best thing I can think of to do is count up the number of expressions we will be rendering and make that a precondition to showing the spinner at all if we think it won't take too long. Also as discussed we can add pagination to this page, or fancy virtual scrolling or whatever like they use in the various table libraries to not fall over when people load a bunch of data. Here is the diff for unconditionally showing the spinner at least:
|
No description provided.