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

[Header] FE: Clean up mega menu styles and markup #16816

Closed
7 tasks
randimays opened this issue Jan 10, 2024 · 3 comments
Closed
7 tasks

[Header] FE: Clean up mega menu styles and markup #16816

randimays opened this issue Jan 10, 2024 · 3 comments
Labels
sitewide Transfer VA.gov frontend CMS team practice area VA.gov megamenu CMS managed product owned by Public Websites team

Comments

@randimays
Copy link
Contributor

randimays commented Jan 10, 2024

Status

[2024-07-02] Transfer to the Design System Team for when they componentize the header/footer.

Elevator Statement

This ticket is for the Mega Menu specifically. Given that our mega menu code is complex, while we're working on the Federal Header & Footer, we should do a quick audit of opportunities to simplify the markup and styles.

Description

While working on the Federal Header / Footer project, Styles, the engineer has identified opportunities to clean-up the markup and styles. Feedback indicates that cleaning up both would make our lives easier, and quite possibly have a small positive impact on Veterans by maybe making load times better, as well as making the injected header easier to manage and maintain.

The engineer will estimate this ticket, and if the effort is negligible, this work will be done as a fast follow to the main 1st quarter project work.

The CodePen prototype was created by Laura Flannery to support the Federal Header/Footer research effort of the new header and footer, and this will be used as a guideline for changes to the Header/Footer.

User story

AS A AS A Veteran, their family member, caregiver, or survivor who uses the Federal Header & Footer while in VA.gov
I WANT to easily navigate and understand the header Mega menu and experience faster load times
SO THAT I'm not frustrated and can quickly and easily complete my tasks

Engineering notes / background

  • Identify (and address, if time permits) any opportunities for simplifying markup
  • Identify (and address, if time permits) any opportunities for simplifying styles
  • Bonus points
    • address any lint issues
    • audit README to verify accuracy of existing documentation

Quality / testing notes

  • All existing end-to-end and unit tests should pass
  • Validate unauthed and authed mega menu
  • Validate correct functionality in injected header for unauthed and authed

Acceptance criteria

  • Markup identified has been simplified
  • Styles identified has been simplified
  • a11y review
  • Injected header/footer is not regressed
  • If possible, lint issues have been addressed (nice to have; not a blocker for releasing this and calling it done)
  • If possible, audit README
    • if the two items above aren't possible in this ticket, new ticket created for that work to be performed as a follow-up to this ticket.
@randimays randimays added VA.gov frontend CMS team practice area VA.gov megamenu CMS managed product owned by Public Websites team Public Websites Scrum team in the Sitewide crew labels Jan 10, 2024
@randimays randimays changed the title FE: Align mega menu in vets-website with Codepen prototype and make any accessibility adjustments FE: Clean up mega menu styles and markup Jan 11, 2024
@FranECross FranECross added Header/footer Owned by Sitewide Public Webites and removed Header/footer Owned by Sitewide Public Webites labels Jan 11, 2024
@FranECross FranECross changed the title FE: Clean up mega menu styles and markup [Header] FE: Clean up mega menu styles and markup Apr 19, 2024
@FranECross
Copy link

Possibly an opportunity for the DST to pick this up when they componentize the header/footer.

@FranECross FranECross added Transfer and removed Public Websites Scrum team in the Sitewide crew labels Jul 2, 2024
@randimays
Copy link
Contributor Author

@FranECross I think we can consider closing this ticket as a no-op for our team versus transferring this to DST. The ACs / requirements here are not clear and I think this refactor will come naturally as DST converts the existing header/footer to a web component (I don't think they'll need a ticket for it).

@FranECross
Copy link

@randimays Sounds good. Thanks. Closing per Randi's comment above.

@FranECross FranECross closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sitewide Transfer VA.gov frontend CMS team practice area VA.gov megamenu CMS managed product owned by Public Websites team
Projects
None yet
Development

No branches or pull requests

3 participants