Commit Graph

877 Commits

Author SHA1 Message Date
mr. M
bdbce8a7da Refactor subproject commit in zen-components 2024-10-13 02:22:56 +02:00
mr. M
f661ba7c40 Refactor vertical-tabs.css to reduce toolbox width to 44px 2024-10-12 22:53:36 +02:00
mr. M
7470ff5437 Refactor subproject commit in zen-components
Update background color in zen-workspaces.css
2024-10-12 22:08:29 +02:00
kristijanribaric
1628b4ca3e feat(sessionstore): Store zen pinned entry in tab state (#2058)
This commit adds the `zenPinnedEntry` property to the `TabState` object, which stores the full zen pinned entry data. This information will be used to restore the pinned entry when a tab is restored from the session.

The following changes were made:

- Added `zenPinnedEntry` to `TabState`
- Removed `zenPinnedUrl`, `zenPinnedTitle`, `zenPinnedIcon`, and `zenPinnedTriggeringPrincipal` as they are now included in `zenPinnedEntry`.
- Updated the `TabState` serialization and deserialization logic to handle the new `zenPinnedEntry` property.
2024-10-12 22:07:53 +02:00
mr. M
e4287ee7fb Refactor subproject commit in zen-components 2024-10-12 19:08:59 +02:00
kristijanribaric
71a2646c5b Store pinned tab triggering principal in sessionstore (#2055) 2024-10-12 19:08:38 +02:00
mr. M
aa8ef338c5 Update subproject commit in zen-components 2024-10-12 18:46:23 +02:00
mr. M
da5ae971e1 Merge branch 'central' of https://github.com/zen-browser/desktop into central 2024-10-12 17:53:57 +02:00
mr. M
d8bbb62081 Refactor zen-components submodule to use updated commit
``
2024-10-12 17:53:52 +02:00
mr. m 🤙
f5215c1f29 Merge pull request #2043 from BrhmDev/fix/change-on-hover-not-changing-correct-pref
Fix change on hover setting not doing anything.
2024-10-12 12:33:30 +02:00
brahim
54706e51af Fix change on hover not changing right pref. 2024-10-12 12:07:29 +02:00
mr. M
2ee66b0b22 Fixed " Closing Tabs opened from SidePanel renders the browser unusable" (closes https://github.com/zen-browser/desktop/issues/1966) 2024-10-11 23:02:54 +02:00
mr. M
2082079c7e Fixed browser bottom padding misaligns (closes https://github.com/zen-browser/desktop/issues/2007) 2024-10-11 19:43:09 +02:00
mr. M
69020cc516 Refactor build workflow and add branch validation 2024-10-11 18:30:32 +02:00
mauro-balades
a01a6d0f43 Update subproject commit hash 2024-10-11 17:20:37 +02:00
brahim
234d05d044 Fix compact mode collapsed width not applied, change top gap when toolbar visible. 2024-10-11 03:24:28 +02:00
mauro-balades
b4901cb113 Update Firefox version to 131.0.2 in README.md and surfer.json 2024-10-10 19:29:13 +02:00
brahim
d043ea25d8 Use var for zen compact float. 2024-10-10 16:28:17 +02:00
brahim
dadc13a2df Remove unnecessary checks to see if toolbox collapsed in zen-compact-mode.css 2024-10-10 15:49:03 +02:00
brahim
34e47d79dd Fix floating compact mode: revert logic in ZenCompactMode.mjs, use invisible padding. 2024-10-10 14:07:48 +02:00
mauro-balades
945ee1245e Updated l10n ID packs 2024-10-09 20:20:51 +02:00
mauro-balades
7f263b4c5e Update subproject commit with dirty flag 2024-10-09 20:07:11 +02:00
mauro-balades
569d93af9a Update subproject commit with dirty flag 2024-10-09 20:02:46 +02:00
mauro-balades
9440716951 Made compact mode float 2024-10-09 20:01:51 +02:00
mauro-balades
cc4e676bb7 Fixed compact mode being active at the same time with split views 2024-10-09 18:46:41 +02:00
mauro-balades
9d0eaad314 Update keyboard shortcuts preference 2024-10-09 17:07:03 +02:00
mauro-balades
1d22650d89 Update subproject commit with dirty flag 2024-10-09 16:42:35 +02:00
mauro 🤙
ce519530bc Merge pull request #1983 from kristijanribaric/feature-(workspace-icons-sync)-enable-icons-sync
Feature: Enable syncing of Workspace icons by default
2024-10-09 14:40:25 +02:00
Kristijan Ribarić
3e02f0d39f feat: Enable syncing of Workspace icons by default
This commit adds a new preference (`services.sync.prefs.sync.zen.workspaces.icons`) to enable syncing of the Workspace icons across different devices. This allows users to maintain the same visual experience regardless of where they are using Zen.
2024-10-09 08:50:40 +02:00
mauro-balades
89b97338e4 Update subproject commit with dirty flag 2024-10-09 07:47:47 +02:00
Kristijan Ribarić
692cb9223c Add pinned tab close behavior preference 2024-10-08 22:42:38 +02:00
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
Kristijan Ribarić
8c04cda18b feat: Replace close shortcut options for pinned tabs with a single menulist
This commit replaces the four separate checkboxes for close shortcut options for pinned tabs with a single menulist. This makes the UI more streamlined and user-friendly, as users can now easily select from a list of available options instead of having to check or uncheck multiple boxes.

The new menulist offers the following options:

- reset-unload-switch: Resets the tab if it was changed, otherwise unloads it.
- unload-switch: Unloads the tab if it was changed, otherwise does nothing.
- reset-switch: Resets the tab if it was changed, otherwise switches to it.
- switch: Switches to the tab.
- reset: Resets the tab.
- close: Closes the tab.

This provides a more comprehensive and flexible set of options for managing pinned tabs, making the experience more intuitive and customizable.
2024-10-08 21:07:06 +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ć
948cfc4034 feat: Add new settings for close shortcut behavior of pinned tabs
This commit introduces new settings for the behavior of closing pinned tabs using the close shortcut.

The following options are now available:

- **Reset pinned tab on close shortcut**: Reset the tab to the pinned URL.
- **Unload pinned tab on close shortcut**: Unload the tab.
- **Change pinned tab on close shortcut**: Change the pinned tab.
- **Close pinned tab on close shortcut**: Close the tab.

This provides more granular control over how pinned tabs are handled when the close shortcut is used, allowing users to customize the behavior to their specific needs.
2024-10-08 17:47:19 +02:00
Kristijan Ribarić
fdd99cb8d6 Fix: Refactor pinned tab management and remove unnecessary attribute checks
This commit refactors the pinned tab management code to improve clarity and reduce redundant checks.

The following changes were made:

- Moved pinned tab logic to a dedicated `gZenPinnedTabManager` class.
- Removed unnecessary attribute checks for `zen-pinned-url`, `zen-pinned-title`, and `zen-pinned-icon` as these are now handled by the `gZenPinnedTabManager` class.
- Simplified session restore logic for pinned tabs.
- Updated the pinned tab context menu logic to utilize the `gZenPinnedTabManager` class.
- Removed unnecessary code blocks related to pinned tabs.

These changes improve the overall readability and maintainability of the pinned tab management code.
2024-10-08 15:00:11 +02:00
Kristijan Ribarić
9df773dde2 Add pin icon for replace pinned url with current context item 2024-10-08 15:00:10 +02:00
Kristijan Ribarić
8c42614427 feat(pinned-tab-manager): Add restore pinned tabs to pinned url option
This commit introduces a new option to the pinned tab manager that allows users to restore pinned tabs to their pinned URL and title, even if the current tab has a different URL.

- Adds a new preference `zen.pinned-tab-manager.restore-pinned-tabs-to-pinned-url` to control this behavior.
- Updates the tab browser, tab state, and preferences code to support the new option.
- Adds a new UI element in the settings to allow users to enable/disable this feature.

This feature enhances the pinned tab manager by providing more control over how pinned tabs are restored when the browser is restarted.
2024-10-08 15:00:10 +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
Kristijan Ribarić
43834e57f0 feat(sessionstore): Add pinned url, and pinned title to tab state
Adds `zenPinnedUrl`, and `zenPinnedTitle` attributes to the tab state to persist pinned tab information. This allows users to restore their previous Zen pinned base url configuration upon restarting the browser.
2024-10-08 15:00:10 +02:00
Kristijan Ribarić
b185773daf feat(pinned-tab-url-reset): add option to reset pinned tab to originally pinned url
Adds a new setting to enable or disable pinned tab url resetting on pressing close tab shortcut.

Persists pinned tab url and label on browser closing.
2024-10-08 15:00:10 +02:00
mauro-balades
66fc824bb5 Merge branch 'main' of https://github.com/zen-browser/desktop 2024-10-07 20:55:06 +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 🤙
d248880890 Merge pull request #1933 from n7itro/main
fix performance
2024-10-07 19:26:35 +02:00
mauro-balades
c9a8177351 Fix display issues on some keyboard layouts and settings after restart 2024-10-07 19:18:10 +02:00
mauro-balades
5e85f1025a Fix display issues on keyboard shortcuts settings on some keyboard layouts 2024-10-07 18:42:17 +02:00