Display extension (browser_)actions in unified toolbar
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Tracking
(thunderbird111 wontfix, thunderbird112 fixed)
People
(Reporter: freaktechnik, Assigned: freaktechnik)
References
Details
(Whiteboard: [Supernova3p])
Attachments
(1 file)
The unified toolbar is replacing the mail tab toolbar. As such, we need to add extension browser actions (or just actions in mv3) to the unified toolbar. The benefit of this is that we can offer easy access to other tabs, since the unified toolbar is always visible in the main window.
As a first step, this restores the extension buttons in the unified toolbar. The following features are tackled in this task:
- Add button to the end of the toolbar, in both the default state and the current state of the mail space
- Show the extension provided icon on the button (depends on tab)
- Show the extension provided label (depends on tab)
- Set the extension provided title (depends on tab)
- Show the extension provided badge (depends on tab)
- Execute the click handling when the button is clicked (show popup/fire onClicked)
- Remove the button when the extension is uninstalled
- Gracefully handle the extension being disabled
All this while preserving the functionality in the message viewer window, where the mail toolbar still exists.
We will not support adding buttons to the tab bar anymore, however.
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/05b89a2c6573
Initial unified toolbar extension action integration. r=aleca
Comment 3•3 years ago
|
||
Martin, do you want this on beta 111 and the three bugs fixed thus far, or let them all ride the train to 112?
| Assignee | ||
Comment 4•3 years ago
|
||
I would suggest letting this ride the train for now. I doesn't quite behave right (see bug 1819317) yet, which I think just makes it less well suited to be uplifted to beta.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•