-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add support for custom components in TopNavigation links #2481
Conversation
🦋 Changeset detectedLatest commit: 63aa21f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this change! 🚀
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2481 +/- ##
==========================================
+ Coverage 87.45% 87.48% +0.02%
==========================================
Files 195 195
Lines 20572 20615 +43
Branches 1225 1229 +4
==========================================
+ Hits 17992 18035 +43
Misses 2529 2529
Partials 51 51
|
Purpose
The TopNavigation currently assumes a very specific layout for the profile menu. The
profileMenu
anduser
props are oddly specific for a design system component.Additionally, the profile menu is implemented using the Popover component, whose
menu
role is semantically incorrect for this context (fixed in #2483).Approach and changes
profileMenu
anduser
propslinks
propDefinition of done