feat: New drag and drop promo for essentials, p=#11891

* feat: New drag and drop promo for essentials, b=no-bug, c=tabs, common, split-view, workspaces

* feat: Finish impl, b=no-bug, c=common, compact-mode, glance, split-view, tabs, vendor

* feat: Add a pref to disable it, b=no-bug, c=tabs

* fix: Fix split views having wrong color, b=no-bug, c=split-view

* chore: Finish suggestions, b=no-bug, c=tabs
This commit is contained in:
mr. m
2026-01-14 01:31:45 +01:00
committed by GitHub
parent 2b4e46ce4e
commit 58a745ec2f
24 changed files with 215 additions and 85 deletions

View File

@@ -2954,15 +2954,6 @@ class nsZenWorkspaces {
return this.pinnedTabsContainer.children.length - 1;
}
get allWorkspaceTabs() {
const currentWorkspace = this.activeWorkspace;
return this.allStoredTabs.filter(
(tab) =>
tab.hasAttribute("zen-essential") ||
tab.getAttribute("zen-workspace-id") === currentWorkspace
);
}
reorganizeTabsAfterWelcome() {
const children = gBrowser.tabContainer.arrowScrollbox.children;
const remainingTabs = Array.from(children).filter((child) => gBrowser.isTab(child));