ucrcsedept / galah

An automated grading system geared towards processing computer programming assignments.
Apache License 2.0
42 stars 8 forks source link

Add pagination to assignment view. #224

Open atkoehler opened 11 years ago

atkoehler commented 11 years ago

As more and more submissions occur for an assignment the load time for the submission page seems to significantly increase.

I believe this is because every result is loaded because you can toggle them all.

Would it be speed up load to have only a few loaded, such as most recent 3, and then have a load 5 more / load all options?

itsjohncs commented 11 years ago

Modified issue title. This will be done eventually, it's a tricky thing to implement.

paranoiacblack commented 11 years ago

I might have asked this before, but what did you want to do extra with pagination that something like Flask Paginate doesn't?

itsjohncs commented 11 years ago

That seems fine with me. Mostly I was worried about efficiency of the pagination, but since users won't be looking at anything but the front page very often, it should be fine.

paranoiacblack commented 11 years ago

Nevermind, Flask-Paginate is not well-documented. Also, it probably isn't a good idea to shove more confusing UI elements into this.