Commit Graph

569 Commits

Author SHA1 Message Date
mauro-balades
e8ff848518 Fix initialization issue with ZenStartup 2024-10-08 22:30:26 +02:00
mauro 🤙
256dadbaf7 Merge pull request #1957 from kristijanribaric/feature(pinned-tab-url-reset)-add-setting-and-pinned-tab-base-url-persisting
Feature: Add Pinned Tab Management and URL Reset Functionality 2.0
2024-10-08 21:54:12 +02:00
mauro-balades
3e92111847 Fixed compact mode flickering when it's on the right side (closes https://github.com/zen-browser/desktop/issues/1973) 2024-10-08 21:27:03 +02:00
mauro-balades
2e4958bc25 Update zen-components submodule commit 2024-10-08 21:23:19 +02:00
mauro-balades
515b4d50ab Update zen-components submodule commit 2024-10-08 20:38:20 +02:00
mauro-balades
ffe822819c Yet another attempt into fixing macos shortcuts 2024-10-08 20:31:33 +02:00
Kristijan Ribarić
6dcff571d2 feat(zen-pinned-tab-manager): Add pinned tab management functionality
This commit introduces a new feature: pinned tab management. It allows users to pin tabs and define whether to reset pinned tabs on close.

- Adds a new `ZenPinnedTabManager` component to manage pinned tabs.
- Updates `zen-assets.inc.xhtml` and `zen-assets.jar.inc.mn` to include the new component.
- Modifies the `ZenStartup.mjs` file to initialize the new manager.
- Introduces a new preference `zen.pinned-tab-manager.reset-pinned-tab-on-close-shortcut` to control the behavior of pinned tabs on close.
- Updates the settings UI to reflect the new pinned tab management functionality.
- Refactors related preferences from `zen.tab-unloader.*` to `zen.pinned-tab-manager.*`.

