You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature:RainbowGrades] Adding hover text to bad status cells (#77)
**What is the current behavior?**
Students aren't sure what the red outline on the grade report means
since the description is at the bottom of the grade report page.
**What is the new behavior?**
A hover feature is now implemented to notify that the red outline cells
are bad status, including the username of the student with a bad status
and the homework/assignment that a bad status was received.
**Other information?**
Fixes #10439 (Submitty/Submitty#10439)
When the cursor is over the bad status cell this is the hover text that
appears:

---------
Co-authored-by: Jaeseok Kang <[email protected]>
hoverText = "class=\"hoverable-cell\" data-hover-text=\""+userName+" received a "+std::to_string(daysExtended)+" day extension due to "+reason+" on "+gID+"\"";
100
-
} else {
101
-
hoverText = "class=\"hoverable-cell\" data-hover-text=\""+userName+" received a "+std::to_string(daysExtended)+" day extension without specified reason on "+gID+"\"";
102
-
}
103
-
104
97
// Bool in order of priority - top to bottom
105
98
// Don't think we need this logic, but leaving it as sort of assert
hoverText = "class=\"hoverable-cell\" data-hover-text=\"" + userName + " received a " + std::to_string(daysExtended) + " day extension due to " + reason + " on " + gID + "\"";
107
+
} else {
108
+
hoverText = "class=\"hoverable-cell\" data-hover-text=\""+userName+" received a "+std::to_string(daysExtended)+" day extension without specified reason on "+gID+"\"";
0 commit comments