Commit Graph

984 Commits

Author SHA1 Message Date
mr. M
45ce804ee9 Update subproject commit references in l10n and zen-components 2024-10-24 21:46:15 +02:00
mr. M
2e9c147c44 Added the old unread attribute for tabs 2024-10-24 21:09:57 +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
mr. m 🤙
b7964f7f12 Merge pull request #2309 from kristijanribaric/fix/workspace-reordering-fixes
Fix: Add functionality to move workspace to the end and disable reorder mode on panel close
2024-10-24 21:45:28 +03: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
94b32c38e4 #2156 Removed unused code 2024-10-22 22:20:39 -04: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
Gun
2cfada1fc8 No more Kyber, too unstable to be on by default
No more Kyber, too unstable to be on by default

Signed-off-by: Gun <footmenkingdom@gmail.com>
2024-10-22 16:24:18 +07:00
mr. M
065e82534e Update subproject commit in zen-components 2024-10-20 18:05:49 +02:00
mr. m 🤙
a6cbda63b1 Merge pull request #2251 from kristijanribaric/fix/open-new-tab-when-last-unpinned-tab-is-closed-in-workspace-and-no-pinned-tabs-are-loaded
Fix: Open new tab when last unpinned tab is closed in workspace and no pinned tabs are loaded
2024-10-20 19:05:01 +03:00
Kristijan Ribarić
15ddd0f680 Fix: Open new tab when last unpinned tab is closed in workspace and no pinned tabs are loaded
Added a preference to keep default behavior or apply the new one.
2024-10-20 17:44:14 +02:00
mr. M
841261a36e Fixed malformed XUL for some themes 2024-10-20 17:40:21 +02:00
mr. M
bbdd6684fe Fixed tabs moving not closing expand on hover sometimes 2024-10-19 20:14:11 +02:00
mr. M
07cd774619 Fixed keyboard shortcuts for Shift + [N] 2024-10-19 19:10:57 +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
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