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

Refactor SidebarNav #8565

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from
Draft

Refactor SidebarNav #8565

wants to merge 9 commits into from

Conversation

mayagbarnes
Copy link
Collaborator

@mayagbarnes mayagbarnes commented Apr 26, 2024

Describe your changes

As a precursor to MPAv2, refactoring some of the styling/behavior of sidebar page navigation used for MPA.
Changes:

  • Simplify expand/collapse container behavior with view more/less buttons
  • Hovering at the top section of an open sidebar displays the collapse icon, otherwise it is hidden
  • We no longer have 2 scrollbars (one for page nav, one for general sidebar)
  • New styling for pages

Testing Plan

  • Unit Tests (JS and/or Python) - ✅
  • E2E Tests - 🚧 WIP
  • Manual Testing - 🚧 WIP

@mayagbarnes mayagbarnes changed the title [WIP] Refactor SidebarNav Refactor SidebarNav Apr 26, 2024
@mayagbarnes
Copy link
Collaborator Author

Please note - the failing tests are a result of non-matching snapshots. Since this PR & the st.logo PR touch a lot of the same components/e2e tests, there will inevitably be snapshot conflict. Waiting until st.logo PR merged to handle updating snapshots on this PR.

@mayagbarnes mayagbarnes force-pushed the mpa-menu-refactor branch 2 times, most recently from ddb92ad to f0337e5 Compare April 26, 2024 21:43
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant