Commit Graph

968 Commits

Author SHA1 Message Date
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
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
2cca7a8308 Fix display issues for shortcuts in macos for certain keybinds (closes https://github.com/zen-browser/desktop/issues/2189) 2024-10-18 23:27:14 +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
6168e4668c Fixed background for theme toggle 2024-10-18 18:14:43 +02:00
mr. M
aa0d1c27c8 Remove web appearence bug 2024-10-18 18:12:54 +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
ricky
68f9a32629 Refactor workspace button styles and adjust icon position #2176 2024-10-18 17:47: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
mr. M
35c1139293 Refactor zen-components: Update subproject commit 2024-10-15 12:09:16 +02:00
mr. M
590ff474c7 Refactor ZenStartup.mjs: Add lazy preference getter for content element separation
Refactor ZenUIManager.mjs: Add observer for ZenCompactModeManager
2024-10-15 12:07:23 +02:00
mr. M
6e7a2e4c9e Hide deactivated workspaces are now an option 2024-10-15 10:57:09 +02:00
mr. M
097f7c846e Refactor zen-popupset.inc.xhtml: Remove unused panel element 2024-10-15 09:38:54 +02:00
mr. M
7023e0a800 Refactor browser profile preferences and experimental settings 2024-10-15 08:28:20 +02:00
mr. m 🤙
538fd146fb Update submodules to commit 6031981acdb600561b3fdfcf7f51864664b0c25a-… (#2100)
* Update submodules to commit 6031981acdb600561b3fdfcf7f51864664b0c25a-dirty

* Added new icons selector for workspaces
2024-10-14 20:55:59 +02:00
mr. M
49bb9cd398 Added container tabs support for sidebar websites 2024-10-14 19:28:28 +02:00
mr. M
7d00a254da Fixed workspaces syncing across windows (closes https://github.com/zen-browser/desktop/issues/2005) 2024-10-14 17:45:11 +02:00
mr. M
ad9ad07cbd Update submodules to commit 41193b2 2024-10-14 17:36:16 +02:00
mr. M
598d60ab7e Update Firefox version to 131.0.3 2024-10-14 17:36:06 +02:00
mauro-balades
d3f61027c7 [skip ci] 📦 Update Submodules! 2024-10-14 15:24:35 +00:00
kristijanribaric
8ecbbd0719 feat: Add preference to force container tabs to a workspace with that container set as default (#2095)
This commit introduces a new preference, "zen.workspaces.force-container-workspace", that allows users to control whether container tabs are automatically placed in a dedicated workspace. When enabled, this feature ensures that all tabs from a container are grouped together within a specific workspace.

The following files were modified:

- `src/browser/components/preferences/zen-settings.js`: Added the new preference definition.
- `src/browser/app/profile/zen-browser.js`: Set the default value for the new preference.
- `src/browser/components/preferences/zenTabsManagement.inc.xhtml`: Added a checkbox to control the new preference in the settings UI.
2024-10-14 17:24:14 +02:00