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

Add notifications playground #2420

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Add notifications playground #2420

merged 2 commits into from
Mar 14, 2024

Conversation

CDimonaco
Copy link
Member

Description

This pr adds a notifications playground in storybook, we can dispatch dismissable/not dimissable notifications, with a custom icons from eos icon package and custom css class for the icon.

The icon name should be the exported name from eos library, otherwise validation will fail.

How was this tested?

Manually

@CDimonaco CDimonaco added the javascript Pull requests that update Javascript code label Mar 14, 2024
@CDimonaco CDimonaco self-assigned this Mar 14, 2024
@CDimonaco CDimonaco marked this pull request as ready for review March 14, 2024 14:26
@jagabomb
Copy link
Contributor

This looks great @CDimonaco. Can I ask to reduce the font size of the Close button for the persistent notification to 14px? Other than that I am happy with this. 😄

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

import * as ICONS just blew my mind

Copy link
Contributor

@jagabomb jagabomb left a comment

Choose a reason for hiding this comment

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

LGTM!

@CDimonaco CDimonaco merged commit 07560de into main Mar 14, 2024
24 checks passed
@CDimonaco CDimonaco deleted the notifications_playground branch March 14, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

None yet

3 participants