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

[Bug]: Stories for notification components showing incorrect examples #18139

Open
2 tasks done
AlanGreene opened this issue Nov 21, 2024 · 0 comments
Open
2 tasks done

Comments

@AlanGreene
Copy link
Contributor

Package

@carbon/react

Browser

No response

Package version

1.71.0

React version

No response

Description

The 'Overview' document for each of the Notification variants in the Storybook shows the same doc content. This leads to an issue with the code examples that are displayed. The titles of the examples suggest it should show each of the 3 variants (actionable, inline, toast), but all 3 actually show examples of the selected variant only.

i.e. when viewing the 'Overview' page for the ActionableNotification component, all 3 examples show an instance of the ActionableNotification.

Actionable:
https://react.carbondesignsystem.com/?path=/docs/components-notifications-actionable--overview
Image

Inline:
https://react.carbondesignsystem.com/?path=/docs/components-notifications-inline--overview
Image

Toast:
https://react.carbondesignsystem.com/?path=/docs/components-notifications-toast--overview
Image

Reproduction/example

See links to Storybook in description

Steps to reproduce

View the Storybook links and scroll to the examples at the bottom of those pages.

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

3 participants