Commit Graph

64 Commits

Author SHA1 Message Date
mr. M
056de6fc13 Hide toolbar buttons and workspace indicator in specific conditions 2024-11-10 18:04:47 +01:00
mr. M
dc4f8c6c98 Hide workspace indicator icon when no icon is present 2024-11-10 17:50:49 +01:00
mr. M
f923078445 Fixed expand on hover sidebar 2024-11-10 17:30:27 +01:00
mr. M
7a91ea7107 (feat) Enable swipe actions for workspace navigation 2024-11-09 18:52:22 +01:00
Kristijan Ribarić
14b8a1d8a2 (refactor) Remove debug logging
Removed a debug `console.log` statement that was used
during swipe gesture implementation.  This is no
longer needed.
2024-11-09 17:20:04 +01:00
Kristijan Ribarić
7ab07c69aa Add workspace navigation via mouse back/forward buttons
Adds the ability to navigate workspaces using the mouse
back/forward buttons when hovering over the sidebar.  This
improves the user experience by providing a more intuitive
way to switch between workspaces.

This feature is only enabled when workspaces are enabled.
It intercepts the "AppCommand" events to handle back/forward
navigation.
2024-11-09 17:18:01 +01:00
Kristijan Ribarić
84de31e85b (feat) Implement workspace switching via swipe gestures
This commit implements workspace switching using swipe gestures on the
navigator toolbox and tab bar. It introduces new event listeners for
`MozSwipeGesture*` events to detect and handle horizontal swipes.

The logic determines the swipe direction and switches to the next or
previous workspace accordingly, taking RTL layout into account.  The
implementation uses a state object to track the gesture progress and
prevent unintended workspace switches.
2024-11-09 16:21:46 +01:00
mr. M
31cc0ce7a8 feat: Add swipe gesture support for workspace navigation 2024-11-09 13:50:03 +01:00
mr. M
d7a48bd855 refactor: Remove redundant tab refresh during initialization and streamline workspace startup process 2024-11-08 20:07:02 +01:00
mr. M
f093228f71 feat: Update new tab button preferences and improve workspace indicator styles 2024-11-08 19:34:51 +01:00
mr. M
d05e849299 Fixed not updating workspace name in sidebar when saving 2024-11-05 20:53:22 +01:00
mr. M
ca2dd38f9b Add current workspace indicator and update styles in zen workspaces 2024-11-05 00:38:13 +01:00
mr. M
649d82425a Added zen essentials! 2024-11-04 19:34:32 +01:00
mr. M
ec65a69496 Translated files to a single monorepo 2024-11-04 17:37:02 +01:00