in-app notifications: Load notifications from dynamic URL
Categories
(Thunderbird :: General, task)
Tracking
(thunderbird_esr128 fixed, thunderbird134 fixed, thunderbird135 fixed)
People
(Reporter: tobyp, Assigned: freaktechnik)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-beta+
|
Details | Review |
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
| Reporter | ||
Comment 1•1 year ago
|
||
Without this approach, l10n will become difficult to maintain and the one file will become bloated very quickly.
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
We'll also have to invalidate our cache on locale change then.
| Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ed6a62bf1365
Use URL formatting for in app notifications update URL. r=arschmitz
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
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.
Comment 6•1 year ago
|
||
Comment on attachment 9439469 [details]
Bug 1932019 - Use URL formatting for in app notifications update URL. r=arschmitz
[Triage Comment]
Approved for beta
Comment 7•1 year ago
|
||
| bugherder uplift | ||
Thunderbird 134.0b1:
https://hg.mozilla.org/releases/comm-beta/rev/11beba47a50c
| Assignee | ||
Comment 8•1 year ago
|
||
Uplifted to ESR in bug 1936307
Description
•