-
Notifications
You must be signed in to change notification settings - Fork 8
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(pie-toast): DSW-2204 implement auto-dismiss / persistent feature #1862
feat(pie-toast): DSW-2204 implement auto-dismiss / persistent feature #1862
Conversation
🦋 Changeset detectedLatest commit: d1c248b The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Lint PR Title] ❌ Failed.
The PR title should follow the same convention used for commits, e.g.:
type(scope): DSW-123 title
where DSW-123
is the Jira ticket id or DSW-000
when one is not available.
[Lint PR Title] ✅ All good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉 We may need some component tests for some of the behaviour?
|
/test-aperture |
Starting a new snapshot build. You can view the logs here. |
The build failed, please see the logs or take a look at the Workflow Tooling wiki page to make sure your PR meets the requirements. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to approve this because it all seems to work well and I don't want to stand in your way too much. I would appreciate if you could address my request to add that comment, but that can be as part of a follow-up PR if you like.
5e32574
…for better clarity
Since my approvals were reset I took the opportunity to add the comments in this PR already. I totally missed that comment. |
In this Pull Request we are implementing the auto-dismiss feature after 5 seconds or when configurable via
duration
property and deactivating it if theduration
property is null as well persistence when the user hover the mouse onto the component and when the user focus on the action button and close button using the keyboard avoiding closing the toast and reseting the auto-dismiss functionality.Extra
We've created additional documentation pages for each variant as well its combination with
isStrong
property.Screenshots and Videos
Screen.Recording.2024-09-13.at.2.40.03.PM.mov
═══════════════════════════════════════════════════════════
Describe your changes (can list changeset entries if preferable)
Author Checklist (complete before requesting a review)
PIE Storybook
/PIE Docs
PR preview/snapit
functionality to test my changes in a consuming applicationReviewer checklists (complete before approving)
Reviewer 1 - @jamieomaguire
PIE Storybook
/PIE Docs
PR previewReviewer 2 - @xander-marjoram
PIE Storybook
/PIE Docs
PR preview