Add allowed_spaces manifest property to browser_action
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(thunderbird113 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird113 | --- | fixed |
People
(Reporter: freaktechnik, Assigned: freaktechnik)
References
Details
Attachments
(2 files)
With the unified toolbar, we can allow extension actions to chose what built in spaces they're available in. We should offer the options to be in all spaces or to be only in specific spaces. By default, we should only add extension actions to the mail space, since that's where they were previously available.
The property should be an array of strings, which if left empty signifies the extension wants to be in all spaces. The allowed strings should be the names of the built in spaces (mail etc.)
The button is then available for the given spaces and added into the default set for those.
| Assignee | ||
Comment 1•3 years ago
|
||
Depends on D171481
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
Pushed by elizabeth@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/e68158f90a23
Add allowed_spaces manifest property. r=john.bieling
Updated•3 years ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/92a1847057b6
Add test to verify action buttons are removed from no longer allowed spaces. r=freaktechnik
Description
•