Commit Graph

1069 Commits

Author SHA1 Message Date
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
mauro-balades
17943dcf1a [skip ci] 📦 Update Submodules! 2024-10-13 21:49:00 +00:00
kristijanribaric
0150e6d689 Fix: Open external links in workspace's default container (#2081)
* Fix: Pass `fromExternal` to `ZenWorkspaces.getContextIdIfNeeded`

* Add allowInheritPrincipal to ZenWorkspaces.getContextIdIfNeeded
2024-10-13 23:48:39 +02:00
Gun
b5260051a0 No Proxy should be default, Use system proxy allows antivirus, virus or system proxy to MITM or slowing down Zen (#2076)
No Proxy should be default, Use system proxy allows antivirus, virus or system proxy to MITM or slowing down Zen

Signed-off-by: Gun <footmenkingdom@gmail.com>
2024-10-13 19:55:47 +02:00
mr. M
f4b3f62a46 Refactor mozconfig to disable MOZ_PGO and enable wasm-avx 2024-10-13 17:41:59 +02:00
mr. M
519cbdd872 Refactor zen-theme.css to adjust tertiary color mix 2024-10-13 16:47:24 +02:00
mr. M
8008633c02 Refactor keyboard shortcuts preference and add debugging option 2024-10-13 14:42:22 +02:00
mr. M
e840184e7f Improved light theme and compact mode 2024-10-13 11:44:10 +02:00
Gun
013d14d723 VAAPI/FFMPEG is Linux only (#2062)
* Store pinned tab triggering principal in sessionstore (#2050)

* Revert "Store pinned tab triggering principal in sessionstore (#2050)" (#2054)

This reverts commit 70873ebb11.

* VAAPI/FFMPEG is Linux only

VAAPI/FFMPEG is Linux only

Signed-off-by: Gun <footmenkingdom@gmail.com>

---------

Signed-off-by: Gun <footmenkingdom@gmail.com>
Co-authored-by: kristijanribaric <96492763+kristijanribaric@users.noreply.github.com>
Co-authored-by: mr. m  🤙 <91018726+mauro-balades@users.noreply.github.com>
2024-10-13 09:57:35 +02:00
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