Commit Graph

870 Commits

Author SHA1 Message Date
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
mauro-balades
eebcb0cb6e Fixed keyboard shortcuts not being displayed correctly on the settings after a restart 2024-10-07 18:28:33 +02:00
mauro-balades
cf3f788218 Might had fixed macos keyboard shortcuts 2024-10-07 18:09:34 +02:00
mauro 🤙
31f939ba96 Merge pull request #1944 from BrhmDev/fix/splitview-overlay-missaligned-when-tabs-not-expanded
Fix splitview overlay becoming misaligned when tabs not expanded.
2024-10-07 07:45:23 +02:00
brahim
b707aabee4 Fix splitview overlay becoming misaligned when tabs not expanded. 2024-10-07 02:39:19 +02:00
nitro
b3e3fdbad7 fix performance 2024-10-06 20:32:44 +02:00
mauro-balades
41897f06ed Update subproject commits in l10n and zen-components 2024-10-06 19:31:29 +02:00
mauro-balades
5e1a5fc498 Added toast notification when enabling split view rearanging 2024-10-06 18:15:28 +02:00
mauro-balades
174fafcb45 Fixed height for pinned tabs 2024-10-06 17:12:12 +02:00
mauro-balades
19fff2bd89 Update subproject commits in l10n and zen-components 2024-10-06 17:09:44 +02:00
mauro-balades
4b1ef1222b Update subproject commits in l10n and zen-components 2024-10-06 15:22:21 +02:00
mauro 🤙
46cca21a72 Merge pull request #1914 from BrhmDev/feature/rearrange-split-view
Fully customizable splitview using drag and drop
2024-10-06 15:21:12 +02:00
brahim
81c2f08e62 Add pref for rearrange-edge-hover-size 2024-10-06 14:46:47 +02:00
mauro-balades
2a764eaf7a Added preloaded scripts that load before the window is created 2024-10-06 14:03:35 +02:00
Gunir
d7bff00046 Fix buffering issues: Youtube, Archive bugzilla.mozilla.org/show_bug.cgi?id=1854077
Fix buffering issues: Youtube, Archive bugzilla.mozilla.org/show_bug.cgi?id=1854077
2024-10-06 18:41:32 +07:00
brahim
22ef403bd4 Make it impossible to drop splitview tab on itself, lower opacity of tab being dragged. Fix splitters not being cleared after browser drop. 2024-10-06 13:38:29 +02:00
mauro-balades
e466fb95b5 Fix extension buttons remaining when switching to compact mode (closes https://github.com/zen-browser/desktop/issues/1925) 2024-10-06 11:32:26 +02:00
mauro-balades
c5ab69f38d Refactor build workflow to use 'marvinpinto/action-automatic-releases' for updating twilight tag 2024-10-06 10:59:05 +02:00
mauro-balades
b323a92dbf Added zen workspaces for syncing 2024-10-05 23:27:25 +02:00
mauro 🤙
57f697975e Merge pull request #1899 from kristijanribaric/feature(workspace-sync)-load-workspace-sync-script
Feature: Add Zen Workspaces synchronization
2024-10-05 22:53:49 +02:00
Kristijan Ribarić
9a9171055c feat(sync): Removed patch files, placed the logic in zen files 2024-10-05 22:53:13 +02:00
mauro-balades
8de8f190ff Fixed internal keyboard shortcuts for macos (https://github.com/zen-browser/desktop/issues/1629) and bookmarks sidebar separation 2024-10-05 18:42:27 +02:00
brahim
ac58a0da0e Merge remote-tracking branch 'origin/main' into feature/rearrange-split-view 2024-10-05 17:54:09 +02:00
mauro-balades
eb19d2a1c4 Fixed themes page crashing if the theme didnt exist 2024-10-05 16:37:49 +02:00
brahim
36656fd0f4 Add splitview drag and drop functionality 2024-10-05 15:24:35 +02:00
Kristijan Ribarić
20f6dfafa1 feat: Add Workspaces to Sync options
This commit adds Workspaces to the list of data types that can be synced.

This introduces the following changes:

- Adds a new preference `services.sync.engine.workspaces` to control syncing of Workspaces.
- Updates the `syncChooseWhatToSync.js` and `syncChooseWhatToSync.xhtml` files to include the new Workspaces option in the UI.
- Adds relevant localization strings to `preferences-ftl`.
- Updates CSS styling for the Workspaces option.
- Updates `zen-browser.js` to disable Workspace syncing by default.

This change allows users to choose whether to sync their Workspaces across devices.
2024-10-05 15:11:14 +02:00
Kristijan Ribarić
5488980bd9 feat: Add Zen Workspaces synchronization
This commit introduces a new component, `ZenWorkspacesSync`, which enables synchronization of Zen Workspaces across different devices.

- Added `ZenWorkspacesSync` component.
- Updated `zen-assets.inc.xhtml` and `zen-assets.jar.inc.mn` to include the new component.

This feature allows users to maintain consistent workspace configurations on multiple computers, enhancing productivity and seamless workflow.
2024-10-05 15:11:14 +02:00
brahim
de92af20f0 Animate splitview panels 2024-10-05 10:40:38 +02:00
brahim
a870d7eb42 Render dropZone when dragging. 2024-10-05 03:30:24 +02:00
brahim
e429d0317d Fix splitview splitter alignment 2024-10-05 02:00:15 +02:00
mauro-balades
c8391950cf Expanded on sidebar stylings and added option to disable border of bottom icons 2024-10-04 19:19:40 +02:00
brahim
7cf789ad5f Merge remote-tracking branch 'origin/main' into feature/rearrange-split-view 2024-10-04 18:40:22 +02:00
mauro-balades
d28062cc93 Update subproject commit in zen-components 2024-10-04 18:38:13 +02:00
mauro-balades
5d0ea6a2c3 Fixed tab unloader pref not being updated (closes https://github.com/zen-browser/desktop/issues/1835) 2024-10-04 18:29:44 +02:00
mauro-balades
4adde6ba85 Update subproject commit in zen-components 2024-10-04 18:22:43 +02:00
mauro-balades
e2792eecb5 Made the code look cleaner 2024-10-04 18:21:41 +02:00
brahim
da8db0f223 Fix split update logic, fix add tab to split 2024-10-04 10:40:24 +02:00
brahim
e96a40a545 Insert splitters in right location for splitview. 2024-10-04 10:40:24 +02:00
brahim
3105024de4 Fixes for splitview with layoutTree, working gridmode 2024-10-04 10:40:24 +02:00
mauro-balades
656a47f7c2 Fix dirty subproject commit in zen-components 2024-10-03 22:31:09 +02:00
mauro-balades
742bb67cde Fixed weird height changes and top paddings when being changing from collapsed to expanded 2024-10-03 22:08:30 +02:00