-
-
Notifications
You must be signed in to change notification settings - Fork 960
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
SAK-44225 SakaiGrader keep the selected submission #12887
Conversation
Moved the group ref detection into the firstUpdated lit callback Cleaned up the attribute setting in grader, using ifDefined. Changed viewFilterGroup to selectedGroup. viewFilterGroup sounds like a boolean
webcomponents/tool/src/main/frontend/packages/sakai-grader/src/SakaiGrader.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small change :)
webcomponents/tool/src/main/frontend/packages/sakai-grader/src/SakaiGrader.js
Outdated
Show resolved
Hide resolved
webcomponents/tool/src/main/frontend/packages/sakai-grader/src/SakaiGrader.js
Outdated
Show resolved
Hide resolved
@adrianfish thank you for the suggestions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this work. It's good to see other people doing work in the grader. It's a complicated piece of code.
Co-authored-by: Adrian Fish <[email protected]> (cherry picked from commit 68c418e)
After thoroughly testing the previous PR, I found that with the change, the selected student is lost, and the first one is set by default. Similarly (as was already happening), when changing groups, the displayed student is not retained if they are in the group being filtered.