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

Expose setNotifications callback in NotificationContext to allow for a custom notifications center #8914

Merged
merged 1 commit into from
May 23, 2023

Conversation

smeng9
Copy link
Contributor

@smeng9 smeng9 commented May 16, 2023

In our use case, we have a customized notification center.

We would like to let users acknowledge some of the notifications, so that would require us to expose the setNotifications method in order to rewrite some of the values stored in the notification context

@djhi
Copy link
Collaborator

djhi commented May 16, 2023

Thanks for the PR. As it is a new faeture, can you please target the next branch?

@fzaninotto
Copy link
Member

Your PR embarks commits that already belong to another branch... You probably messed up your rebase.

@smeng9
Copy link
Contributor Author

smeng9 commented May 16, 2023

Yeah I realized, I have now fixed my rebase.

@smeng9 smeng9 marked this pull request as draft May 16, 2023 08:31
@smeng9 smeng9 marked this pull request as ready for review May 16, 2023 08:35
@smeng9 smeng9 requested a review from fzaninotto May 16, 2023 08:36
@slax57 slax57 added this to the 4.11.0 milestone May 23, 2023
@slax57 slax57 merged commit ccd3258 into marmelab:next May 23, 2023
@slax57
Copy link
Contributor

slax57 commented May 23, 2023

Thanks!

@slax57 slax57 changed the title Expose setNotifications methods in notification contexts Expose setNotifications callback in NotificationContext to allow for a custom notifications center May 23, 2023
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.

4 participants