[Masthead] Web Component: Change component to include logic that highlights the current and parent menu items within the Masthead dropdown + Mega Menu based on the URL
See original GitHub issueUser Story
As a
[user role below]
: Carbon for ibm.com developer
I need to: create/change the
Masthead
so that I can: provide the ibm.com adopter developers components they can use to build ibm.com web pages
Additional information
- Story within Storybook with corresponding knobs
- Utilize Carbon
- Create with Shadow DOM and Custom Elements standards
- See the Epic for the Design and Functional specs information
- No visual changes and visual QA testing required.
- The manual option stays in place. The automatic mapping is added.
- Web Components Prod QA testing issue (#6765)
Hybrid Cloud developer: Hunter MacDermut
- HC Jira ticket
- Dev estimate: 5
- DDS consultant: Anna
Incremented func spec number to 1.2.5 https://ibm.ent.box.com/file/781809973704?s=89qwjyjy6kwbi69qnz4nzatwfv3mh2kc
Acceptance criteria
- Include README for the web component and corresponding styles
- Create Web Components styles in styles package
- Do not create knobs in Storybook that include JSON objects
- Break out Storybook stories into multiple variation stories, if applicable
- Create codesandbox example under
/packages/web-components/examples/codesandbox
and include in README - Minimum 80% unit test coverage
- Update the Carbon for ibm.com website component data file to be sure the web site Component Status and Storybook links are correct
- A comment is posted in the Prod QA issue, tagging Praveen when development is finished
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
[Masthead] React: Change component to include logic that ...
[Masthead] React: Change component to include logic that highlights the current and parent menu items within the Masthead dropdown + Mega Menu based...
Read more >Fly-out Menus | Web Accessibility Initiative (WAI) - W3C
Use fly-out (or drop-down) menus to provide an overview of a web site's page ... Indicate navigation menu items with submenus visually and...
Read more >How to Add Custom Navigation Menus in WordPress Themes
If you want to add a custom navigation menu to a different template, then click on the arrow in the toolbar and select...
Read more >Component: Mega Menu in Oxygen | OxyExtras
This component allows you to build modern, responsive mega menus visually ... the dropdowns can be populated with any elements or menu items...
Read more >Parent, child and sibling relationships – Figma Help Center
Show the Parent component underneath the selected layer in the Inspect panel. Click the in the Inspect panel to select the parent component....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Moving Hunter’s comments in the epic #6638 to this dev issue. @proeung @annawen1
Making good progress on this work. A couple issues came up I’d like to bring attention to.
?lnk=hpmps_buai
, Cloud masthead links have no identifier that can be used to distinguish under which heading they should be highlighted. How should we distinguish between the two?@RobertaJHahn Sounds good! Thanks for the update!