Commit Graph

1173 Commits

Author SHA1 Message Date
mr. m 🤙
8ecc8b2e74 Fix zen-browser/desktop/issues/2252 (#2807) (#2846)
Signed-off-by: Jai A P <jai.jap.318@gmail.com>
Co-authored-by: Jai A P <jai.jap.318@gmail.com>
2024-11-10 19:21:21 +01:00
mr. M
62d763e65a Fix: reduce minimum height of tabs to improve layout consistency 2024-11-10 19:20:36 +01:00
mr. M
d54a56e11b Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2024-11-10 19:13:34 +01:00
mr. M
73b24aa5ae Add floating style for glance tabs in essentials and adjust new tab button border styling 2024-11-10 19:13:30 +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
mr. M
47fdeada01 Fix enabled property check in ZenPinnedTabManager for improved reliability 2024-11-10 18:54:46 +01:00
mr. M
c3fc7d792e Refactor Zen tab management to improve performance and enable conditional functionality 2024-11-10 18:50:10 +01:00
mr. M
33ac29f269 Add zen-compact-mode-ignore class to sidebar button for improved styling in compact mode 2024-11-10 18:25:09 +01:00
mr. M
1c7c6b2a0f Enhance Zen animations and glance functionality with improved styles and closing behavior 2024-11-10 18:20:23 +01:00
mr. M
5ab9ee7c34 Remove support URL for FAQ in browser preferences 2024-11-10 18:05:27 +01:00
mr. M
056de6fc13 Hide toolbar buttons and workspace indicator in specific conditions 2024-11-10 18:04:47 +01:00
mr. M
ded9ee3251 Reduce opacity in vertical tabs and remove background styles in workspaces 2024-11-10 17:53:52 +01:00
mr. M
dc4f8c6c98 Hide workspace indicator icon when no icon is present 2024-11-10 17:50:49 +01:00
mr. M
282c3fab8c Fixed closing glance 2024-11-10 17:44:12 +01:00
mr. M
63a808b306 Refactor sidebar buttons: move profile button to sidebar icons and clean up toolbar structure 2024-11-10 17:34:40 +01:00
mr. M
ca7622027d Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2024-11-10 17:30:37 +01:00
mr. M
f923078445 Fixed expand on hover sidebar 2024-11-10 17:30:27 +01:00
mr. m 🤙
f81150ea31 Merge pull request #2823 from GunGunGun/patch-6
Support URL to FAQ - 2nd Try 🐷
2024-11-10 14:19:54 +01:00
Gun
0d057ab60b 🐷
🐷

Signed-off-by: Gun <6913739+GunGunGun@users.noreply.github.com>
2024-11-10 20:14:40 +07:00
mr. M
c5a7879c55 Fixed padding for workspace indicator on collapsed mode 2024-11-10 11:55:09 +01:00
mr. M
d24a9a2583 (style) Modify button active state to exclude workspace button 2024-11-09 19:42:54 +01:00
mr. M
6a7ce1639a (style) Update tab background colors for improved visibility 2024-11-09 19:40:41 +01:00
mr. M
e75f6f85e7 last minutes touches yes yes yes 2024-11-09 19:32:16 +01:00
mr. M
9d4a8702cb Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2024-11-09 18:56:20 +01:00
mr. M
7a91ea7107 (feat) Enable swipe actions for workspace navigation 2024-11-09 18:52:22 +01:00
Gun
2228f00c0a Support URL to FAQ
Support URL to FAQ

Signed-off-by: Gun <6913739+GunGunGun@users.noreply.github.com>
2024-11-10 00:02:24 +07: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
Gun
3a09999cca Fix spaghetti width of zen-profile-dialog.css
Fix spaghetti width of zen-profile-dialog.css

Signed-off-by: Gun <6913739+GunGunGun@users.noreply.github.com>
2024-11-09 16:55:30 +07:00
mr. M
cf1e468395 style: Adjust toolbar height calculation and update workspace button visibility 2024-11-08 23:56:22 +01:00
mr. M
871e529bf2 Fixed texture slider not working on twilight (closes https://github.com/zen-browser/desktop/issues/2711) 2024-11-08 23:49:13 +01:00
mr. M
5e9ccd440e style: Update padding for workspace indicator in zen-styles 2024-11-08 23:42:40 +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
d2746689f9 feat: Hide new tab button along with all tabs button in customizable UI 2024-11-08 19:55:13 +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
f3e054d15e feat: Enhance new tab button visibility and workspace indicator styles 2024-11-08 18:26:40 +01:00
mr. M
86a3ad4b1f fix: Improve event target checking for popup tracking elements 2024-11-08 18:17:40 +01:00
mr. M
aa5a768ef0 (feat) Add workspace indicator preference and update styles for improved UI 2024-11-08 18:13:05 +01:00
mr. m 🤙
b6cb37db43 Merge pull request #2716 from kristijanribaric/fix/migrate-pinned-tabs-to-updated-version
Fix: Migrate pinned tabs from older Zen versions
2024-11-08 17:58:01 +01:00
Tom
c3b902ae65 Update zen-decks.css to fix split view spacing
Fixes the focused split view tab outline being cut out horizontally when vertical tabs are expanded.

Makes the outline offset be -1px so that the split viewfocused tab outline overlays and hides the gray border which shouldn't be still seen when the tab has the focus outline.

Signed-off-by: Tom <71405826+Tomveloper@users.noreply.github.com>
2024-11-07 22:50:57 +02:00
Kristijan Ribarić
014602266b Correctly set the base pinned url and title for migrating from previous version. 2024-11-07 16:20:46 +01:00
Kristijan Ribarić
696a2148f0 (fix) Migrate pinned tabs from older Zen versions
If there are no pinned tabs in the database on startup,
assume it's a migration from an older version and save all
currently pinned tabs to the database.  Previously, Zen
would remove any pinned tabs that didn't have a `zen-pin-id`
attribute, which would occur during migration. This change
ensures that pinned tabs are preserved during upgrades.
2024-11-07 11:40:44 +01:00
mr. M
e086cf56fc Reorder default placements for toolbar buttons in ZenCustomizableUI and update patch for customizable UI 2024-11-06 20:36:03 +01:00
mr. M
6d5dcbe89f Adjust tab height calculations and improve icon state handling in ZenStartup and ZenPinnedTabManager 2024-11-06 20:31:20 +01:00
mr. M
638ec9c2ea Center align content in zen essentials container for improved layout consistency 2024-11-06 19:56:57 +01:00
mr. M
27c5119664 Refactor CSS styles for browser container and glance view, improving layout and border handling 2024-11-06 19:55:59 +01:00
mr. M
8542000540 Update gradient handling for main browser and toolbar backgrounds 2024-11-06 19:53:09 +01:00
mr. M
9c5c53f4ae Center align content in zen essentials container for improved layout 2024-11-06 19:52:16 +01:00