This feature enhances Zen's tab management capabilities by providing users with more control over their pinned tabs.
2024-10-08 15:00:10 +02:00
mauro-balades
a556454ced Add ZenGradientGenerator to zen-assets.jar and zen-styles
This commit adds the ZenGradientGenerator module to the zen-assets.jar and zen-styles directories. The ZenGradientGenerator is responsible for generating gradients used in the Zen theme. This addition will enhance the visual appearance of the theme.
2024-10-07 20:54:53 +02:00
mauro-balades
eebcb0cb6e Fixed keyboard shortcuts not being displayed correctly on the settings after a restart 2024-10-07 18:28:33 +02:00
mauro-balades
cf3f788218 Might had fixed macos keyboard shortcuts 2024-10-07 18:09:34 +02:00
mauro 🤙
31f939ba96 Merge pull request #1944 from BrhmDev/fix/splitview-overlay-missaligned-when-tabs-not-expanded
Fix splitview overlay becoming misaligned when tabs not expanded.
2024-10-07 07:45:23 +02:00
brahim
b707aabee4 Fix splitview overlay becoming misaligned when tabs not expanded. 2024-10-07 02:39:19 +02:00
mauro-balades
41897f06ed Update subproject commits in l10n and zen-components 2024-10-06 19:31:29 +02:00
mauro-balades
5e1a5fc498 Added toast notification when enabling split view rearanging 2024-10-06 18:15:28 +02:00
mauro-balades
174fafcb45 Fixed height for pinned tabs 2024-10-06 17:12:12 +02:00
mauro-balades
19fff2bd89 Update subproject commits in l10n and zen-components 2024-10-06 17:09:44 +02:00
mauro-balades
4b1ef1222b Update subproject commits in l10n and zen-components 2024-10-06 15:22:21 +02:00
mauro 🤙
46cca21a72 Merge pull request #1914 from BrhmDev/feature/rearrange-split-view
Fully customizable splitview using drag and drop
2024-10-06 15:21:12 +02:00
brahim
81c2f08e62 Add pref for rearrange-edge-hover-size 2024-10-06 14:46:47 +02:00
mauro-balades
2a764eaf7a Added preloaded scripts that load before the window is created 2024-10-06 14:03:35 +02:00
brahim
22ef403bd4 Make it impossible to drop splitview tab on itself, lower opacity of tab being dragged. Fix splitters not being cleared after browser drop. 2024-10-06 13:38:29 +02:00
mauro-balades
e466fb95b5 Fix extension buttons remaining when switching to compact mode (closes https://github.com/zen-browser/desktop/issues/1925) 2024-10-06 11:32:26 +02:00
mauro-balades
c5ab69f38d Refactor build workflow to use 'marvinpinto/action-automatic-releases' for updating twilight tag 2024-10-06 10:59:05 +02:00
mauro-balades
b323a92dbf Added zen workspaces for syncing 2024-10-05 23:27:25 +02:00
mauro 🤙
57f697975e Merge pull request #1899 from kristijanribaric/feature(workspace-sync)-load-workspace-sync-script
Feature: Add Zen Workspaces synchronization
2024-10-05 22:53:49 +02:00
mauro-balades
8de8f190ff Fixed internal keyboard shortcuts for macos (https://github.com/zen-browser/desktop/issues/1629) and bookmarks sidebar separation 2024-10-05 18:42:27 +02:00
brahim
ac58a0da0e Merge remote-tracking branch 'origin/main' into feature/rearrange-split-view 2024-10-05 17:54:09 +02:00
mauro-balades
eb19d2a1c4 Fixed themes page crashing if the theme didnt exist 2024-10-05 16:37:49 +02:00
brahim
36656fd0f4 Add splitview drag and drop functionality 2024-10-05 15:24:35 +02:00
Kristijan Ribarić
5488980bd9 feat: Add Zen Workspaces synchronization
This commit introduces a new component, `ZenWorkspacesSync`, which enables synchronization of Zen Workspaces across different devices.

- Added `ZenWorkspacesSync` component.
- Updated `zen-assets.inc.xhtml` and `zen-assets.jar.inc.mn` to include the new component.

This feature allows users to maintain consistent workspace configurations on multiple computers, enhancing productivity and seamless workflow.
2024-10-05 15:11:14 +02:00
brahim
de92af20f0 Animate splitview panels 2024-10-05 10:40:38 +02:00
brahim
a870d7eb42 Render dropZone when dragging. 2024-10-05 03:30:24 +02:00
brahim
e429d0317d Fix splitview splitter alignment 2024-10-05 02:00:15 +02:00
mauro-balades
c8391950cf Expanded on sidebar stylings and added option to disable border of bottom icons 2024-10-04 19:19:40 +02:00
brahim
7cf789ad5f Merge remote-tracking branch 'origin/main' into feature/rearrange-split-view 2024-10-04 18:40:22 +02:00
mauro-balades
d28062cc93 Update subproject commit in zen-components 2024-10-04 18:38:13 +02:00
mauro-balades
4adde6ba85 Update subproject commit in zen-components 2024-10-04 18:22:43 +02:00
mauro-balades
e2792eecb5 Made the code look cleaner 2024-10-04 18:21:41 +02:00
brahim
da8db0f223 Fix split update logic, fix add tab to split 2024-10-04 10:40:24 +02:00
brahim
e96a40a545 Insert splitters in right location for splitview. 2024-10-04 10:40:24 +02:00
brahim
3105024de4 Fixes for splitview with layoutTree, working gridmode 2024-10-04 10:40:24 +02:00
mauro-balades
656a47f7c2 Fix dirty subproject commit in zen-components 2024-10-03 22:31:09 +02:00
mauro-balades
742bb67cde Fixed weird height changes and top paddings when being changing from collapsed to expanded 2024-10-03 22:08:30 +02:00
mauro-balades
88fb4d5e04 feat: Enable opening new tab on middle click in tab bar
This commit adds the functionality to open a new tab on middle click in the tab bar. The code changes include adding the preference 'zen.tabs.newtab-on-middle-click' and defining the lazy preference getter 'canOpenTabOnMiddleClick' in the ZenUIManager. The 'openNewTabOnTabsMiddleClick' function now checks if the middle click event occurred on the tab bar and if the preference is enabled before opening a new tab.

Refs: #1887
2024-10-03 20:59:36 +02:00
mauro 🤙
28745667b8 Merge pull request #1887 from kristijanribaric/feature(new-tab-middle-click)-add-functionality-for-new-tab-opening-on-sidebar-middle-click
Feature: Open new tab on middle click in tab bar
2024-10-03 20:54:38 +02:00
mauro-balades
bffaa1a94d Tried to improve on transitions and animations 2024-10-03 20:50:39 +02:00
Kristijan Ribarić
f5863391fe feat: Open new tab on middle click in tab bar
This commit adds the ability to open a new tab by middle-clicking the tab bar.

The functionality is implemented by adding an event listener for the "mouseup" event on the tab bar and checking if the middle mouse button was clicked. If so, it calls the `BrowserCommands.openTab()` function to open a new tab and prevents the default behavior of the event.
2024-10-03 20:09:25 +02:00
mauro-balades
33531e973b Added workspaces migration system 2024-10-03 19:38:54 +02:00
Kristijan Ribarić
cf2734f5e2 Add ZenWorkspacesStorage to assets 2024-10-02 14:45:47 +02:00
Kristijan Ribarić
1624f05c06 feat(ui): Add ZenWorkspacesStorage.mjs to zen-assets.inc.xhtml
This commit adds the `ZenWorkspacesStorage.mjs` script to the `zen-assets.inc.xhtml` file. This file is responsible for storing and retrieving workspace data.
2024-10-02 12:09:52 +02:00