Filter in-app notifications based on their criteria
Categories
(Thunderbird :: General, task)
Tracking
(thunderbird128 fixed, thunderbird129 fixed)
People
(Reporter: freaktechnik, Assigned: freaktechnik)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-beta+
|
Details | Review |
The in-app notifications returned by the server have a section of conditions for clients the notification should be shown in. The current implementation already uses the start/end dates provided, but all other conditions are currently not used. getNotifications
should only return notifications that are to be shown in the current client.
There is a random field to only target a percentage of the user population. This should probably roll and then save the result per notification, so we don't show every notification if you just try often enough.
The other conditions should be fairly straight forward to handle with AppConstants.sys.mjs
(& friends) and some array methods.
Assignee | ||
Comment 1•7 months ago
|
||
Updated•7 months ago
|
Assignee | ||
Updated•7 months ago
|
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/651c2f89f31e
Add notification filtering for in-app notifications. r=aleca
Assignee | ||
Comment 3•7 months ago
|
||
Comment on attachment 9408008 [details]
Bug 1898492 - Add notification filtering for in-app notifications. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: (feature wanted in a point release)
Testing completed (on c-c, etc.): Fully covered by automated tests.
Risk to taking this patch (and alternatives if risky): Low risk, feature completely disabled.
Comment 4•7 months ago
|
||
Comment on attachment 9408008 [details]
Bug 1898492 - Add notification filtering for in-app notifications. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Comment 5•7 months ago
|
||
bugherder uplift |
Thunderbird 128.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/a92c1b782e4f
Description
•