-
Notifications
You must be signed in to change notification settings - Fork 597
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
Send a default action when notification is closed by user #3863
Send a default action when notification is closed by user #3863
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3863 +/- ##
=======================================
Coverage 91.02% 91.03%
=======================================
Files 901 901
Lines 57537 57540 +3
=======================================
+ Hits 52372 52380 +8
+ Misses 5165 5160 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Thanks! With this, looks like I can properly switching to the target channel, at least on on Slack & Telegram. Yet I am not sure if we should include the feature (which is given here) directly into WM or leave it out. |
I tested different notifications and applications from my side:
So it seems to work.
It needs more work to handle edge case I think. In any case, it should be documented somewhere if people like to jump to the right client when clicking a notification. |
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 👌😺
FYI this PR fix #3182 but it's not a perfect solution as it send a default action for all notification dismissed by a user. So if I have a notification with two actions (default, action 1, action 2), and I click on the second action, it will send:
I'll make another PR with a proper fix. |
Really fix #3182