Closed Bug 1898492 Opened 8 months ago Closed 7 months ago

Filter in-app notifications based on their criteria

Categories

(Thunderbird :: General, task)

Tracking

(thunderbird128 fixed, thunderbird129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird128 --- fixed
thunderbird129 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

Attachments

(1 file)

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: nobody → martin
Status: NEW → ASSIGNED
Target Milestone: --- → 129 Branch

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/651c2f89f31e
Add notification filtering for in-app notifications. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED

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.

Attachment #9408008 - Flags: approval-comm-beta?

Comment on attachment 9408008 [details]
Bug 1898492 - Add notification filtering for in-app notifications. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9408008 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: