Commit Graph

264 Commits

Author SHA1 Message Date
Kristijan Ribarić
245f477760 Prevent creating new window for dragging pinned tab out of the window. 2024-11-20 10:02:30 +01:00
mr. M
30b14a619d fix: remove unnecessary tabbar expand form initialization in Zen settings 2024-11-19 22:20:10 +01:00
mr. M
b094d8322a refactor: update styling and structure of Zen UI components; remove deprecated toolbar styles and adjust margins for better layout 2024-11-19 20:51:48 +01:00
mr. m 🤙
693963b072 Merge pull request #2947 from kristijanribaric/feature/add-option-to-make-essentials-container-specific
Feature: container specific Essentials
2024-11-13 23:07:56 +01:00
Kristijan Ribarić
bc45092e03 Added a pref to make essentials container specific, i.e. if a workspace has a container assigned to it, on that workspace only essentials opened in that container will be visible. 2024-11-12 10:44:12 +01:00
mr. m 🤙
9d328b3aff Merge pull request #2904 from kristijanribaric/feature/add-reset-to-base-url-button-to-pinned-tabs
Feature: Add reset to pinned URL button to pinned tabs
2024-11-11 22:06:04 +01:00
kristijanribaric
b323333bd1 Prevent pins deletion from database on non explicit tab closes (window closing) (#2903)
Previously, if you had multiple windows opened and you closed one, it could trigger TabClose event and delete the pins from zen_pins table. With this change the pins are deleted only on explicit tab closing from tab context menu.
2024-11-11 20:51:46 +01:00
Kristijan Ribarić
38898ab45e (feat) Add reset to pinned URL button to pinned tabs
This commit introduces a "Reset" button to pinned tabs, allowing
users to quickly revert a tab to its stored base URL.  The button
is visible on hover for non-essential pinned tabs and hidden
for essentials.  Clicking the button triggers a
reset action managed by `gZenPinnedTabManager`.

The visual style of the button is defined using the "reload"
icon and follows the styling of other tab buttons.
2024-11-11 15:48:50 +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
f093228f71 feat: Update new tab button preferences and improve workspace indicator styles 2024-11-08 19:34:51 +01: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
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
649d82425a Added zen essentials! 2024-11-04 19:34:32 +01:00
mr. M
aa74a68ca8 Refactor zen-components and zen-styles/zen-tabs/vertical-tabs.css 2024-11-03 13:44:33 +01:00
Kristijan Ribarić
a21511b683 feat: Add Essentials Toolbar
This commit introduces a new Essentials Toolbar feature to Zen. It provides a more streamlined and organized way for users to access frequently used bookmakrs directly from the sidebar.

- Added `ZenEssentialsToolbar.mjs` to provide the logic for the toolbar.
- Updated the sidebar CSS (`zen-sidebar.css`) to style the Essentials Toolbar.
- Modified `ZenStartup.mjs` to initialize the Essentials Toolbar.
- Made changes to `browserPlacesViews-js.patch` to integrate with existing bookmark functionality.
- Added a new preference `zen.essentials.enabled` to enable/disable the Essentials Toolbar.
2024-11-02 21:09:07 +01:00
mr. M
b58f7a0c4d Update subproject commit in zen-components 2024-11-01 17:26:52 +01:00
mr. M
e433c5160a Update subproject commit in zen-components 2024-10-31 22:18:30 +01:00
mr. M
cfd2e57950 Allow glance meta key only for macos (https://github.com/zen-browser/desktop/issues/2429) 2024-10-31 15:55:12 +01:00
mr. M
a5d4855530 Fixed changing activation method not applied to tabs (https://github.com/zen-browser/desktop/issues/2429) 2024-10-31 15:52:29 +01:00
mr. M
04dd345ef4 Fixed unloaded tabs can't be opened (closes #2436) 2024-10-31 14:26:17 +01:00
mr. M
245c75ab2c Update subproject commit hash in l10n and zen-components 2024-10-30 17:16:29 +01:00
mr. M
ef0b6d947e Fixed moving multiple tabs causing glitches sometimes 2024-10-30 15:42:33 +01:00
mr. M
b0b73b5d97 Update zen view compact mode preferences 2024-10-30 15:13:36 +01:00
mr. M
a8d2773f5d Fix animation and layout issues in tabs.js 2024-10-30 13:48:08 +01:00
mr. M
d978d35533 Added expand to fullscreen for glance 2024-10-30 12:45:22 +01:00
mr. M
0552c2f245 [breaking] changed default layout of the customizable UI 2024-10-29 23:42:05 +01:00
mr. M
a08df8f9ef Added theme color deduction for workspace gradients and fixed macos titlebar buttons display 2024-10-29 20:45:38 +01:00
mr. M
1a906b746e Update firefox version to 132.0 2024-10-29 18:08:56 +01:00
mr. M
22df6d5638 Added support for meta key for glance 2024-10-29 10:50:37 +01:00
mr. M
4783f264df Fixed animations for glance 2024-10-29 10:21:47 +01:00
mr. M
9c105c988c Added settings page for zen glance 2024-10-29 09:51:36 +01:00
mr. M
3a517317a3 [breaking change]: Removed the hide expand sidebar button 2024-10-26 18:34:06 +02:00
mr. M
f019490989 Added newtab button option to stay under last tab and reworked gradient generator's layout 2024-10-26 15:38:45 +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
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
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
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
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
aa0d1c27c8 Remove web appearence bug 2024-10-18 18:12:54 +02:00
Bryan Galdámez
8744d1a9ec Added new disable all button 2024-10-18 17:49:34 +03:00
mr. M
d6c4c3c66a Changed light theme and added new split view icon 2024-10-17 19:19:28 +02:00
mr. M
6e7a2e4c9e Hide deactivated workspaces are now an option 2024-10-15 10:57:09 +02:00