ApplETS / ApplETS/Notre-Dame

[Grades] Add a notification badge when a new grade is released

Open
#856 0 comments 1 reaction 1 assignee Claimed by @MysticFragilist View on GitHub
enhancement feature: Grades platform: android platform: ios priority: medium
Dominant language
Dart
Stars
44
Forks
13
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Would be really neat to have a small badge above the grade button that has a new grade in it. For example, something like this could be use above grade button that has some new content:

![image](https://github.com/ApplETS/Notre-Dame/assets/25663435/e45ebcdb-ed8e-4e0e-a215-d6093483de27)

It would encourage the user to go see their grades faster and also simplify the application use when they want to go see their grades for a specific class.

**Describe the solution you'd like**
The solution should contained the following:

- When loading the page load all cache seen info and show the badge above the appropriate course.
- Provide a way to save a course in the cache where a modification was seen (we can use the hashcode of the evaluation to know if it was saved or not)
- When a course grade_details is open, save the course in the cache.
- [Optional] (but cool :wink: ) show also the specific evaluation with a notif badge and save it in cache as seen only when scrolling to it.
- Tests :test_tube:

**Describe alternatives you've considered**
N/A
but if there is discussion to have I'm always open for ideas :smile:

**Additional context**
https://pub.dev/packages/badges

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.