Commit Graph

658 Commits

Author SHA1 Message Date
mr. M
4ee7fa2af7 Worked on the gradient choser 2024-10-26 12:11:14 +02:00
mr. M
5d0c22c374 Improved UI for gradient generator 2024-10-26 00:08:27 +02:00
mr. M
e7a52289c8 Fixed split view border and continued on theme creations 2024-10-25 23:22:34 +02:00
mr. M
4997786b9f Added a working workspaces gradient chooser! 2024-10-25 21:50:15 +02:00
mr. M
5b51aa2b78 Fixed compact mode not toggleing since last PR 2024-10-25 15:16:48 +02:00
mr. M
5c565def63 Added per workspace support for gradients and animations 2024-10-25 15:11:35 +02:00
mr. M
c4502c2762 Choosing colors from the gradient generator now works 2024-10-25 12:54:45 +02:00
mr. M
2ea79db343 Add max-webpanels preference for the sidebar 2024-10-25 11:36:30 +02:00
mr. M
c92924db15 Started working on the gradient generation 2024-10-24 23:53:09 +02:00
mr. M
45ce804ee9 Update subproject commit references in l10n and zen-components 2024-10-24 21:46:15 +02:00
mr. m 🤙
24d09cc134 Merge pull request #2288 from Richard-Woessner/I2156
Refactor sidebar expanded on-hover functionality and fix sidebar expa…
2024-10-24 22:03:08 +03:00
mr. M
e7109a0855 Update subproject commit references in l10n and zen-components 2024-10-24 20:52:21 +02:00
Kristijan Ribarić
31bb92c398 feat: Handle workspace panel hiding event
This commit adds a new `onpopuphidden` attribute to the `<panel>` element that defines the workspace panel. This attribute triggers the `ZenWorkspaces.handlePanelHidden()` function when the panel is hidden.

This change is necessary to allow the application to properly handle the case when the workspace panel is hidden so that the reorder mode can be disabled.

The following changes were made:

- Added the `onpopuphidden` attribute to the `<panel>` element in `zen-popupset.inc.xhtml`.
- Added a new CSS class `.zen-workspace-last-place-drop-target` to `zen-workspaces.css`.
- Modified the `zen-workspaces.css` file to display the `.zen-workspace-last-place-drop-target` class only in reorder mode.
2024-10-24 20:27:46 +02:00
ricky
2214ab3a17 Refactor sidebar expanded on-hover functionality and fix sidebar expand/collapse behavior
- **Preferences**:
  - Added a new preference `zen.view.sidebar-expanded.on-hover.paused-for-expand` to manage the paused state of the sidebar hover functionality.
  - Updated `zen.view.sidebar-expanded.on-hover` preference handling to ensure proper behavior when toggling the sidebar.

- **ZenUIManager.mjs**:
  - Updated `_updateOnHoverVerticalTabs` method to handle the expanded state and remove hover attributes when the sidebar is expanded.
  - Refactored `_updateEvent` method to check and handle the expanded state of the sidebar, and to open or close the sidebar accordingly.
  - Added `openSidebar` and `closeSidebar` methods to manage the sidebar's expanded state and related attributes.
  - Refactored `toggleExpand` method to handle the new `paused-for-expand` preference and ensure proper toggling of the sidebar's expanded state.

- **zen-settings.js**:
  - Updated `setCompactModeStyle` method to handle the new `paused-for-expand` preference.
  - Ensured that the `paused-for-expand` preference is reset when the sidebar expand strategy is changed.

- **zen-browser.js**:
  - Added the new preference `zen.view.sidebar-expanded.on-hover.paused-for-expand` with a default value of `false`.

- **Submodule Updates**:
  - Updated `l10n` submodule to the latest commit `dd93803b84f398834049a3f650536fbdbd14cbca`.
  - Updated `zen-components` submodule to the latest commit `d853fa8de4167dfd4d1289f4f15792a698c738c3-dirty`.

- **Miscellaneous**:
  - Fixed indentation issues in `ZenUIManager.mjs`.
  - Removed commented-out code in `ZenUIManager.mjs`.
  - Ensured proper formatting and alignment of code blocks.

