-
Notifications
You must be signed in to change notification settings - Fork 3.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
feat: generalize receiver logic in notifications #24725
feat: generalize receiver logic in notifications #24725
Conversation
f14ccab
to
8fd9550
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #24725 +/- ##
===========================================
- Coverage 62.05% 61.96% -0.09%
===========================================
Files 801 787 -14
Lines 77104 75230 -1874
Branches 6465 6430 -35
===========================================
- Hits 47847 46619 -1228
+ Misses 25510 24909 -601
+ Partials 3747 3702 -45
Flags with carried forward coverage won't be shown. Click here to find out more. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing. |
@ankush / @NagariaHussain Is that something that could be of interest in upstream? I needed this for Matrix integration, but it's entirely possible that this is useful for Raven Chat, too. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing. |
In our deployment, this PR works together with frappe/erpnext#39638 |
@ankush since this is now "soft blocking" frappe/erpnext#39638 could you maybe help or help to find help with this? That would be much appreciated. 😄 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing. |
ping |
@ankush this continues to soft-block frappe/erpnext#39638 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing. |
@ankush @akhilnarang can you please reopen and remove the stale bot? |
@akhilnarang Thank you! Would you mind giving it a review, too? 😄 I already tended to @barredterra 's feedback above. |
I can't capture a screenshot, because the drop down doesn't persist when triggering a capture :-/ But now you can select |
57624ee
to
3b80b2e
Compare
This is now really battle tested since ~6 months in production and it's doing critical service every day. |
ping |
Kindly help move this PR forward. Many thanks from Yours Sincerely! |
@akhilnarang Can you please review this? 😅 Let's either review-merge this or close with reason if we can't. |
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.
Seems fine mostly, will test it out a bit morelocally
@akhilnarang I attended all your feedback accordingly, thanks for the review! |
Kindly help move this PR forward. Many thanks from Yours Sincerely! |
Kindly help move this PR forward. Many thanks from Yours Sincerely! |
@blaggacao could you rebase this PR, seems like there's a conflict now. |
75dcf88
to
7c1abdf
Compare
@akhilnarang alright, thanks for the pointer! Should be good now. |
Kindly help move this PR forward. Many thanks from Yours Sincerely! |
@blaggacao just run |
@akhilnarang done 🤦 |
towards: #23700
Context
Prior to this PR, the receiver logic was complicated but not generalized resulting in significant
code duplication as soon as anoter channel had been implemented (e.g. Matrix Chat).
However, the principled logic of discovering receivers is generally the same:
Proposed Solution
options == Mobile
and (for backward compat)options == Phone
interchangeablyRisk / Reward
no-docs