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

feat(megamenu): megamenu web component HC & AI updates #5016

Merged

Conversation

annawen1
Copy link
Member

@annawen1 annawen1 commented Jan 27, 2021

Related Ticket(s)

Web Component: Change Mega Menu to accommodate HC + AI updates component #4641

Description

*** NOTE: The React mobile version looks broken, another PR coming to address that so I would recommend waiting for that PR before we merge this one ****

Megamenu Web Components Hybrid Cloud and AI updates

Screen Shot 2021-01-29 at 11 46 45 AM

Screen Shot 2021-01-27 at 2 04 18 PM

Screen Shot 2021-01-27 at 2 04 25 PM

Also created "With Custom Data" separate story for masthead so we can view how the design updates look with the expected data.

Changelog

New

  • dds-left-nav-menu-category-heading for the heading text (ie. The essentials)
  • dds-left-nav-menu-highlighted and dds-left-nav-menu-item-highlighted for highlighted mobile menu items so we can target when to add the darker bottom border
  • dds-megamenu-category-group-copy for the heading and description text in the megamenu

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 27, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 27, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 27, 2021

Deploy preview created for package Web Components:
https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/5016/index.html

Built with commit: 43d0f4c5fea2d49b157f1c0dfa91a9eed70b4b9d

@annawen1 annawen1 changed the title feat(megamenu): megamenu HC & AI updates feat(megamenu): megamenu web component HC & AI updates Jan 27, 2021
@annawen1 annawen1 added package: web components Work necessary for the IBM.com Library web components package and removed package: carbon web components labels Jan 27, 2021
Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

Thank you for coming up with this @annawen1!

Copy link
Member

@ariellalgilmore ariellalgilmore left a comment

Choose a reason for hiding this comment

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

LGTM :)! Awesome job @annawen1!

@ariellalgilmore ariellalgilmore added the Ready to merge Label for the pull requests that are ready to merge label Feb 1, 2021
@kodiakhq kodiakhq bot merged commit 9963760 into carbon-design-system:master Feb 1, 2021
kodiakhq bot pushed a commit that referenced this pull request Feb 1, 2021
### Related Ticket(s)

React stand alone: Change Mega Menu HC + AI updates component #4653

### Description

**NOTE** please merge in the web components version first: #5016 as this branch is based off that one!

HC & AI updates for the Megamenu

You can view the changes in the `Custom Data` story under Masthead

<img width="1615" alt="Screen Shot 2021-01-29 at 7 17 16 PM" src="https://user-images.githubusercontent.com/54281166/106340611-61b05900-6268-11eb-9f6c-cd51048b0abf.png">

<img width="341" alt="Screen Shot 2021-01-29 at 7 16 53 PM" src="https://user-images.githubusercontent.com/54281166/106340606-5f4dff00-6268-11eb-9644-2c82f2bc19f2.png">


### Changelog

**New**

- added necessary data to the `Custom Navigation` masthead story so we can view the design updates
- heading and description copy passed to `Megamenu`

**Changed**

- calculate how many highlighted menu items there are and set a classname to the last highlighted menu item to set border for mobile nav

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
@jyoon25
Copy link

jyoon25 commented Feb 2, 2021

@annawen1 Here's design QA for megamenu. Let me know if you have any comments. Thanks!
QA pdf link: https://ibm.box.com/s/dum8331jjkseqibworat5obgitb6u57p
Original design abstract link: https://share.goabstract.com/6f02a9ae-517f-45b8-b76f-b77273b9a4ad

image

@annawen1 annawen1 deleted the feat/megamenu-hc-ai-updates branch February 10, 2021 18:19
IgnacioBecerra pushed a commit to IgnacioBecerra/ibm-dotcom-library that referenced this pull request Feb 22, 2021
…-system#5016)

### Related Ticket(s)

Web Component: Change Mega Menu to accommodate HC + AI updates component carbon-design-system#4641

### Description

*** NOTE: The React mobile version looks broken, another PR coming to address that so I would recommend waiting for that PR before we merge this one ****

Megamenu Web Components Hybrid Cloud and AI updates

<img width="1642" alt="Screen Shot 2021-01-29 at 11 46 45 AM" src="https://user-images.githubusercontent.com/54281166/106303051-b1226500-6227-11eb-9e84-689665728cfe.png">

<img width="352" alt="Screen Shot 2021-01-27 at 2 04 18 PM" src="https://user-images.githubusercontent.com/54281166/106045183-a3959f80-60ae-11eb-90c0-243c740c31e0.png">

<img width="348" alt="Screen Shot 2021-01-27 at 2 04 25 PM" src="https://user-images.githubusercontent.com/54281166/106045163-9e385500-60ae-11eb-9e35-ce033a9a3d01.png">

Also created "With Custom Data" separate story for masthead so we can view how the design updates look with the expected data.

### Changelog

**New**

- `dds-left-nav-menu-category-heading` for the heading text (ie. The essentials)
- `dds-left-nav-menu-highlighted` and `dds-left-nav-menu-item-highlighted` for highlighted mobile menu items so we can target when to add the darker bottom border
- `dds-megamenu-category-group-copy` for the heading and description text in the megamenu


<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
IgnacioBecerra pushed a commit to IgnacioBecerra/ibm-dotcom-library that referenced this pull request Feb 22, 2021
…tem#5043)

### Related Ticket(s)

React stand alone: Change Mega Menu HC + AI updates component carbon-design-system#4653

### Description

**NOTE** please merge in the web components version first: carbon-design-system#5016 as this branch is based off that one!

HC & AI updates for the Megamenu

You can view the changes in the `Custom Data` story under Masthead

<img width="1615" alt="Screen Shot 2021-01-29 at 7 17 16 PM" src="https://user-images.githubusercontent.com/54281166/106340611-61b05900-6268-11eb-9f6c-cd51048b0abf.png">

<img width="341" alt="Screen Shot 2021-01-29 at 7 16 53 PM" src="https://user-images.githubusercontent.com/54281166/106340606-5f4dff00-6268-11eb-9644-2c82f2bc19f2.png">


### Changelog

**New**

- added necessary data to the `Custom Navigation` masthead story so we can view the design updates
- heading and description copy passed to `Megamenu`

**Changed**

- calculate how many highlighted menu items there are and set a classname to the last highlighted menu item to set border for mobile nav

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: web components Work necessary for the IBM.com Library web components package Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants