Commit Graph

4287 Commits

Author SHA1 Message Date
mr. m
578c28df92 feat: Allow tabs to have custom icons and other cleanups, p=#11697
* feat: Allow tabs to have custom icons and other cleanups, b=closes #11686, closees https://github.com/zen-browser/desktop/issues/9972, closes https://github.com/zen-browser/desktop/issues/9251, c=folders, workspaces, tabs, common


* chore: Lint, b=no-bug, c=tabs
2025-12-22 20:26:44 +01:00
mr. m
d93c46fe20 feat: Full cross-window workspace syncing, p=#10034
* feat: Full cross-window workspace syncing, b=no-bug, c=workspaces

* feat: Also change icons and labels if the tab is pending, b=no-bug, c=tabs, workspaces

* feat: Dont session duplicate the tabs, b=no-bug, c=workspaces

* feat: Properly handle tab moves, b=no-bug, c=workspaces

* feat: Start on new session restore, b=no-bug, c=no-component

* Discard changes to prefs/browser.yaml

* feat: Start doing out own session restore, b=no-bug, c=folders, tabs

* feat: Stop using pinned manager and use zen session sidebar, b=no-bug, c=common, folders, tabs, workspaces

* feat: Dont restore windows that are already initialized, b=no-bug, c=no-component

* chore: Update patches to ff 145, b=no-bug, c=no-component

* Discard changes to src/browser/components/sessionstore/SessionStore-sys-mjs.patch

* Discard changes to src/browser/components/tabbrowser/content/tab-js.patch

* Discard changes to src/browser/components/tabbrowser/content/tabbrowser-js.patch

* Discard changes to src/zen/tabs/ZenPinnedTabsStorage.mjs

* feat: Run session saver before opening a new winodw, b=no-bug, c=tabs

* feat: Clone the previous state, b=no-bug, c=no-component

* feat: Move window sync to its own JS module, b=no-bug, c=workspaces

* feat: Run session saver before opening a new window, b=no-bug, c=no-component

* feat: Full cross-window workspace syncing, b=no-bug, c=workspaces

* feat: Also change icons and labels if the tab is pending, b=no-bug, c=tabs, workspaces

* feat: Dont session duplicate the tabs, b=no-bug, c=workspaces

* feat: Start on new session restore, b=no-bug, c=no-component

* feat: Properly handle tab moves, b=no-bug, c=workspaces

* Discard changes to prefs/browser.yaml

* feat: Start doing out own session restore, b=no-bug, c=folders, tabs

* feat: Stop using pinned manager and use zen session sidebar, b=no-bug, c=common, folders, tabs, workspaces

* feat: Dont restore windows that are already initialized, b=no-bug, c=no-component

* chore: Update patches to ff 145, b=no-bug, c=no-component

* Discard changes to src/browser/components/sessionstore/SessionStore-sys-mjs.patch

* Discard changes to src/browser/components/tabbrowser/content/tab-js.patch

* Discard changes to src/browser/components/tabbrowser/content/tabbrowser-js.patch

* Discard changes to src/zen/tabs/ZenPinnedTabsStorage.mjs

* feat: Run session saver before opening a new winodw, b=no-bug, c=tabs

* feat: Clone the previous state, b=no-bug, c=no-component

* feat: Move window sync to its own JS module, b=no-bug, c=workspaces

* feat: Run session saver before opening a new window, b=no-bug, c=no-component

* feat: Start making use of IDs instead of sync identifiers, b=no-bug, c=folders

* feat: Listen to new tab opens for new sync system, b=no-bug, c=common, folders, tabs

* feat: Listen for more tab events and properly sync them, b=no-bug, c=common, folders, tabs

* feat: Start moving browser views to the selected windows, b=no-bug, c=no-component

* chore: Remove extra patch, b=no-bug, c=no-component

* feat: Leave a screenshot of the page behind when switching windows or tabs, b=no-bug, c=common

* feat: Run session saves right before writing and quiting, b=no-bug, c=common

* fix: Fixed going back to a different window not allowing to type on inputs, b=no-bug, c=no-component

* feat: Start syncing folders as well, b=no-bug, c=folders

* Discard changes to src/browser/components/tabbrowser/content/tab-js.patch

* chore: Update patches to ff 146, b=no-bug, c=no-component

