From fa8354b133616963f64a310c02605afed6f40851 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Sun, 27 Apr 2025 22:04:14 +0200 Subject: [PATCH 1/3] feat: Changed favicon URLs to private-cdn.zen-browser.app, b=(no-bug), c=welcome --- src/zen/welcome/ZenWelcome.mjs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/zen/welcome/ZenWelcome.mjs b/src/zen/welcome/ZenWelcome.mjs index 5a7083eff..098b184ab 100644 --- a/src/zen/welcome/ZenWelcome.mjs +++ b/src/zen/welcome/ZenWelcome.mjs @@ -81,8 +81,8 @@ async function openInitialPinTab() { const tabs = [ - ['https://reddit.com/r/zen_browser', 'Zen on Reddit', 'https://zen-browser.github.io/static-cdn/reddit.png'], - ['https://x.com/zen_browser', 'Zen on Twitter', 'https://zen-browser.github.io/static-cdn/x.png'], + ['https://reddit.com/r/zen_browser', 'Zen on Reddit', 'https://private-cdn.zen-browser.app/reddit.png'], + ['https://x.com/zen_browser', 'Zen on Twitter', 'https://private-cdn.zen-browser.app/x.png'], ]; for (const site of tabs) { const tab = window.gBrowser.addTrustedTab(site[0], { @@ -374,47 +374,47 @@ - + - + - + - + - + - + - + - + - + From 9abc7f1a82a6e6b4b19650e7a2aa2713822d1934 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Sun, 27 Apr 2025 22:51:09 +0200 Subject: [PATCH 2/3] fix: Fixed sizing issues on compact mode with essentials, b=(closes #7897), c=compact-mode --- src/zen/compact-mode/zen-compact-mode.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zen/compact-mode/zen-compact-mode.css b/src/zen/compact-mode/zen-compact-mode.css index ed6ea1876..19da1e3f0 100644 --- a/src/zen/compact-mode/zen-compact-mode.css +++ b/src/zen/compact-mode/zen-compact-mode.css @@ -91,7 +91,7 @@ } } - &:not([zen-single-toolbar='true']) .zen-essentials-container { + &:not([zen-sidebar-expanded='true']) .zen-essentials-container { padding: 0; } From 21e0496d6fc16d2a3ba5677248ee9730191eb9d0 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Sun, 27 Apr 2025 22:51:25 +0200 Subject: [PATCH 3/3] fix: Fixed switching workspaces with containerized essentials, b=(no-bug), c=tabs, workspaces --- src/zen/tabs/zen-tabs/vertical-tabs.css | 1 - src/zen/workspaces/ZenWorkspaces.mjs | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/zen/tabs/zen-tabs/vertical-tabs.css b/src/zen/tabs/zen-tabs/vertical-tabs.css index a00bd3d0d..5e1edd0e1 100644 --- a/src/zen/tabs/zen-tabs/vertical-tabs.css +++ b/src/zen/tabs/zen-tabs/vertical-tabs.css @@ -1275,6 +1275,5 @@ &[hidden='true'] { visibility: hidden; pointer-events: none; - position: fixed; } } diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index 2e0882748..ff4cdaf8a 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -2052,7 +2052,10 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature { (w) => w.uuid === essentialsWorkspacess[essentialsWorkspacess.length - 1].uuid ); // Check if the container is even going to appear on the screen, to save on animation - if (firstWorkspaceIndex > newWorkspaceIndex || lastWorkspaceIndex < newWorkspaceIndex) { + if ( + (isGoingLeft && newWorkspaceIndex > lastWorkspaceIndex) || + (!isGoingLeft && newWorkspaceIndex < firstWorkspaceIndex) + ) { container.remove(); continue; }