Closed Bug 1817951 Opened 3 years ago Closed 3 years ago

Add allowed_spaces manifest property to browser_action

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement

Tracking

(thunderbird113 fixed)

RESOLVED FIXED
113 Branch
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: nobody → martin
Status: NEW → ASSIGNED
Target Milestone: --- → 113 Branch
Keywords: leave-open

Pushed by elizabeth@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/e68158f90a23
Add allowed_spaces manifest property. r=john.bieling

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

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: