Implement Extension button context menu (formerly "submenu")
Categories
(WebExtensions :: General, enhancement, P2)
Tracking
(firefox105 fixed)
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | fixed |
People
(Reporter: zombie, Assigned: willdurand)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(4 files, 1 obsolete file)
Clicking the submenu button replaces the panel
- submenu has same items as right-click menu on the browser action
- except that [Pin to Overflow] is [Pin to toolbar]
- and items unrelated to extensions like [Menu bar] or [Customize]
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
(In reply to Tomislav Jovanovic :zombie from comment #0)
Clicking the submenu button replaces the panel
- submenu has same items as right-click menu on the browser action
- except that [Pin to Overflow] is [Pin to toolbar]
- and items unrelated to extensions like [Menu bar] or [Customize]
We are going to implement this without a submenu/subview. Instead, we'll use a context menu that we can open using the "gear" icon.
| Assignee | ||
Comment 3•3 years ago
|
||
While working on this bug, I noticed a problem with the context menu disappearing (in part) behind the panel. Looks like it's a known bug.
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
I am going to submit multiple patches to ease with the reviews. Here is how I plan to fix this bug (roughly):
- add a new context menu for extensions in the unified extensions panel. It should be attached on the "cog"/"gear" button
- add extension actions to the context menu introduced in (1)
- add primary button support to open the context menu
The last piece would be:
except that [Pin to Overflow] is [Pin to toolbar]
which I am probably going to defer into a different bug as it kinda depends on Bug 1777489.
| Assignee | ||
Comment 6•3 years ago
|
||
I only added two test cases to cover the integration between the new
context menu and the existing logic for the actions/origin controls
(both have their own tests).
Depends on D152665
| Assignee | ||
Comment 7•3 years ago
|
||
Depends on D152755
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 8•3 years ago
|
||
Depends on D152853
Comment 10•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/920759291618
https://hg.mozilla.org/mozilla-central/rev/9e6bb708b6c0
https://hg.mozilla.org/mozilla-central/rev/baf27e2f44d6
| Assignee | ||
Comment 11•3 years ago
|
||
Oops, I forgot to add the leave-open keyword. I have one more patch to attach to this bug so I am going to change the status again. Sorry for the noise!
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
| bugherder | ||
Description
•