Add Missing Indicator on the Main Page and Classes for Course and Assignment #112
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #103
This PR also includes a refactoring to use classes for
Course
andAssignment
This adds a missing indicator on the main page so you can easily see if you have missing assignments for a course.
EDIT: Now, it also adds a tooltip that pops up when hovering over the grade that lists the missing assignments.
I was also thinking, should this come with some kind of toggle in case you don't want the indicators?
One more thing I was thinking of adding was storing how many assignments are missing so the user can acknowledge missing assignments so the indicator only shows up again if you are missing even more assignments. Not entirely sure how the UI or storage for that would work though.
It looks like this when you are missing an assignment: