Skip to content

My Ada Notifications#2053

Merged
sjd210 merged 17 commits intomainfrom
feature/my-ada-notifications
Mar 25, 2026
Merged

My Ada Notifications#2053
sjd210 merged 17 commits intomainfrom
feature/my-ada-notifications

Conversation

@jacbn
Copy link
Copy Markdown
Contributor

@jacbn jacbn commented Mar 23, 2026

Hopefully the last set of changes before Ada are happy with the sidebar. Based off of #2026, please ensure that is merged before reviewing this.

Adds notification-style banners to the top of the overview pages. There are plans to expand these to show more types of notification and to make them dismissible, but for now these are simply permanent banners, one for each active assignment / test.

jacbn added 5 commits March 20, 2026 14:30
Initially, this just shows time-sorted work to do. There are plans to expand this significantly in the future, including the ability to dismiss notifications.
(the student overview page is already behind it)
Comment thread src/app/components/elements/StudentDashboard.tsx Fixed
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 67.03297% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.13%. Comparing base (a5d0727) to head (9149443).
⚠️ Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
src/app/components/pages/Overview.tsx 50.00% 9 Missing ⚠️
...onents/elements/modals/SurveyNotificationModal.tsx 22.22% 7 Missing ⚠️
src/app/components/elements/Notification.tsx 55.55% 4 Missing ⚠️
src/app/components/site/phy/NavigationMenuPhy.tsx 20.00% 4 Missing ⚠️
src/app/components/elements/StudentDashboard.tsx 33.33% 2 Missing ⚠️
...c/app/components/elements/sidebar/MyAdaSidebar.tsx 33.33% 2 Missing ⚠️
src/app/components/navigation/IsaacApp.tsx 75.00% 1 Missing ⚠️
src/app/services/notificationChecker.ts 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2053      +/-   ##
==========================================
+ Coverage   43.08%   43.13%   +0.05%     
==========================================
  Files         579      580       +1     
  Lines       24917    24955      +38     
  Branches     8258     8275      +17     
==========================================
+ Hits        10735    10764      +29     
- Misses      14125    14134       +9     
  Partials       57       57              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@sjd210 sjd210 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looking good, but a couple of small things to look at.

Also somewhat unrelated since I know that we're not requiring dismissing banners for this initial work, but do we have a plan for how we're going to do that dismissing yet? I remember talking about it, but did we ever reach a decision?

Comment thread src/app/components/elements/modals/SurveyNotificationModal.tsx Outdated
Comment thread src/app/services/assignments.ts
Comment thread src/app/components/pages/Overview.tsx Outdated
<IconCard className={"without-margin"} card={{
title: "Assigned to me",
icon: {name: "icon-person-check", color: "secondary"},
tag: counts.assignments > 0 ? `${counts.assignments} to do` : undefined,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine this wasn't requested so more of a thought than a request, but I would imagine that seeing these counts in the (expanded) sidebar so that they're always visible within the My Ada section would make sense. It would be a similar idea to them appearing in the header dropdown as they currently do.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had actually meant to add this, just forgot 😔. I think more people will navigate with the sidebar, so agreed it makes sense.

@sjd210
Copy link
Copy Markdown
Contributor

sjd210 commented Mar 25, 2026

(Waiting on release to merge)

@sjd210 sjd210 merged commit e012fdb into main Mar 25, 2026
10 checks passed
@sjd210 sjd210 deleted the feature/my-ada-notifications branch March 25, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants