Commit Graph

64 Commits

Author SHA1 Message Date
mr. M
dcfebe6595 Fixed compact mode sidebar not closing when opening an extension dialog pinned to the sidebar 2025-01-02 13:31:23 +01:00
mr. M
5135d1167c Replace hardcoded homepage URL with BROWSER_NEW_TAB_URL in ZenWorkspaces (closes #3201) 2025-01-02 11:39:01 +01:00
mr. M
1d545c10c4 Refactor tab animations and update theme colors for improved UI consistency 2025-01-01 19:19:14 +01:00
mr. M
d352fab5cd Add ZenEmojies component and refactor emoji handling in ZenWorkspaces 2025-01-01 19:07:19 +01:00
mr. m
1bb95040ff Merge pull request #3963 from neurokitti/adds-search-to-icons 2025-01-01 18:55:50 +01:00
mr. m
c0d83be019 Merge pull request #4027 from neurokitti/fix-workspace-swaping-issues 2025-01-01 18:52:36 +01:00
mr. M
51bd1445a5 Fixed workspaces icons appearing on private mode once opening another window 2025-01-01 14:23:11 +01:00
Studio Movie Girl
da2f87660f Merge branch 'zen-browser:dev' into adds-search-to-icons 2024-12-29 03:15:42 -06:00
Bridget Morningstar
19be833058 fixed issue with icons not resetting
(I remembered the teachings of the cheff)
2024-12-29 03:11:06 -06:00
Bridget Morningstar
3c08e16ef2 removed a forgot console.log (mb) 2024-12-29 01:39:52 -06:00
Bridget Morningstar
d2b17fbc6d made the icons work with a seperate file 2024-12-29 01:34:36 -06:00
Bridget Morningstar
d9748cb69b fixed issue with mouse 4 / 5 buttons and added wrap pref to shortcuts fuction 2024-12-28 01:37:14 -06:00
Bridget Morningstar
842451c747 fixed small issue with returning the list 2024-12-27 16:41:06 -06:00
Bridget Morningstar
cbcb5cfdd6 fixed issues with css placement 2024-12-27 15:20:16 -06:00
mr. M
70c0fff557 Fixed having multiple windows displaying the wrong essentials at startup and worked on rices 2024-12-26 23:35:39 +01:00
Bridget Morningstar
9dfe3dcf79 Merge branch 'adds-search-to-icons' of https://github.com/neurokitti/desktop into adds-search-to-icons 2024-12-23 17:33:05 -06:00
Bridget Morningstar
ea05cf02b4 fixed issues with variable names and inline css 2024-12-23 17:31:14 -06:00
Studio Movie Girl
1b25275333 Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-23 15:02:58 -06:00
Studio Movie Girl
f90bc04b1a Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-23 15:01:11 -06:00
Studio Movie Girl
2a06601e3a Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-23 14:36:28 -06:00
Studio Movie Girl
bcb5e3950b Merge branch 'zen-browser:dev' into adds-search-to-icons 2024-12-23 14:30:11 -06:00
Bridget Morningstar
a2478e68c6 shit ton of stuff 2024-12-23 14:03:27 -06:00
mr. M
1e927834b3 Fixed tab context menu not working when changing tab to a different workspace (closes https://github.com/zen-browser/desktop/issues/2963) 2024-12-22 00:50:01 +01:00
mr. M
c489a0b7cc Fixed PGO builds not fully working 2024-12-21 13:32:03 +01:00
mr. M
29e7df3575 Refactor ZenPinnedTabsStorage initialization and improve workspace handling 2024-12-19 20:43:07 +01:00
Studio Movie Girl
3d0a4c9137 Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-19 08:32:33 -06:00
mr. M
6c67aee8a4 Fixed workspace indicator showing if workspaces are disabled 2024-12-17 19:08:01 +01:00
Studio Movie Girl
de24cbd70b Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-16 17:07:51 -06:00
Studio Movie Girl
dbdf154e42 Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-16 17:06:46 -06:00
Bridget Morningstar
82b1dbb01b a shit ton of stuff 2024-12-16 00:14:38 -06:00
mr. M
15ff4f12ac refactor: improve platform-specific button handling and streamline profile opening logic 2024-12-10 17:00:12 +01:00
mr. M
7e9153171a Fixed opening tab in a new container not changing the tab to the correct forced workspace 2024-12-08 11:39:42 +01:00
mr. m
f5fd5a22e9 Merge pull request #3289 from neurokitti/dev
Restricted scrolling beyond the first and last workspaces and fixed bug with Sidebar Switches Multiple Spaces Instead of One
2024-12-05 19:17:20 +01:00
mr. M
f6cbe1c4bc Prevent using single toolbar in popup windows and fixed one-offs UI 2024-12-05 18:35:38 +01:00
Studio Movie Girl
df801995ff Update ZenWorkspaces.mjs
Signed-off-by: Studio Movie Girl <168581144+neurokitti@users.noreply.github.com>
2024-12-05 10:20:29 -06:00
Bridget Morningstar
7112f77b7c fix
uses lazy getters
2024-12-03 21:48:13 -06:00
Bridget Morningstar
a869e7a3bd removed my spaces lol mb
asdf
2024-11-28 22:29:16 -06:00
Bridget Morningstar
90fe7d8e03 adds ability to scroll between workspaces as well as fixing the issue with trackpad 2024-11-28 22:19:25 -06:00
mr. m
c0da03cfe8 Merge pull request #3215 from kristijanribaric/feature/workspace-specific-bookmarks
Feature:  Workspace-specific bookmarks
2024-11-28 18:55:51 +01:00
mr. m
a02ae261cf Merge branch 'dev' into formatting
Signed-off-by: mr. m  <91018726+mr-cheff@users.noreply.github.com>
2024-11-28 18:52:43 +01:00
mr. M
f35cc90ea4 Enhance animations and sidebar panel styles for improved UI transitions 2024-11-28 18:29:22 +01:00
Vijay A
92de4022cb Remove trailing spaces 2024-11-28 07:34:29 +05:30
Kristijan Ribarić
c0df38c23d Fix: Rename _bookmarkWorkspaceCache to _workspaceBookmarksCache
Renames the internal cache variable `_bookmarkWorkspaceCache` to `_workspaceBookmarksCache` for consistency and clarity.  This change does not affect functionality.
2024-11-27 21:54:42 +01:00
Kristijan Ribarić
78d10b4c1b Added workspace selector on bookmarks create/edit modal, added table for storing relationships between workspaces and bookmarks. 2024-11-27 19:51:21 +01:00
Kristijan Ribarić
01c8032f20 Fix: Handle essential tabs and container-specific essentials
Refactor workspace switching logic to correctly handle
essential tabs and introduce container-specific essentials.

This change addresses issues with essential tabs not being
handled correctly during workspace switches.

The `changeWorkspace` function is refactored to improve
clarity and maintainability.  The logic for showing and
hiding tabs is streamlined, and tab selection is handled
more robustly.  A new `_shouldShowTab` function is
introduced to centralize the logic for determining tab
visibility based on workspace and container settings.  The
logic also handles pinned essential tabs in the different workspace types.

The pinned tab manager is updated to support container-
specific essentials and to refresh pinned tabs on workspace
changes.  The `_shouldShowPin` function is introduced to
manage visibility of pinned tabs in different workspaces
considering essential tabs, pinned tabs and containers.

This change also fixes a bug where the selected tab would
sometimes be changed unexpectedly when switching
workspaces.
2024-11-20 10:05:07 +01:00
mr. M
ec681b841e refactor: move sidebar height throttle and content element separation to ZenUIManager; streamline tab toolbar updates 2024-11-19 00:10:30 +01:00
mr. M
ec433fa852 fix: correct typo in essential tab attribute to prevent changing selected tab 2024-11-13 23:33:58 +01:00
mr. M
6185f421b8 fix: prevent changing selected tab for essential tabs and update version to 132.0.2 2024-11-13 23:23:49 +01:00
Kristijan Ribarić
bc45092e03 Added a pref to make essentials container specific, i.e. if a workspace has a container assigned to it, on that workspace only essentials opened in that container will be visible. 2024-11-12 10:44:12 +01:00
kristijanribaric
110279cf4c (feat) Add workspace switching by scrolling sidebar (#2828)
This commit adds the ability to switch workspaces by horizontally
scrolling the sidebar.  A scroll cooldown and threshold are
implemented to prevent accidental workspace changes.  The
`_setupHoverDetection` method is renamed to `_setupSidebarHandlers`
as it now handles both hover and scroll events.
2024-11-10 19:05:15 +01:00