-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
fix: calculate a hash for the Tag property of ToastNotification. #42239
fix: calculate a hash for the Tag property of ToastNotification. #42239
Conversation
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
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.
Thanks for looking into this! It's also failing lint - we'll need to address that before this can be merged as well.
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.
Thanks 😁
@codebytere |
Congrats on merging your first pull request! 🎉🎉🎉 |
No Release Notes |
I have automatically backported this PR to "31-x-y", please check out #42272 |
I have automatically backported this PR to "29-x-y", please check out #42273 |
I have automatically backported this PR to "30-x-y", please check out #42274 |
Description of Change
We encountered an issue on Windows, the notification won't popup when use web notification.
After our investigation. We found that when the URL exceeds a certain length, it will not popup the notification.
And it was caused by this change: #40242
In fact, the length of notification_id() will be affected by url, NotificationOptions, etc.
My solution is to calculate the hash of the notification_id() value.
Closes #42233
Closes #40433
Release Notes
Notes: none.