* feat: Early support for unsynced windoiws, b=no-bug, c=workspaces

* fix: Move back active views when closing a window, b=no-bug, c=no-component

* feat: Stop rendering sub-layers when swaping browsers, b=no-bug, c=common

* feat: Improved support for unsynced windows support, b=no-bug, c=workspaces, folders

* feat: Implemented 'Move To...' Button for unsynced windows, b=no-bug, c=workspaces, common

* feat: Make sure to properly flush all windows when making a new one and fix removing progress listeners, b=no-bug, c=workspaces

* feat: Make sure to not lose any tabs when opening from a private window, b=no-bug, c=workspaces

* feat: Allow unload to run instantly and fix closing windows on mac, b=no-bug, c=no-component

* feat: Make sure to always initialize an empty state with the sidebar object, b=no-bug, c=workspaces

* chore: Small fixes and QA checks, b=no-bug, c=tabs, workspaces

* fix: Fixed tab labels not changing on unfocused windows, b=no-bug, c=no-component

* feat: Fixed closing windows on macos not returning to the original views, b=no-bug, c=no-component

* chore: Turn off debug flags by default, b=no-bug, c=no-component

* feat: Start implementing old pinned tab behaviour we used to have, b=no-bug, c=common, tabs

* feat: Unsynced windows should always be allowed to change labels, b=no-bug, c=welcome

* feat: Make sure we wait long enough before we initialize workspaces, b=no-bug, c=workspaces

* feat: Dont mix remoteness when changing browser views and restore window spaces, b=no-bug, c=common, folders, workspaces

* test: Fixed tests for the pinned tabs manager, b=no-bug, c=tabs, folders, tests, welcome

* feat: Added partial support for split views, b=no-bug, c=split-view

* chore: Finished basic support for split views, b=no-bug, c=folders, split-view

* feat: Always make sure to save the last closed window to the sidebar object, b=no-bug, c=no-component

* feat: Implement workspace sync store into the session file, b=closes #10857, c=common, tabs, tests, workspaces

* feat: Add a default value for the workspace cache, b=no-bug, c=workspaces

* fix: Default assign an array instead of an object to the workspaces cache, b=no-bug, c=workspaces

* feat: Take into consideration win data may not have allocated spaces, b=no-bug, c=workspaces

* feat: Always make sure we are assigning the correct space ID, b=no-bug, c=workspaces

* feat: Make sure to initialize windows even if there are no tabs, b=no-bug, c=no-component

---------

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
2025-12-22 11:12:52 +01:00
mr. m
53d223b9c5 fix: Fixed always recalculating split view leafs on location changes, b=no-bug, c=split-view 2025-12-20 13:05:44 +01:00
mr. m
cf4c754e57 fix: Fixed split view splitters showing up when opening glance, b=closes #11641, c=split-view 2025-12-20 00:26:03 +01:00
mr. m
3e5c355543 fix: Fixed hyperlinks being removed at startup, b=closes #11639, c=tabs, workspaces 2025-12-20 00:18:41 +01:00
mr. m
59072ee932 fix: Fixed new split command not working correctly, b=closes #11637, c=split-view 2025-12-19 23:46:40 +01:00
mr. m
36a95ad57c chore: Sync upstream Firefox to version 146.0.1, p=#11658
* chore: Sync upstream to `Firefox 146.0.1`

* Update candidate version to 146.0.1

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>

* Update Twilight version to RC 146.0.1

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>

* feat: Reduce the animation duration for glance, b=no-bug, c=glance

---------

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
2025-12-19 13:43:18 +01:00
mr. m
4baca9cfc9 fix: Fixed addons manager opening when all addons are pinned, p=#11635, c=no-component 2025-12-16 15:45:33 +01:00
mr. m
0ae7c19c30 test: Import some mochitests from firefox, p=#10897
* test: Import some mochitests from firefox, b=no-bug, c=tests, scripts, tabs

* feat: Added lint rules to ignore mochi tests, b=no-bug, c=tests

* chore: Finish importing tests, b=no-bug, c=workflows, tests, scripts, tabs
2025-12-15 12:09:42 +01:00
Blake Gearin
e525b32c18 feat: Enable original extensions panel on hide-unified-extensions-button: false, p=#11335
* feat: Enable original extensions panel on hide-unified-extensions-button: false

