mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-20 22:35:39 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user