Skip to content

Conversation

@muhammad-ali-pk
Copy link
Contributor

@muhammad-ali-pk muhammad-ali-pk commented Oct 21, 2025

Done

  • Added autoDismissDelay prop to ToastNotificationProvider which can be used to:
    • provide custom delays to automatically dismiss notification
    • disable automatically dismissing notifications

QA

Pinging @canonical/react-library-maintainers for a review.

Storybook

To see rendered examples of all react-components, run:

yarn start

QA in your project

from react-components run:

yarn build
npm pack

Install the resulting tarball in your project with:

yarn add <path-to-tarball>

QA steps

Percy steps

  • Updated ToastNotification docs page

Fixes

Fixes: #1271, WD-30161

@webteam-app
Copy link

@muhammad-ali-pk muhammad-ali-pk force-pushed the feat-custom-toast-delays branch from 860ac5c to 1a42255 Compare October 21, 2025 08:25
@muhammad-ali-pk muhammad-ali-pk force-pushed the feat-custom-toast-delays branch from 1a42255 to 790fb02 Compare October 21, 2025 08:33
@muhammad-ali-pk muhammad-ali-pk merged commit 8bef99d into main Oct 21, 2025
10 checks passed
@muhammad-ali-pk muhammad-ali-pk deleted the feat-custom-toast-delays branch October 21, 2025 09:15
@github-actions
Copy link

🎉 This PR is included in version 3.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

ToastNotificationProvider: Support for custom delays or persistent notifications

5 participants