* Update to fix prettier issues

* Add site-data attribute for CSS usage

* Update to set gUnifiedExtensions._panel

* Update to fix prettier issues

* Set default panel on onToolbarVisibilityChange

* Update panel initialization

* Remove extra char

* Restore unified-extensions-panel-template deletion

* Reduce reimplementation

* Update patch against Firefox 145.0.2

* Fix conflict

* Add panelUIPosition case

* Fix lint

* feat: Improve and reduce patch sizes, b=no-bug, c=common

---------

Signed-off-by: Blake Gearin <hello@blakeg.me>
Co-authored-by: mr. m <mr.m@tuta.com>
2025-12-15 11:19:03 +01:00
salmonumbrella
fb9bbc3a51 feat(downloads): add pref to control download popup position independently, p=#11607
* feat(downloads): add pref to control download popup position independently

Add `zen.downloads.icon-popup-position` preference that allows users to
control the download popup/indicator position independently from the
vertical tabs position.

Valid values:
- "follow-tabs" (default): popup appears on same side as vertical tabs
- "left": popup always appears on the left
- "right": popup always appears on the right

This is useful for users who have vertical tabs on the right but prefer
the download indicator to appear on the left side of the screen.

* feat: Convert pref to integers, b=no-bug, c=no-component

---------

Co-authored-by: salmonumbrella <salmonumbrella@users.noreply.github.com>
Co-authored-by: mr. m <mr.m@tuta.com>
2025-12-14 01:08:13 +01:00
mr. m
f1c6c1b321 fix: Fixed missing space between update and media player, b=closes #11592, c=scripts, common, tabs, workspaces 2025-12-12 19:54:15 +01:00
mr. m
bcf4c4d1a3 feat: Revert not modifying the opacity for windows and linux, b=no-bug, c=workspaces 2025-12-10 18:12:17 +01:00
mr. m
e4c36574b9 feat: Fixed coloring issue for urlbar and use lazy getters for gradient generator, b=no-bug, c=common, workspaces 2025-12-10 00:47:01 +01:00
mr. m
cd4d2e4f53 fix: Fixed regression on tab label aligment, b=no-bug, c=tabs 2025-12-09 14:25:24 +01:00
mr. m
9caf32de38 feat: Lower the size for essential tabs, b=no-bug, c=tabs 2025-12-09 01:12:11 +01:00
mr. m
43de5c69e9 fix: Fixed minor aligment and coloring issues, b=no-bug, c=tabs, workspaces 2025-12-08 18:06:58 +01:00
mr. m
85d52d15c2 fix: Fixed incorrect dot possition and scaling, b=no-bug, c=common, workspaces 2025-12-08 01:40:53 +01:00
mr. m
832b0c4fe3 feat: Increase the space of grid for devices that dont support sub-pixel rendering, b=no-bug, c=workspaces 2025-12-07 19:02:14 +01:00
mr. m
57ee00bf3e feat: Add black / white color shades options for gradients, b=no-bug, c=common, workspaces 2025-12-07 18:05:30 +01:00
Mr. M
53181ea34c chore: Import windows titlebar calculation for RC build 2, b=no-bug, c=no-component 2025-12-07 00:25:24 +01:00
mr. m
fa6bb8d27f chore: Sync upstream Firefox to version 146.0, p=#11519 2025-12-03 16:26:18 +01:00
Mr. M
a1774ee426 feat: Preload compact mode and other UI components, b=no-bug, c=common 2025-11-30 21:28:14 +01:00
Mr. M
2b0d509230 fix: Fixed windows titlebar not initializing correctly, b=closes #11479, closes #11475, closes #11470 and closes #11471, c=compact-mode 2025-11-30 14:36:22 +01:00
mr. m
d4f1916382 fix: Fixed pinned tabs wrongly restoring on macos, making it crash, b=closes #11416, c=no-component 2025-11-29 00:37:43 +01:00
mr. m
706505cc50 chore: Fix patch corruption for FF 147 Windows border fix, b=no-bug, c=no-component 2025-11-28 12:36:40 +01:00
mr. m
445baecb56 chore: Apply patches to fix double click on the sidebar, p=#11456 2025-11-27 18:59:08 +01:00
mr. m
833caf2f81 fix: Fixed crash on macos when quiting and glance opening a new window, b=bug #11416 and bug https://github.com/zen-browser/desktop/issues/11409, c=common, compact-mode, glance, tabs, workspaces 2025-11-27 16:44:02 +01:00
mr. m
8d12ade0bf fix: prevent new window when shift-clicking links in split view glance, b=closes https://github.com/zen-browser/desktop/issues/11409, p=#11424
Co-authored-by: Nihal <121309701+nihalxkumar@users.noreply.github.com>
2025-11-25 17:55:05 +01:00
mr. m
d110dcaa35 feat: Remove legacy pref checking for gradient themes, b=bug #11375, c=common, workspaces 2025-11-24 22:49:50 +01:00
mr. m
e500e04418 fix: Fixed keyboard shortcuts not saving correctly, b=no-bug, c=kbs 2025-11-24 13:05:23 +01:00
mr. m
886b559b50 fix: Don't add folder indents to glance tabs, b=no-bug, c=tabs 2025-11-23 23:00:24 +01:00
mr. m
b2ea2d4420 fix: Fixed using the wrong window for glance dragging detection, b=no-bug, c=glance 2025-11-23 21:59:41 +01:00
Lukas Spiss
8612e0d1e9 fix: allow selection within link, b=closes https://github.com/zen-browser/desktop/issues/8391, p=#11394
* fix: allow selection within link

