sakai-rubric-student-button is making excessive http calls on load
GENERAL
TESTING
GENERAL
TESTING
Description
SakaiRubricStudentButton.setHidden is making an http request for every submission when it loads, maybe should look at delaying the http call until the button is actually clicked to avoid loading data needlessly.
Another possible improvement maybe that only a single call is actually needed until the button is clicked since the "evaluatedItemId" is never used in the actual http call.
Requests look similar to the screenshot previously uploaded
Sam Ottenhoff October 16, 2020 at 6:21 PM
Those calls look okay to me. It looks like this is working well.
Andrea Schmidt October 16, 2020 at 5:34 PM
Verified that the assignments list and submissions page do not have excess calls, but once a student's name is clicked, there are many calls (without actually clicking the rubric). I have 5 students in the course (both on trunk and 21x) and both behave the same.
Should this be another Jira or is this expected once the instructor is actually in the Grader?
SakaiRubricStudentButton.setHidden is making an http request for every submission when it loads, maybe should look at delaying the http call until the button is actually clicked to avoid loading data needlessly.
Another possible improvement maybe that only a single call is actually needed until the button is clicked since the "evaluatedItemId" is never used in the actual http call.