Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ada nav items #1022

Merged
merged 11 commits into from
Jul 23, 2024
Merged

Update Ada nav items #1022

merged 11 commits into from
Jul 23, 2024

Conversation

mwtrew
Copy link
Contributor

@mwtrew mwtrew commented Jul 15, 2024

Updates Ada navbar items to match designs (see Trello card). This required some test changes as menu items no longer map directly to one another across sites.

@@ -4,7 +4,7 @@
mockActiveGroups,
buildMockTeacher,
buildMockUserSummary} from "../../mocks/data";
import { followHeaderNavLink, renderTestEnvironment, switchAccountTab } from "../testUtils";
import {followHeaderNavLink, navigateToMyAccount, renderTestEnvironment, switchAccountTab} from "../testUtils";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note test

Unused import followHeaderNavLink.
@@ -10,7 +15,7 @@
buildMockStudent,
buildMockUserSummaryWithGroupMembership
} from "../../mocks/data";
import {ACCOUNT_TAB, API_PATH, extractTeacherName, isDefined, siteSpecific} from "../../app/services";
import {ACCOUNT_TAB, API_PATH, extractTeacherName, isDefined, isPhy, siteSpecific} from "../../app/services";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note test

Unused imports isPhy, siteSpecific.
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 37.15%. Comparing base (c8b6a1a) to head (e5f99b0).
Report is 6 commits behind head on master.

Files Patch % Lines
src/test/testUtils.tsx 78.94% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1022      +/-   ##
==========================================
- Coverage   37.17%   37.15%   -0.03%     
==========================================
  Files         420      420              
  Lines       18486    18516      +30     
  Branches     6033     6066      +33     
==========================================
+ Hits         6873     6879       +6     
+ Misses      11574    11018     -556     
- Partials       39      619     +580     

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

@mwtrew mwtrew marked this pull request as ready for review July 23, 2024 08:09
@mlt47 mlt47 merged commit 126803a into master Jul 23, 2024
4 checks passed
@mlt47 mlt47 deleted the feature/ada-nav-updates branch July 23, 2024 12:05
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.

2 participants