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•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 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•2 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•2 years ago
|
||
Assignee | ||
Comment 5•2 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•2 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•2 years ago
|
||
Depends on D152755
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Depends on D152853
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/920759291618 Part 1 - Add a new context menu for extensions in the unified extensions panel. r=mixedpuppy,desktop-theme-reviewers https://hg.mozilla.org/integration/autoland/rev/9e6bb708b6c0 Part 2 - Add origin controls to the unified extensions context menu. r=rpl https://hg.mozilla.org/integration/autoland/rev/baf27e2f44d6 Part 3 - Open context menu when clicking the menu button. r=mixedpuppy
Comment 10•2 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•2 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•2 years ago
|
Comment 12•2 years ago
|
||
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ab1acf1b981 Part 4 - Add extension actions to the unified extensions context menu. r=rpl
Comment 13•2 years ago
|
||
bugherder |
Description
•