Commit Graph

108 Commits

Author SHA1 Message Date
mr. m
cfe05fe248 feat: Make non-macos devices have a smaller toolbar, p=#10873, c=common 2025-10-19 20:30:36 +02:00
mr. m
f1a1557ca5 feat: Hide the control center buttons on breakout-extended, p=#10869
* feat: Hide the control center buttons on breakout-extended, b=no-bug, c=common, workspaces

* chore: Revert removing check, b=no-bug, c=common
2025-10-19 15:26:35 +02:00
mr. m
b90005dc11 feat: Added section for cross-site cookies, p=#10833, c=media, common, compact-mode, glance, tabs, workspaces 2025-10-16 15:45:05 +02:00
Mr. M
fc951e5dc1 feat: Always move the buttons to the topbar in compact mode, b=no-bug, c=common 2025-10-16 00:14:33 +02:00
mr. m
1443d8e559 fix: Fixed where top buttons should stay when entering compact mode, p=#10829, c=common, compact-mode, tabs, workspaces 2025-10-15 21:13:57 +02:00
mr. m
b5e52ed087 fix: Fixed right side tabs being out of order, p=#10826, c=common, compact-mode
* fix: Fixed right side tabs being out of order, b=no-bug, c=common, compact-mode

* chore: Fix spelling mistake, b=no-bug, c=compact-mode

* chore: Fix lint, b=no-bug, c=common, compact-mode

