Optimize grading ui
- Modified next and previous button to navigate sessions with the same
page_id
(rather than the sameordinal
) for pages shuffled. - Select and navigate to page by select2 widget for graded pages, along with ungraded ones for pages that need human grade, with the same
page_id
. - For db which allows
distinct(*fields)
(i.e., Postgresql), and in cases when human grading are needed, navigate/select/grade only the first/last submitted session of each participation whenuse_earlest
/use_latest
, with warnings when navigate to those which won't be counted in to the final grade. - Allowed navigate to the next ungraded session with the same
page_id
, cyclically - Allowed "submit and next session" skip graded sessions with the same
page_id
, cyclically
That will increase db query from about 29 to 39 times when a grade-flow-page is rendered, however, it will reduce the need to navigate back and forth to locate a ungraded page of a specific user.
Edited by Dong Zhuang