ISSUE: #2156
2024-10-22 22:01:05 -04:00
mr. M
065e82534e Update subproject commit in zen-components 2024-10-20 18:05:49 +02:00
mr. M
83b077d5f3 Fixed tab overlflow changing the height of the web view 2024-10-19 18:41:31 +02:00
mr. M
36104652cd FIxed always rendering the split view overlay, pottentially fixing huge speed issue 2024-10-19 18:05:32 +02:00
mr. M
15621d76b9 Refactor browser container CSS to remove unnecessary background color 2024-10-19 13:43:38 +02:00
mr. M
73eb4e3389 Fixed 'cancel' button for workspaces creation 2024-10-19 12:48:06 +02:00
mr. M
ffc584e5e6 Allow reserved keyboard shortcuts to be changed 2024-10-18 23:10:28 +02:00
mr. M
9a73aba7fc Set default browser background as white 2024-10-18 18:45:18 +02:00
mr. M
22adb293f7 Added ellipsies for workspaces names that overflow the selector 2024-10-18 18:37:55 +02:00
mr. M
e8534e61cd Update zen-components submodule 2024-10-18 18:20:02 +02:00
mr. M
35859f566b Refactor toolbar and vertical tabs styles 2024-10-18 18:07:39 +02:00
mr. M
1ad7055fbe Fixed Workspace button selection boxes have no top and bottom padding when placed on the toolbar (closes https://github.com/zen-browser/desktop/issues/2184) 2024-10-18 17:30:51 +02:00
mr. M
2287aa9a06 FIxed icon selection for workspaces 2024-10-18 17:09:20 +02:00
mr. M
28d358aa43 Update subproject commits in l10n and zen-components 2024-10-18 16:49:55 +02:00
Bryan Galdámez
8744d1a9ec Added new disable all button 2024-10-18 17:49:34 +03:00
mr. M
2f5062b33e Refactor workspace button styles and adjust icon position 2024-10-18 00:50:00 +02:00
mr. M
57b624d2da Refactor workspace button styles and adjust icon position 2024-10-18 00:41:02 +02:00
mr. M
69539728ec Refactor workspace button styles and adjust icon position 2024-10-18 00:40:50 +02:00
HarryHeres
92b014a706 Fixing workspaces icon picker 2024-10-18 01:37:27 +03:00
mr. M
a5ace90bd6 Fixed wrong firefox version in about Zen (closes #2150) 2024-10-17 20:54:16 +02:00
mr. M
8212ca3aee Fixed expand on hover moving sites (closes #2033) 2024-10-17 20:13:19 +02:00
mr. M
0b9b0a39d8 Refactor workspace button styles and add new icon 2024-10-17 19:52:28 +02:00
mr. M
bcf6dad5de Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2024-10-17 19:34:40 +02:00
mr. M
3f0347bc18 Update subproject commits in l10n and zen-components 2024-10-17 19:34:35 +02:00
HarryHeres
fa342c42fb Minimizing button shift on macOS 2024-10-17 20:31:12 +03:00
Kristijan Ribarić
c31e0d72b3 Restructured reordering to be based on dragging. 2024-10-17 20:29:50 +03:00
Kristijan Ribarić
f672b1b810 Add missing icons for up and down reordering buttons 2024-10-17 20:29:50 +03:00
Kristijan Ribarić
4f324c7fd7 feat: Add workspace reorder mode to Workspaces panel
This commit introduces a new reorder mode to the Workspaces panel, allowing users to easily rearrange their workspaces. The following changes were made:

- Added a "reorder mode" toggle button to the Workspaces panel.
- Implemented functionality to enable/disable reorder mode.
- Updated the Workspaces panel to display reorder controls for each workspace when reorder mode is enabled.
- Added visual cues to indicate the current active workspace and reorder mode status.

These changes enhance the usability of the Workspaces panel by providing a convenient way to manage and organize workspaces.
2024-10-17 20:29:50 +03:00
mr. M
d6c4c3c66a Changed light theme and added new split view icon 2024-10-17 19:19:28 +02:00
HarryHeres
c9a923bb34 Fixing moving tab bar to right 2024-10-16 00:21:16 +03:00
mr. M
546cac2b09 Refactor zen-tabs/vertical-tabs.css: Remove unnecessary padding-top styling 2024-10-15 17:29:36 +02:00
mr. M
86f537971c Refactor zen-browser-container.css: Update background color styling for browser element 2024-10-15 17:07:04 +02:00
mr. M
4dd5e7c4b9 Refactor zen-browser-container.css: Remove unnecessary background color styling for browser element 2024-10-15 16:35:17 +02:00
mr. M
3b850ae3b9 Fix issue with corrupted themes data file 2024-10-15 16:10:27 +02:00
mr. M
361932cf7f Update subproject commit in zen-components 2024-10-15 15:38:32 +02:00
mr. M
73f8225669 Refactor zen-components: Update subproject commit 2024-10-15 15:05:30 +02:00
mr. M
f6d7170537 Disable forcing containers to workspaces by default and fix browser background being transparent (https://github.com/zen-browser/desktop/issues/2117) 2024-10-15 14:06:06 +02:00