* refactor: shift grade summary calculation to backend (#1797)
Refactors the grade summary logic to delegate all calculation responsibilities to the backend.
Previously, the frontend was performing grade summary computations using data fetched from the API. Now, the API itself provides the fully computed grade summary, simplifying the frontend and ensuring consistent results across clients.
Additionally, a "Hidden Grades" label has been added in the grade summary table to clearly indicate sections where grades are not visible to learners.
Finally, for visibility settings that depend on the due date, this PR adds a banner on the Progress page indicating that grades are not yet released, along with the relevant due date information.
* chore: update snapshots
---------
Co-authored-by: Muhammad Anas <88967643+Anas12091101@users.noreply.github.com>
This commit adds changes to fetch the exams data associated with all subsections relevant to the progress page. Exams data is relevant to the progress page because the status of a learner's exam attempt may influence the state of their grade.
This allows children of the root ProgressPage or downstream plugin slots to access this data from the Redux store.
---------
Co-authored-by: nsprenkle <nsprenkle@2u.com>, Michael Roytman <mroytman@2u.com>
- dialogClassName was working with Modal from paragon, but after paragon v23 upgrade. We replaced Modal with ModalDialog with which dialogClassName doesn't work.
- So, replace dialogClassName with simple className to apply same styles.
Co-authored-by: Muhammad Faraz Maqsood <faraz.maqsood@A006-01130.local>
* fix: fixed right panel closing issue
* fix: fixed status of notificationTrayStatus in session storage
* test: added test cases to close or open notification tray
When content within a sequence was shorter than the height of the browser viewport, the `.sequence-container > .outline-sidebar-wrapper` element does not expand appropriately. This caused the course outline sidebar to be partially or completely hidden from view.
Adds an event handler on the window resize to check if the sidebar isOpen and the size of the viewport is smaller than the sidebar display to hide the sidebar and prevent it from blocking the course view.
* feat: base modifications to disable completion checks when flag enabled
* chore: started updating tests
* chore: udpated tests
* chore: added missing negative test
---------
Co-authored-by: Adolfo R. Brandes <adolfo@axim.org>