OverflowableToolbar should be able to put overflowable WebExtension browser_actions into the Unified WebExtensions panel.
Categories
(Firefox :: Toolbars and Customization, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(3 files)
As part of the grander Unified WebExtensions project, we need to make it (when Unified WebExtensions is enabled) such that if a WebExtension browser_action toolbar button is overflowed, it goes into the dedicated Unified WebExtensions panel rather than the traditional overflow panel.
And when the toolbar underflows, it needs to draw from those two separate panels in the same order that the items were inserted in.
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
This patch makes it so that OverflowableToolbar.#moveItemsBackToTheirOrigin
is not coupled to the existing overflowed item list, and instead takes
advantage of the insert-order provided when calling #overflowedInfo.entries()
and queries the DOM for the overflowed item IDs directly.
A later patch in this series is going to conditionally move overflowed
items into different panels based on whether or not they're provided
by WebExtensions, and so this change means that #moveItemsBackToTheirOrigin
is not going to care which panel the overflowed items are in, it should
behave the same.
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D160292
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D160293
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Backed out 3 changesets (Bug 1797155) for causing bc failures on browser_unified_extensions_overflowable_toolbar.js.
Backout link
Push with failures <--> bc1
Failure Log
| Assignee | ||
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Backed out for causing failures at browser_unified_extensions_overflowable_toolbar.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/4ca47ed4eeac7cec1f25920964bb6a8066dac69e
Failure log: https://treeherder.mozilla.org/logviewer?job_id=395128428&repo=autoland&lineNumber=5987
| Assignee | ||
Comment 8•3 years ago
|
||
Sorry about that. :/ Doing a broader-range try push now with something that (I think) should address it.
https://treeherder.mozilla.org/jobs?repo=try&revision=c1a6e85bab4891558d65567b67eb2f94886d12a3
Comment 10•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f6168d45dde0
https://hg.mozilla.org/mozilla-central/rev/ddbd0486fb24
https://hg.mozilla.org/mozilla-central/rev/ff538b4eebc9
Description
•