Commit graph

458 commits

Author SHA1 Message Date
mauro-balades
437fdfecb5 Refactor ZenWorkspaces to add event listener for TabBrowserInserted 2024-09-16 22:53:45 +02:00
mauro 🤙
c4eb2bc48d
Merge pull request #18 from kristijanribaric/fix/async-workspace-saving
fix: Await workspace save in `changeWorkspace`
2024-09-16 22:52:52 +02:00
Kristijan Ribarić
f4c876c8de fix: Await workspace save in changeWorkspace
This change ensures that the `unsafeSaveWorkspaces` function is called asynchronously. This is necessary to prevent blocking the UI thread while saving the workspaces.
2024-09-16 21:10:34 +02:00
Bryan Galdámez
df1c0886d6 fix(zenThemesImporter): fixed wrong preferences filtering 2024-09-16 12:17:18 -06:00
brahim
380552d54e Make zenViewSplitter.applySplitters() independent of gridType, extract updateGridSizes from applySplitters 2024-09-16 17:37:50 +02:00
Bryan Galdámez
118de1ed15
Merge branch 'zen-browser:main' into main 2024-09-16 01:21:33 -06:00
Bryan Galdámez
a1072db227 feature(zenThemesImporter): add string type theme property writing to dom on startup 2024-09-16 01:21:00 -06:00
mauro-balades
95af4ba082 Merge branch 'main' of https://github.com/zen-browser/components 2024-09-16 07:51:37 +02:00
mauro-balades
fa248aecd9 Refactor ZenWorkspaces to initialize workspace icons and context menus 2024-09-16 07:51:34 +02:00
Mauro Baladés
b9c35455ad Refactor ZenWorkspaces to use getUserContextLabel instead of formatContextLabel 2024-09-15 20:00:14 -07:00
brahim
1dc39bed26 Add zen.splitView.min-resize-width pref 2024-09-16 04:15:07 +02:00
brahim
ce3b03fd77 Apply cursor resize when resizing in split view. 2024-09-16 04:15:07 +02:00
brahim
f29af2b115 Fix clientX not consistent on about: pages, use css vars for gridSizes 2024-09-16 04:15:07 +02:00
brahim
64128671a8 Refactor gZenViewSplitter.applySplitters() 2024-09-16 04:15:07 +02:00
brahim
44f524523b Make split view resize work for grid mode 2024-09-16 04:15:07 +02:00
brahim
ad106d5337 Fix deactivate split view. 2024-09-16 04:15:07 +02:00
brahim
e4cb4646b8 Make split view resizing work for horizontal split. 2024-09-16 04:15:07 +02:00
brahim
88b9459f30 Add minimal width when resizing split view. Remove excess splitters on apply. 2024-09-16 04:15:07 +02:00
brahim
0daa12f762 Put resize splitters inside tabBrowser 2024-09-16 04:15:07 +02:00
brahim
73dc9e79c2 Resize views in split view (only works in vertical, still has problems) 2024-09-16 04:15:07 +02:00
mauro-balades
329b197bda Fixed workspaces 2024-09-15 19:20:32 +02:00
mauro 🤙
6aa50058bf
Revert "Update ZenKeyboardShortcuts.mjs" 2024-09-15 03:32:29 -07:00
Anatasia
57817faf4c
Update ZenKeyboardShortcuts.mjs 2024-09-15 15:24:24 +07:00
mauro-balades
7692662dd7 Refactor ZenViewSplitter to fix tab closing bug 2024-09-15 09:40:52 +02:00
Bryan Galdámez
5a183e161e refactor(zen-settings): add theme- prefix 2024-09-14 16:53:22 -06:00
Bryan Galdámez
9c29cf23e7 fix(zen-settings): sanitize properties and theme name to prevent css issues 2024-09-14 16:44:21 -06:00
mauro-balades
d7715eb754 Fixed themes glitching 2024-09-14 23:15:45 +02:00
mauro-balades
ff7a75998b Refactor ZenThemeMarketplaceParent to enable the installed theme 2024-09-14 22:55:45 +02:00
Bryan Galdámez
304b688473 refactor(zenThemesImporter): renamed disabled to enabled
- remove dom elements on enabled = false
2024-09-14 14:32:54 -06:00
mauro-balades
4d8d109e78 Refactor ZenThemesImporter to skip disabled themes when writing the stylesheet 2024-09-14 12:46:13 +02:00
mauro-balades
03514248e5 Fixed split view shortcut to split a single tab if other are hidden 2024-09-14 12:34:43 +02:00
mauro 🤙
7bfeaefb27
Merge branch 'main' into cycle-to-last-selected-workspace-tab 2024-09-14 12:04:54 +02:00
mauro 🤙
6a7d1046fb
Merge pull request #10 from JosueGalRe/main
feature(zenThemesImporter): write saved preferences to dom on startup
2024-09-14 12:03:44 +02:00
mauro-balades
62c056b4d0 Refactor ZenWorkspaces.mjs to discard unloaded tabs when hiding workspace 2024-09-14 11:34:26 +02:00
Bryan Galdámez
2d3844efc7
Merge branch 'zen-browser:main' into main 2024-09-14 03:11:39 -06:00
Bryan Galdámez
c5619a7dc9 feature(zenThemesImporter): add compatibility mode with legacy preferences 2024-09-14 03:07:44 -06:00
mauro-balades
d0f32a6ee8 Refactor ZenWorkspaces.mjs to preserve full icons instead of just the first character 2024-09-14 09:05:38 +02:00
Bryan Galdámez
1dcfec3d5a
Merge branch 'zen-browser:main' into main 2024-09-13 23:45:42 -06:00
mauro-balades
cc4601f0e1 Fixed display when choosing containers for each workspace 2024-09-13 23:01:22 +02:00
mauro-balades
5a9fb8d7be Allow pinned tabs to be workspace specific 2024-09-13 22:52:03 +02:00
mauro-balades
4cedd84ac8 Refactor ZenWorkspaces.mjs to add createContainerTabMenu method 2024-09-13 20:12:05 +02:00
Jivan Flores
569127a141 feat: Remember the last selected tab when cycling between workspaces 2024-09-13 09:49:39 -07:00
Jivan Flores
82814b4c9a chore: Reformat ZenWorkspaces.mjs 2024-09-12 21:48:05 -07:00
Bryan Galdámez
e178b09a35 feature(zenThemesImporter): write saved preferences to dom on startup 2024-09-12 21:26:51 -06:00
mauro-balades
89f28b307d Refactor ZenSidebarManager.mjs to remove console.log statement
Refactor ZenWorkspaces.mjs to remove console.log statements
2024-09-12 19:54:28 +02:00
mauro-balades
c9c5c94e8d Refactor ZenWorkspaces.mjs to return an array with contextId and a boolean flag 2024-09-11 23:44:44 +02:00
mauro-balades
b372ec2694 Refactor ZenWorkspaces.mjs to fix parsing of workspace icons and improve workspace creation
- Refactor ZenWorkspaces.mjs to fix parsing of workspace icons and ensure compatibility with icons that have more than one character.
- Improve workspace creation by displaying the first character of each icon and adding container information.
2024-09-11 22:54:17 +02:00
mauro-balades
014161404d Refactor ZenWorkspaces.mjs to fix parsing of workspace icons 2024-09-11 21:07:49 +02:00
mauro-balades
831801add3 Refactor tab navigation logic and add contextChangeContainerTab method 2024-09-11 20:59:02 +02:00
HarryHeres
4955c19c25
Fixing macOS keybind issues 2024-09-10 13:26:16 +02:00