---------

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
2025-10-15 17:47:34 +02:00
mr. m
a46cac8203 feat: New compact mode toolbar hover, p=#10825, c=common, compact-mode, tabs 2025-10-15 16:51:46 +02:00
mr. m
9e2b0cc1ed fix: Fix tahoe popups rendering shadows and other small tweaks, b=no-bug, c=welcome, common 2025-10-14 14:28:54 +02:00
mr. m
dd5c4455fe fix: Fixed broken layout when the reload button doesn't exist, b=closes #10796, c=common 2025-10-14 11:16:09 +02:00
mr. m
3c014999d8 feat: Added copy url button and small tweaks, b=no-bug, c=common, compact-mode, folders, glance 2025-10-14 00:25:13 +02:00
mr. m
125ef4bead feat: Improve glance animation, p=#10790, c=glance 2025-10-12 14:34:52 +02:00
Mr. M
21d5273bb9 feat: Add a bounce to the glance element float and format, b=no-bug, c=common, glance 2025-10-11 00:21:01 +02:00
mr. m
2dc98fa7f7 chore: Updated to Firefox 144.0, p=#10725, c=l10n, tabs, media, common, tests, workspaces 2025-10-07 23:06:47 +02:00
Mr. M
9f42abf789 feat: Restore top toolbar compact mode, b=no-bug, c=tabs, compact-mode, common 2025-10-07 01:06:16 +02:00
mr. m
3ac31a96a6 feat: New site data popup, p=#10651 2025-10-05 18:56:41 +02:00
mr. m
32944f1548 fix: Fixed bookmarks not hiding when opening folders, b=closes #10612, c=common 2025-09-29 10:43:22 +02:00
Mr. M
b1d6e0eb21 feat: Small tweaks to the command bar animations, b=no-bug, c=common 2025-09-28 00:59:00 +02:00
mr. m
45f0fd503c feat: Fixed delay and animations for the omnibox, b=no-bug, c=common 2025-09-27 09:31:05 +02:00
mr. m
403d5ae92e feat: Add learning for omnibox commands, p=#10564 2025-09-27 00:53:25 +02:00
Mr. M
a18dc63437 perf: Improved performance for ocmpact mode polyfill and resize observers, b=no-bug, c=common, compact-mode, workspaces 2025-09-25 13:21:34 +02:00
Mr. M
ed492568e6 fix: Small fixes when cancelling new empty split view, b=no-bug, c=common, split-view, workspaces 2025-09-22 23:08:11 +02:00
reizumi
cdd7479f8c fix: remove extra spaces between words when renaming a tab/folder, p=#10431 2025-09-19 13:41:32 +02:00
mr. m
56eb600d1f fix: Fixed invalid 'create new' uses, b=no-bug, c=common, tabs 2025-09-19 00:46:51 +02:00
Mr. M
ac382264c3 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-09-17 16:09:00 +02:00
Mr. M
16ec5b36c1 feat: Fixed issue with workspace changes getting stuck, b=bug #9334, c=common, compact-mode, glance, split-view, tests, workspaces 2025-09-17 16:08:55 +02:00
mr. m
9a17443b93 fix: Fixed compact mode using the wrong background for blending, b=no-bug, c=compact-mode, common, tabs 2025-09-17 15:08:52 +02:00
mr. m
801533bf26 feat: Decrease the amount of maximum width of the omnibox, b=no-bug, c=common 2025-09-16 23:35:54 +02:00
mr. m
b0c53ed068 feat: Polished split view creation and fixed minor details, b=no-bug, c=tabs, common, compact-mode, folders, glance, split-view, workspaces 2025-09-16 17:10:31 +02:00
mr. m
2915c5861c Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-09-15 17:03:59 +02:00
mr. m
01122c63fb feat: Overall cleanup for schemes, b=no-bug, c=common, tabs 2025-09-15 17:03:03 +02:00
Mr. M
e6882a42d6 feat: Added empty splits support and more urlbar actions, b=no-bug, c=workspaces, common, kbs, split-view, tests 2025-09-14 17:41:12 +02:00
mr. m
9ce963f1cd feat: New urlbar actions, c=common, p=#10340 2025-09-13 01:35:38 +02:00
mr. m
5933c55c13 chore: Update to Firefox 143.0, c=l10n, common (#10304) 2025-09-11 18:00:10 +02:00
Mr. M
e0a750e253 fix: Fixed using scrollbar on tabs moves the window around, b=closes #9699, c=common, compact-mode, folders, tabs, workspaces 2025-09-03 18:35:38 +02:00
Mr. M
eedc5b7307 fix: Fixed moving tabs to different workspaces, b=no-bug, c=common, folders, split-view, workspaces 2025-08-30 15:00:20 +02:00
Mr. M
07381c9a7a feat: Added pref for context menu refresh, b=no-bug, c=common, tabs 2025-08-30 14:33:21 +02:00
mr. m
a3adc1a33e fix: Fixed aligment issues with the urlbar and workspace name, b=no-bug, c=common, workspaces 2025-08-25 19:51:46 +02:00
Mr. M
c673db42aa feat: Small quality checks before release, b=no-bug, c=folders, common, tabs 2025-08-25 14:11:54 +02:00
Mr. M
5feef90401 fix: Fixed chrome.xhtml not rendering on tabs, b=closes #9989, c=common 2025-08-25 10:09:46 +02:00
Mr. M
9dff069011 feat: Added zen.tabs.open-pinned-in-new-tab pref, b=no-bug, c=common, compact-mode, folders 2025-08-23 19:58:40 +02:00
Mr. M
a4c47565be fix: Fixed flashing the urlbar when there are mutations on the DOM, b=no-bug, c=common 2025-08-21 10:59:49 +02:00
Mr. M
04105c3c5e fix: Fixed windows control butons can be seen when switching compact mode, b=closes #9922, c=common 2025-08-19 01:42:55 +02:00
mr. m
c8e58ad525 fix: Fixed flashing on essential tabs when switching workspaces, b=no-bug, c=configs, common, folders, workspaces 2025-08-15 20:13:29 +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
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
36fe38c145 feat: Improve startup time and reduce initial animations, b=bug #6997, c=common, workspaces 2025-07-30 11:41:09 +02:00
mr. m
d21e6c4274 chore: Bump motion version, p=#9677, c=vendor 2025-07-29 00:39:49 +02:00
mr. m
6641152100 chore: Implemented static linting for JS modules, p=#9673, c=common 2025-07-28 21:08:31 +02:00
Mr. M
bdab8a62a3 fix: Fixed holding down ctrl+T repeatedly retrigering the searvh popup, b=closes #9621, c=common 2025-07-28 17:26:59 +02:00
mr. m
dfd2830ceb test: Added tests for split view, p=#9667, c=tests 2025-07-28 17:05:23 +02:00