Skip to content

Bug 2076116 - Add tab group actions to the Firefox View open tabs menu - #371

Closed
vmnit wants to merge 1 commit into
mozilla-firefox:mainfrom
vmnit:bug-2076116-fxview-tab-groups
Closed

vmnit wants to merge 1 commit into
mozilla-firefox:mainfrom
vmnit:bug-2076116-fxview-tab-groups

Conversation

@vmnit

@vmnit vmnit commented Sep 28, 2026 •

Copy link
Copy Markdown

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=2076116

The Firefox View open tabs menu now offers the same tab group actions as the tab strip: add a tab to a new group, add it to an existing open or closed group, and remove it from its group.

The group policy, the actions and the chicklet colors are shared through the new TabGroupMenu.sys.mjs and tab-group-colors.css, so the tab strip, the all tabs panel and Firefox View use one implementation instead of three copies.

Closed groups are listed inside the same submenu rather than a nested one, because a panel-list nested two levels deep resolves its owning panel to the outermost list.

Tests: browser_opentabs_firefoxview.js covers the new items, including the groups-disabled case. Also verified against browser_tab_groups_tabContextMenu.js, browser_tab_groups.js, browser_tab_groups_telemetry.js, browser_tab_manager_groups.js and browser_tab_group_menu.js.

One intentional pixel change: with browser.nova.enabled, Firefox View now draws the gray chicklet in the same color as the tab strip.

Made with Cursor


Lando: link
Bugzilla: bug 2076116

⚠️ This pull request has 3 warnings.
🚫 This pull request has 1 blocker.

The open tabs menu can now add a tab to a new group, to an existing open
or closed group, and remove it from its group, matching the tab strip.

The group policy, actions and chicklet colors are extracted into
TabGroupMenu.sys.mjs and tab-group-colors.css so the tab strip, the all
tabs panel and Firefox View share one implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@firefoxci-taskcluster

Copy link
Copy Markdown
No Taskcluster jobs started for this pull request

The allowPullRequests configuration for this repository (in .taskcluster.yml on the default branch) does not allow starting tasks for this pull request.

@github-actions

Copy link
Copy Markdown
Contributor

(Automated Close) Please do not file pull requests here, see https://firefox-source-docs.mozilla.org/contributing/how_to_submit_a_patch.html

@github-actions github-actions Bot closed this Sep 28, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant