[Bugfix:TAGrading] Allow reopening of student inquiries#12805
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12805 +/- ##
=========================================
Coverage 21.62% 21.62%
Complexity 9819 9819
=========================================
Files 268 268
Lines 36812 36812
Branches 490 490
=========================================
Hits 7960 7960
Misses 28366 28366
Partials 486 486
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
I was reading the documentation and it says
Maybe this was an intentional design? Otherwise, there should be a change in the documentation PR |
|
We always want students to type a message when they re-open a closed grade inquiry. If the current interface is unclear to some students, in that they don't realize that a minimal message is required, then maybe we should update the interface to add some explanatory text. Let's change the "Enter response here" grey text that appears in the box to add, "NOTE: If you wish to re-open this grade inquiry, you must explain why you believe the issue is unresolved." |
Christian2147
left a comment
There was a problem hiding this comment.
I tested this change and it appears to work flawlessly. However, as mentioned earlier, the behavior is intended but might appear confusing to some student. So explanatory text should be added instead.
hyeenaa
left a comment
There was a problem hiding this comment.
Agree with christian , apart from that works great.
dandrecollins07-ctrl
left a comment
There was a problem hiding this comment.
Passes test cases. Warning message should probably implement now.
Why is this Change Important & Necessary?
Fixes #8487
What is the New Behavior?
There didn't seem to be a bug where students can't reopen a grade inquiry if closed. What does seem to be a minor problem is that when reopening a grade inquiry, the student would have to type into the text box before before they could submity a grade inquiry. I'm not too sure how serious an issue this as the student can still reopen grade inquiries, and i can't imagine a case where a student want to reopen with a blank screen, but the change in the code has been made to get rid of the hard-coding
Before
After
Otherwise its the same



What steps should a reviewer take to reproduce or test the bug or new feature?
This should match the above screenshots: in main, the reopen grade inquiry button is disabled when there is no message but is undisabled when there is a message
for this branch it is not disabled and it should be possible to reopen the inquiry with or without a message
Automated Testing & Documentation
Other information