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: replace slug with decorator ComboBox, MultiSelect, FilterableMultiSelect #18069

Merged

Conversation

alisonjoseph
Copy link
Member

@alisonjoseph alisonjoseph commented Nov 13, 2024

Closes #17989
Closes #17996

Changelog

New

  • new decorator prop for ComboBox
  • new decorator prop for MultiSelect
  • new decorator prop for FilterableMultiSelect
  • added with AILabel stories to Fluid components
  • updated Form story

Changed

  • deprecated slug prop for ComboBox
  • deprecated slug prop for MultiSelect
  • deprecated slug prop for FilterableMultiSelect
  • update rendering slug to render the decorator component but still set the size if it's an AILabel for ComboBox, FilterableMultiSelect and MultiSelect
  • updated tests

Testing / Reviewing

Check ComboBox with AILabel storybook
Check MultiSelect with AILabel storybook
Check FilterableMultiSelect with AILabel storybook

TODO:remove test content from storybook

@alisonjoseph alisonjoseph requested review from a team as code owners November 13, 2024 21:53
Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit 4cd9020
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/673c98759efde40008d9deb5
😎 Deploy Preview https://deploy-preview-18069--v11-carbon-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

netlify bot commented Nov 13, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 4cd9020
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/673c9875354d1400083b96de
😎 Deploy Preview https://deploy-preview-18069--carbon-elements.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 Nov 13, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit fb5bf6a
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/67351fcd29ed330008cc5f30
😎 Deploy Preview https://deploy-preview-18069--v11-carbon-react.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.

@alisonjoseph alisonjoseph changed the title feat(combobox): replace slug prop with decorator feat: replace slug with decorator ComboBox, MultiSelect, FilterableMultiSelect, Select Nov 13, 2024
Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4cd9020
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/673c9875c77a250008a8af37
😎 Deploy Preview https://deploy-preview-18069--v11-carbon-react.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.

@alisonjoseph alisonjoseph changed the title feat: replace slug with decorator ComboBox, MultiSelect, FilterableMultiSelect, Select feat: replace slug with decorator ComboBox, MultiSelect, FilterableMultiSelect Nov 13, 2024
@alisonjoseph alisonjoseph marked this pull request as ready for review November 13, 2024 23:13
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.24%. Comparing base (4fb87e7) to head (4cd9020).
Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18069      +/-   ##
==========================================
+ Coverage   82.21%   82.24%   +0.03%     
==========================================
  Files         404      404              
  Lines       14200    14230      +30     
  Branches     4509     4489      -20     
==========================================
+ Hits        11674    11704      +30     
  Misses       2364     2364              
  Partials      162      162              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

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.

Amazing!! LGTM! Can we also update the Form AILabel story for these components and their fluid components. I tested locally and they all look good!

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me! just needs a yarn format to pass CI

Copy link
Contributor

@guidari guidari left a comment

Choose a reason for hiding this comment

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

LGTM!

@kennylam kennylam added this pull request to the merge queue Nov 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 20, 2024
@alisonjoseph alisonjoseph added this pull request to the merge queue Nov 21, 2024
Merged via the queue into carbon-design-system:main with commit c52884c Nov 21, 2024
40 checks passed
@alisonjoseph alisonjoseph deleted the decorator-combobox-17989 branch November 21, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decorator: Multiselect, FilterableMultiSelect Decorator: ComboBox
6 participants