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(Web Components): create About Modal component in Web components #6874

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

sangeethababu9223
Copy link
Member

@sangeethababu9223 sangeethababu9223 commented Feb 10, 2025

Closes #6814, #6812 & 6875

Create About Modal component in Web Components

What did you change?

Created a new component About Modal in Web components package.
the following are done:

  • Functionality implemented
  • Style integrated
  • Docs Updated

Note: In the React version, ComposedModal from Core is used. But in the Web Components package, there's no ComposedModal, only Modal. Also, Modal doesn’t use the Carbon Tooltip component—it just uses the title attribute directly on the close button. The same applies to AboutModal since it also uses Modal for its implementation.

How did you test and verify your work?

Storybook

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 68dd73e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/67ad7bc87270ca0008de734a
😎 Deploy Preview https://deploy-preview-6874--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit 68dd73e
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/67ad7bc876c0f70008f7c368
😎 Deploy Preview https://deploy-preview-6874--ibm-products-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.54%. Comparing base (119a48f) to head (68dd73e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6874      +/-   ##
==========================================
+ Coverage   81.53%   81.54%   +0.01%     
==========================================
  Files         400      400              
  Lines       13000    13000              
  Branches     4280     4280              
==========================================
+ Hits        10599    10601       +2     
+ Misses       2401     2399       -2     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

@sangeethababu9223 sangeethababu9223 marked this pull request as ready for review February 11, 2025 07:03
@sangeethababu9223 sangeethababu9223 requested a review from a team as a code owner February 11, 2025 07:03
@sangeethababu9223 sangeethababu9223 requested review from davidmenendez and matthewgallo and removed request for a team February 11, 2025 07:03
Copy link
Contributor

@davidmenendez davidmenendez left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@davidmenendez davidmenendez left a comment

Choose a reason for hiding this comment

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

oh actually one minor thing: i think since this is all brand new all the years on the copyright should just be 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create About Modal component in Web Components
2 participants