Closed Bug 1932019 Opened 1 year ago Closed 1 year ago

in-app notifications: Load notifications from dynamic URL

Categories

(Thunderbird :: General, task)

task

Tracking

(thunderbird_esr128 fixed, thunderbird134 fixed, thunderbird135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
thunderbird_esr128 --- fixed
thunderbird134 --- fixed
thunderbird135 --- fixed

People

(Reporter: tobyp, Assigned: freaktechnik)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If the URL contains placeholder %VARS% such as %LOCALE%, those should be replaced with values from client and the notifications should be fetched from the constructed URL

Here's an example:
https://notifications.thunderbird.net/%LOCALE%/notifications.json

Without this approach, l10n will become difficult to maintain and the one file will become bloated very quickly.

Summary: Load notifications from dynamic URL → in-app notifications: Load notifications from dynamic URL

We'll also have to invalidate our cache on locale change then.

Assignee: nobody → martin
Status: NEW → ASSIGNED

Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ed6a62bf1365
Use URL formatting for in app notifications update URL. r=arschmitz

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Comment on attachment 9439469 [details]
Bug 1932019 - Use URL formatting for in app notifications update URL. r=arschmitz

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: At the moment, none.
Testing completed (on c-c, etc.): Automated tests
Risk to taking this patch (and alternatives if risky): Low risk, adds well established url formatting step to the update url for in-app notifications. Worst case updating would be broken for them.

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

Comment on attachment 9439469 [details]
Bug 1932019 - Use URL formatting for in app notifications update URL. r=arschmitz

[Triage Comment]
Approved for beta

Attachment #9439469 - Flags: approval-comm-beta? → approval-comm-beta+
Blocks: 1934268

Uplifted to ESR in bug 1936307

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: