6229 Commits

Author SHA1 Message Date
octaviusz
3229126f14 fix: Split view group have an extra group after session restore (#9841) 2025-08-10 17:47:20 -07:00
mr. m
7f244453fc feat: Scale down the folder icon when expanding, b=no-bug, c=folders 1.14.11b 2025-08-10 19:20:44 +02:00
mr. m
489923413f fix: Fixed moving folders unpining tabs, b=no-bug, c=tabs 2025-08-10 13:07:52 +02:00
mr. m
ddf5e8f5eb feat: Improved folders tab search suggestions and UI, b=no-bug, c=common, folders 2025-08-09 22:20:35 +02:00
mr. m
3bb8686024 chore: Move PGO builds for macos behind a pref, b=no-bug, c=configs 2025-08-09 21:57:07 +02:00
mr. m
e6b1cbd02a chore: Cleaned up macos mozconfig for packaging, b=no-bug, c=configs 2025-08-09 20:54:38 +02:00
Mr. M
f07c1a5f24 fix: Fixed splitting tabs inside groups, b=no-bug, c=no-component 2025-08-09 13:38:50 +02:00
Mr. M
2c5a7612f8 chore: Added release checks to the mozconfig, b=no-bug, c=common, configs 2025-08-09 13:33:23 +02:00
Mr. M
daae9ac98e feat: Use python3 when running mach from npm, b=no-bug, c=no-component 2025-08-09 13:26:34 +02:00
Mr. M
9e6cafa9bd fix: Fixed restoring folders when session restore is disabled, b=no-bug, c=tabs, folders 2025-08-09 13:25:32 +02:00
Mr. M
91cedcfc1a chore: Bump version and add pref for hiding the throbber, b=no-bug, c=tabs 2025-08-09 10:43:09 +02:00
mr. m
303af80dd7 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-08-09 10:27:52 +02:00
mr. m
82e0f0609a test: Added tests for split views inside folders, b=no-bug, c=tabs, folders, tests 2025-08-09 10:27:45 +02:00
mr. m
e1fcb6a985 New Crowdin updates (#9797)
* New translations zen-general.ftl (Irish)

* New translations zen-general.ftl (Korean)

* New translations zen-vertical-tabs.ftl (Korean)

* New translations zen-welcome.ftl (Korean)

* New translations zen-workspaces.ftl (Irish)

* New translations zen-workspaces.ftl (Korean)

* New translations zen-preferences.ftl (Korean)

* New translations zen-folders.ftl (Czech)

* New translations zen-folders.ftl (Irish)

* New translations zen-folders.ftl (Korean)

* New translations zen-general.ftl (Hungarian)

* New translations zen-workspaces.ftl (Hungarian)
2025-08-09 01:11:54 -07:00
mr. m
d439cb88d5 fix: Fixed newtab and separator moving when draging a folder, b=no-bug, c=tabs 2025-08-09 01:21:46 +02:00
mr. m
1bf5a2dd9e feat: Improved icon aligments, b=no-bug, c=folders 2025-08-09 01:00:43 +02:00
mr. m
da252b3d7e feat: Add margin when moving groups inside other groups, b=no-bug, c=folders 2025-08-09 00:44:10 +02:00
Mr. M
9dac7bc98d fix: Fixed drag and dropping from pinned to normal not being consistent, b=no-bug, c=tabs, folders 2025-08-08 20:40:28 +02:00
Mr. M
cbe04c223b fix: Fixed emojis having undefiend tooltips, b=closes #9361, c=common, tabs 2025-08-08 14:13:05 +02:00
Mr. M
2f6a8e8f72 chore: Updated to Firefox 141.0.3, b=no-bug, c=l10n 2025-08-08 13:37:46 +02:00
Mr. M
62fb85ded9 chore: Updated to firefox 141.0.3, b=no-bug, c=tabs, folders 2025-08-08 13:27:08 +02:00
mr. m
d51d698036 fix: Small fixes to folders, b=no-bug, c=tabs, common, folders 2025-08-08 10:26:20 +02:00
mr. m
e7add92b7c fix: Fixed repetitive haptic feedback when moving tabs to the pinned section, b=closes #9803, c=tabs 2025-08-08 09:38:10 +02:00
Mr. M
4c542e1867 feat: Improved color rendering for folder icons, b=no-bug, c=folders 2025-08-07 19:38:23 +02:00
Mr. M
afe9e7a85c feat: Added an option to limit the amount of subfolders there are, b=no-bug, c=folders 2025-08-07 19:09:33 +02:00
Mr. M
82f30e1820 feat: Improved dragging normal tabs to the pinned section, b=no-bug, c=tabs, folders, workspaces 2025-08-07 18:09:57 +02:00
Mr. M
5f2af48c4e Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-08-07 14:29:38 +02:00
Mr. M
30aab09fe2 fix: Fixed restoring folders from saved SQL backup database, b=no-bug, c=common, folders, tabs, workspaces 2025-08-07 14:29:32 +02:00
mr. m
4993c217bb Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-08-07 12:51:53 +02:00
mr. m
db8b994535 feat: Hide tab in active folder when it's discarded, b=no-bug, c=tabs 2025-08-07 12:46:07 +02:00
Mr. M
7f92d0a75a feat: Remove inline margin end for folders, b=no-bug, c=folders 2025-08-07 00:55:32 +02:00
Mr. M
3fcde9994b fix: Fixed quickly drag and droping pinned tabs to normal tabs not resetting the previous transform, b=no-bug, c=tabs 2025-08-07 00:08:51 +02:00
Mr. M
44d6eebecc perf: Fixed PGO builds failing when being generated, b=no-bug, c=workspaces 2025-08-07 00:03:23 +02:00
Mr. M
75227b7a42 feat: Open the icons on the label element, b=no-bug, c=folders 2025-08-06 23:16:15 +02:00
octaviusz
7afc934919 fix: Adjust last boundary for was-active folder (#9775) 2025-08-06 22:47:50 +02:00
mr. m
0937be6d2e New Crowdin updates (#9766) 2025-08-06 22:37:32 +02:00
Mr. M
81e69b9844 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-08-06 22:26:50 +02:00
Mr. M
4084ac4763 fix: Fixed renaming folders, b=no-bug, c=folders 2025-08-06 22:26:21 +02:00
octaviusz
8bee4eaa7c fix: Correct drag-and-drop targeting for split-view group labels (#9774) 2025-08-06 22:26:14 +02:00
Mr. M
e66bf0ef57 fix: Fixed downloads attention fill being almost invisible, b=no-bug, c=common 2025-08-06 21:23:13 +02:00
octaviusz
591dce5921 feat: Zen Folders, p=#9355, c=folders
* Start working on zen folders

* Rework zen-folder SessionStore

* Refactor restoreDataFromSessionStore

* fix linter

* Fix preserve folder order on restore

* Feat allow dragging tabs into zen-folder

* Fix ensure collapsed folders are hidden on session restore

* Feat store parentId nested folders

* feat: Implement tabs list popup

* refactor: Move tabs popup to `popups.inc`

* feat: Implement drag-and-drop folder into folder

* feat: Improved UI for search panel, b=no-bug, c=folders

* fix: Add extra margin when animating collapsed folders, b=no-bug, c=folders

* feat: Implement tab group rename and other UI changes, b=no-bug, c=folders, common

* feat: Add animated folder dots and adaptive search popup positioning

* fix: resolve conflicts

* fix: Correct active state indication for collapsed folders

* feat: Allow folders to be double clicked, b=no-bug, c=common, folders

* fix: incorrect tab order

* chore: Update prefs to the rust version, b=no-bug, c=folders

* fix: better handling of subfolders

* chore: Improve dynamic spacing when drag and dropping and fixed split views UI, b=no-bug, c=tabs, folders

* feat: Empty tab and improve drag and drop

* fix: add tab search event once

* fix: Empty tab should always be at first position

* feat: improve drag and drop interaction with folders

* feat: Improve drag-and-drop interaction for zen folders

* fix: Improve zen folder session restoration and visibility

* fix: Correct visible element indexing

* fix: Correct restore subfolder order

* feat: Use empty tabs and dont highlight current folder we currently are in, b=no-bug, c=tabs, folders

* feat: persist and restore split-view group state in subfolders

* fix: npm run pretty

* fix: dropIndicator and transform for split-view-group

* fix: Formatting

* fix: improve split group and folder drag-and-drop and persistence

* chore: Fix lint issues and merge with dev, b=no-bug, c=folders

* chore: Move folder element to a different location, b=no-bug, c=folders

* feat: Added a simple folders context menu and simplified patches, b=no-bug, c=tabs, folders

* fix: Correct active tab position in folders collapse animation

* feat: Add ungroup and delete folder actions

* fix: Fixed empty tabs not being able to be pinned, b=no-bug, c=workspaces

* feat: Added folder -> space conversion and pref checks, b=no-bug, c=folders, workspaces

* Update locales/en-US/browser/browser/zen-folders.ftl

Co-authored-by: Patrik Egyed <pregnor@gmail.com>
Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>

* fix: Fixed folders not expanding when dragging another folder inside, b=no-bug, c=folders

* refactor: Refactor and improve tab group expansion logic

* feat: New folder dots

* test: Added simple folder creation test, b=no-bug, c=folders, tests

* fix: Don't expand folder when a tab inside it is selected

* feat: Added change folder to space menu item, b=no-bug, c=folders, workspaces

* feat: Added a menu item to create folders more easily, b=no-bug, c=workspaces, common, folders

* feat: Improved animations for collapsing active folders, b=no-bug, c=folders

* fix: Insert folder before pinned separator

* test: Improve folder and welcome testing, b=no-bug, c=folders, tests, welcome

* test: Fixed welcome tests, b=no-bug, c=folders, tests, welcome

* chore: lint, b=no-bug, c=tests, welcome

* feat: Add better selected UI, b=no-bug, c=folders

* feat: Emoji icons

* fix: Better handling of drag-and-drop folder highlighting

* fix: Single quotes

* fix: Hide emoji when folder has selected tab

* feat: Improved icons and animations, b=no-bug, c=folders, tabs

* fix: Fixed fetching the wrong prefs, b=no-bug, c=tabs, folders

* fix: Smoother dot animations

* fix: dragOverFolderThreshold condition and linter

* feat: visually collapse/expand active tab groups on drag/drop

* fix: Correctly transform folder with selected tab

* feat: Added better icons picker to support SVG, b=no-bug, c=common, folders, workspaces

* fix: Correctly transform tabs after moving them

* fix: Fixed not handling properly pinned tab count, b=no-bug, c=tabs, common, folders

* chore: Small formatting, b=no-bug, c=folders

* feat: Support SVG for folder icons

* fix: Formatting

* fix: Performance improvements for SVG icons

* fix: Shift up the folder icon

* fix: Handle null/undefined user icon values defensively

* feat: Improved icon sizes and fixed bug when collapsing folders with collapsed folders, b=no-bug, c=common, folders, workspaces

* chore: Tweaked the transform values for icons, b=no-bug, c=folders

* feat: Added support for collapsed mode (experimental), b=no-bug, c=folders

* fix: ungroup split view

* fix: Improve handling of special tabs during folder creation and drag-and-drop

* fix: Formatting

* feat: Imrpoved hardware accelaration for the icons and folder height calculation, b=no-bug, c=tabs, folders

* refactor: Extract dragover logic for tab group labels

* fix: Small fixes to the folders UI, b=no-bug, c=tabs, folders

* feat: Improved icons opacity and dialog, b=no-bug, c=common, workspaces

* test: Added subfolders basic test, b=no-bug, c=folders, tests

* fix: Drop indicator for folder targets

* feat: Improved drag and drop handling from normal to pinned tabs, b=no-bug, c=folders, tabs

* fix: Fixed moving split views into pinned tabs container, b=no-bug, c=folders, tabs

* feat: Improved new drag and drop offset, b=no-bug, c=tabs

* feat: Refine folder drop behavior with new thresholds

* fix: tabs.js extra space in patch

* fix: Properly handle has-active state

* fix: Add optional chaining for activeGroups length check

* fix: Fixed moving tabs to the workspace indicator not showing any feedback, b=no-bug, c=tabs

* feat: Change svg stroke width, b=no-bug, c=folders, tabs

* feat: Remove aspect ratio for the folder icon, b=no-bug, c=folders, tabs

* feat: Don't reset transform when pining tabs, b=no-bug, c=tabs

* feat: Ungroup tabs when dragging and make sure to animate tabs after the selected one, b=no-bug, c=tabs, folders

* fix: Transform folder with active tab

* fix: Fixed expand animation not working for the first time, b=no-bug, c=folders

* feat: Add expand to selected functionality for folders

* fix: Formatting

* Update src/zen/folders/ZenFolder.mjs

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>

* Update src/zen/workspaces/ZenWorkspaces.mjs

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>

* fix: Set icon for new workspace

* fix: Formatting

* fix: Hide the icon if empty

* fix: Optimize tab drag-over transitions

* feat: Lower the drag and drop threshold, b=no-bug, c=tabs, folders

* feat: Hide search panel when theres no visible tabs, b=no-bug, c=tabs, folders

* fix: Adapt tab-group to new changes

* fix: Fixed expanding split views as folders, b=no-bug, c=folders

* feat(tabs): Implement tab grouping persistence for pinned tabs

This commit introduces the ability to group pinned tabs for better organization.

Changes include:

- Added `createGroup` to create new tab groups.
- Added `addTabToGroup` to add existing tabs to a group.
- Added `removeTabFromGroup` to remove a tab from a group (moving it to the root level).
- Added `moveTabBetweenGroups` to move tabs between different groups or to the root level.
- Added `getAllGroups` to retrieve all tab groups, optionally filtered by workspace.
- Added `getGroupInfo` to retrieve information about a specific group, including its child count.
- Added `reorderTabsInGroup` to reorder tabs within a specific group.

These functions provide a comprehensive API for managing tab groups within the Zen Browser.  Error handling and input validation are included for robustness.  Database transactions are used to ensure data consistency. Observers are notified of changes to notify the sync engine.

* feat: Improve stroke colors for light mode, b=no-bug, c=folders

* perf: cache and optimize animation updates

* fix: Expand folder after drop

* fix: Update active state on tab change

* feat: Sync groups to new windows, b=no-bug, c=folders, tabs, workspaces

* feat: Finish window syncing for new folders, b=no-bug, c=tabs, folders, workspaces

* feat: Make sure SVG icons use the context fill instead of the current color, b=no-bug, c=common, folders

* feat: Added support for drag and drop in collapsed mode, b=no-bug, c=tabs, folders

* fix: Clean up tab attributes and styles on workspace transfer

* fix: Fixed svg icons being always dark, b=no-bug, c=workspaces

---------

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
Co-authored-by: Mr. M <mr.m@tuta.com>
Co-authored-by: Patrik Egyed <pregnor@gmail.com>
Co-authored-by: Kristijan Ribarić <kriba13@gmail.com>
2025-08-06 08:59:08 -07:00
Mr. M
7cf96dde23 chore: Update new firefox patches, b=no-bug, c=no-component 1.14.10b 2025-08-05 19:16:28 +02:00
mr. m
8908d3aa50 chore: Updated to firefox 141.0.2, p=#9760, c=l10n 2025-08-05 16:21:37 +02:00
Mr. M
7ec4e86160 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-08-04 16:53:54 +02:00
Mr. M
203d1ba701 fix: Fixed split views not being shown from the context menu, b=no-bug, c=split-view 2025-08-04 16:53:50 +02:00
mr. m
96a307bafa New Crowdin updates (#9736) 2025-08-04 16:34:52 +02:00
Mr. M
f4cec5f210 test: Fixed startup tests not initializing l10n correctly, b=no-bug, c=common 2025-08-03 12:51:36 +02:00
Mr. M
a7874ca46e feat: Load l10n newtab message after loading, b=no-bug, c=common 2025-08-02 22:41:13 +02:00
mr. m
1bca252979 New Crowdin updates (#9700) 2025-08-02 20:51:31 +02:00
Mr. M
3ba805802a fix: Fixed deleting a workspace and restarting, b=no-bug, c=glance, split-view, workspaces 2025-08-02 20:50:48 +02:00