issues
search
cisagov
/
XFD
CyHy Dashboard
Creative Commons Zero v1.0 Universal
8
stars
6
forks
source link
Header/UserMenu Refactor (CRASM-801)
#706
Closed
hawkishpolicy
closed
3 weeks ago
hawkishpolicy
commented
3 weeks ago
Refactored Header and UserMenu components to prevent Users with lesser permissions from accessing unauthorized areas of the site.
🗣 Description
Removed legacy code for the Side Menu that would appear at a certain breakpoint.
Utilized the existing MUI based UserMenu to handle those duties.
Ensured NavItems and MenuItems are properly filtered based on userLevel.
Utilized MUI to handle breakpoint based renders.
💠Motivation and context
Closes
CRASM-801
🧪 Testing
📷 Screenshots (if appropriate)
✅ Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal -
eschew scope creep!
[x]
All
future TODOs are captured in issues, which are referenced in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the
CONTRIBUTING
document.
[x] These code changes follow
cisagov code standards
.
[x] All new and existing tests pass.
✅ Pre-merge checklist
[ ] Revert dependencies to default branches.
[ ] Finalize version.
✅ Post-merge checklist
[ ] Create a release.
🗣 Description
💠Motivation and context
🧪 Testing
📷 Screenshots (if appropriate)
✅ Pre-approval checklist
✅ Pre-merge checklist
✅ Post-merge checklist