fixes: #8391

The glance feature was clashing with the possibility to select text within a link.
To avoid the conflict, glance will only open upon mouseup and only if the mouse hasn't moved since the mouse was pressed.

* remove redundant condition

* register listeners in correct place

* feat: Listen to mouse move only once, b=no-bug, c=common, glance

---------

Co-authored-by: mr. m <mr.m@tuta.com>
2025-11-23 12:58:07 +01:00
mr. m
7ab405a2c2 feat: Finish update sidebar notification, b=no-bug, c=common 2025-11-23 02:12:43 +01:00
mr. m
59641cb952 fix: Fixed KBS settings page, b=no-bug, c=kbs 2025-11-23 02:03:03 +01:00
mr. m
3761110604 fix: Fixed pinned tabs not updating sometimes, b=no-bug, c=tabs 2025-11-23 01:44:40 +01:00
mr. m
0e8b8da845 chore: Convert the codebase into modules, p=#11364
* chore: Convert the codebase into modules, b=no-bug, c=common, compact-mode, folders, fonts, glance, images, kbs, media, mods, split-view, tabs, tests, vendor, welcome, workspaces

* feat: Added update popup, b=no-bug, c=media, common
2025-11-20 18:14:46 +01:00
mr. m
3eb3875de9 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-11-19 19:14:50 +01:00
mr. m
4c5a3aeabb feat: Always show the separator if there are visible tabs, b=closes #11349, c=tabs, workspaces 2025-11-19 19:14:45 +01:00
Mr. M
34e1adddf9 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-11-19 14:47:44 +01:00
Mr. M
58f97c65e1 feat: Add preference for sidebar dragging, b=no-bug, c=common, workspaces 2025-11-19 14:47:41 +01:00
ramiro
4089dfa18b fix: Split view gap when in compact view and sidebar is on right, b=closes https://github.com/zen-browser/desktop/issues/11269, p=#11357 2025-11-19 12:30:15 +01:00
mr. m
b903a25092 chore: Revert "9f15a61727", p=#11353
This reverts commit 9f15a61727.
2025-11-19 01:59:46 +01:00
mr. m
9f15a61727 chore: Apply patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1993474, p=#11351 c=no-component 2025-11-18 21:02:58 +01:00
Mr. M
72dbe631ec chore: Fixed linter errors, b=no-bug, c=common 2025-11-18 20:45:17 +01:00
Mr. M
a8e5894c95 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-11-18 20:41:30 +01:00
Mr. M
e5509f607d fix: Fixed position for control center panel on double toolbar, b=no-bug, c=common 2025-11-18 20:40:55 +01:00
ramiro
dfbf4db57f fix: improve drag-and-drop behavior for tab folders, b=closes #11326, p=#11345
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
2025-11-18 20:24:19 +01:00
Mr. M
4361efb956 feat: Start using Firefox's split views to prevent memory leaks, b=no-bug, c=common, split-view 2025-11-18 20:16:51 +01:00