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

AppSideNav - Component branch (HDS-3800) #2384

Merged
merged 71 commits into from
Oct 30, 2024

Conversation

KristinLBradley
Copy link
Contributor

@KristinLBradley KristinLBradley commented Sep 3, 2024

πŸ“Œ Summary

If merged, this PR will add the AppSideNav component to HDS but will not publish it. It will also un-publish the related AppHeader component. (See related memo)

πŸ› οΈ Detailed description

The majority of code was duplicated from the SideNav and then modified to implement the new AppSideNav component.

Major differences of note:

  • The AppSideNav has an updated visual design using lighter colors than the SideNav
    • Dark theme styles are no longer added to nested Button & Dropdown components
  • The AppSideNav structure was simplified:
    • Structural named blocks were removed: :header, :footer, :body, :root
    • The :logo & :actions child named blocks were removed (used in old :header)
    • The Header and Header::HomeLink child components were removed.
  • The Navigator Narrator (skip link) was removed as the AppSideNav is meant to always be paired with the AppHeader which already includes this
  • Bug with overflow scrolling was fixed (caused by navigating from panel with long content to panel with short content)

(Spike of restructured List and ListTitle which may be explored in later iterations)

(Internal references: RFC, Meta CRD)

πŸ”— External links


πŸ‘€ Component checklist

πŸ’¬ Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Sep 3, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
hds-showcase βœ… Ready (Inspect) Visit Preview Oct 30, 2024 5:50pm
hds-website βœ… Ready (Inspect) Visit Preview Oct 30, 2024 5:50pm

KristinLBradley and others added 7 commits October 29, 2024 16:46
Co-authored-by: Alex <alex-ju@users.noreply.github.com>
Co-authored-by: Alex <alex-ju@users.noreply.github.com>
Co-authored-by: Alex <alex-ju@users.noreply.github.com>
Co-authored-by: Jory Tindall <jory.tindall@hashicorp.com>
Copy link
Member

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

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

left a few suggestions. considering the age of this branch, I suggest we rebase before we get this in. let me know if you'd like me to handle this on your behalf

KB: Thanks! I had already rebased previously and I don't see any new changes in main.

Co-authored-by: Alex <alex-ju@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-website Content updates to the documentation website packages/components packages/tokens showcase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants