Commit Graph

1469 Commits

Author SHA1 Message Date
Kristijan Ribarić
a6e446e5cf Fix: Update pinned tab title in storage on rename
This commit addresses an issue where renaming a pinned tab wouldn't update the title stored in `ZenPinnedTabsStorage`.

The following changes were made:

- Modified `ZenUIManager.mjs` to asynchronously call `ZenPinnedTabsStorage.updatePinTitle` when a tab is renamed via the keyboard. This ensures the stored title is synchronized with the displayed title.
- Added the `updatePinTitle` function to `ZenPinnedTabsStorage.mjs`. This function updates the title of a zen pin within the database.

This ensures consistency between the tab title displayed in the UI and the title stored for pinned tabs.
2025-02-17 15:56:57 +01:00
mr. M
2835104029 Add new SVG icons and update CSS for bookmarks toolbar 2025-02-17 01:08:08 +01:00
mr. M
cf3de23515 Refactor tab movement logic and improve workspace animations 2025-02-17 00:27:20 +01:00
mr. M
febeeb96f0 Prevent essential tabs from being added to workspaces and adjust tab insertion order in workspace sections 2025-02-16 22:25:12 +01:00
mr. M
0f6bd9c806 Increase animation duration for app wrapper and transition reactivation timing 2025-02-16 21:58:48 +01:00
mr. M
415031230c Refactor CSS styles for URL bar, popups, and compact mode; add grainy background effect and adjust toast animation timing 2025-02-16 21:33:09 +01:00
mr. m
dfac1c1b98 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-02-16 19:45:10 +01:00
mr. m
0579c7affa Changed panel UI animation speend and transition function 2025-02-16 19:45:02 +01:00
mr. m
06e9a93d5e Glance will now open on any pinned tab, not just essentials 2025-02-16 19:44:08 +01:00
mr. m
5034dd3f02 Merge branch 'dev' into dev 2025-02-16 17:08:08 +01:00
mr. m
eddc804a92 Formatted the project 2025-02-16 13:39:09 +01:00
mr. m
4bc5e41c35 Trim more the urlbar on single toolbar, fixed pinned tabs issues and removed security indicator on the urlbar unless it's hovered 2025-02-16 13:17:36 +01:00
mr. m
7b6b69356c FIxed uploading twilight assets 2025-02-16 12:28:48 +01:00
mr. m
cad5703185 Fixed previous merges 2025-02-15 20:24:34 +01:00
mr. m
91e97143c9 Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-02-15 19:08:06 +00:00
mr. m
6ffe5fd249 Fixed havhing monochrome titlebar buttons not being disabled 2025-02-15 19:02:20 +00:00
mr. m
3da54549ea Added support for macos monochrome titlebar buttons, on by default 2025-02-15 19:02:20 +00:00
mr. M
a6ec05da49 Refactor CSS variables for button backgrounds and text colors to enhance theme consistency and improve hover effects 2025-02-15 19:02:20 +00:00
mr. M
47cb4e488f Add hover effect to toolbar elements in zen-workspaces.css for improved UI interaction 2025-02-15 19:02:20 +00:00
mr. M
3649d7f111 Implement toast notifications for user actions and enhance UI feedback 2025-02-15 19:02:20 +00:00
mr. M
8372671b70 Refactor animation code for tab editing to improve readability and maintainability 2025-02-15 19:02:20 +00:00
mr. M
945eec6931 Refactor tab renaming logic to ensure consistent label handling and add animation effect; update CSS for vertical tabs to improve styling 2025-02-15 19:02:20 +00:00
jso8910
2c92c61015 Deactivated listener in collapsed sidebar mode, refactored code 2025-02-15 19:02:20 +00:00
jso8910
d56f4962bf Added preference to disable tab renaming, refactored inline styles to css files, changed listener to blur, refactored code 2025-02-15 19:02:18 +00:00
jso8910
34355d8e00 Changed listener to tabContainer.addEventListener 2025-02-15 19:00:14 +00:00
jso8910
27dc41dd9e Added zen-has-static-label to session store, temporarily removed label persist functionality, rewrote tab reset to use DOM 2025-02-15 19:00:11 +00:00
jso8910
8080e2fe47 Added persisting in tab label renaming, added tab label resetting 2025-02-15 18:57:45 +00:00
jso8910
a716c99152 Fixed bug where new pinned tabs can't be renamed 2025-02-15 18:57:45 +00:00
jso8910
df30fcf37b Fixed code formatting for linter 2025-02-15 18:57:45 +00:00
jso8910
71d2bfab38 Moved rename to gZenVerticalTabsManager, changed to double click on pinned tabs 2025-02-15 18:57:41 +00:00
jso8910
62a7e70ebe Rudimentary tab renaming. Does not persist on page name change or restart 2025-02-15 18:56:51 +00:00
mr. M
8e6b4515ed Refactor vertical-tabs.css to enhance tab background styling and improve layout consistency 2025-02-15 18:56:51 +00:00
mr. m
894d237841 Fixed havhing monochrome titlebar buttons not being disabled 2025-02-15 18:48:31 +01:00
mr. m
123128bfc7 Added support for macos monochrome titlebar buttons, on by default 2025-02-15 18:37:13 +01:00
mr. M
3c3efde2e6 Refactor CSS variables for button backgrounds and text colors to enhance theme consistency and improve hover effects 2025-02-15 13:01:09 +01:00
mr. M
534627fd11 Add hover effect to toolbar elements in zen-workspaces.css for improved UI interaction 2025-02-15 11:35:51 +01:00
mr. M
60be486095 Implement toast notifications for user actions and enhance UI feedback 2025-02-15 11:23:44 +01:00
mr. M
be6cd98cec Refactor animation code for tab editing to improve readability and maintainability 2025-02-15 09:57:40 +01:00
mr. M
a5e34fc9a5 Refactor tab renaming logic to ensure consistent label handling and add animation effect; update CSS for vertical tabs to improve styling 2025-02-15 02:10:37 +01:00
mr. m
e1b57df990 Merge branch 'dev' into feature/tab-rename
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
2025-02-15 01:49:16 +01:00
mr. M
e3bcffdd6b Refactor vertical-tabs.css to enhance tab background styling and improve layout consistency 2025-02-15 01:26:32 +01:00
mr. M
697db429f6 Refactor zen-theme.css to improve toolbar background transparency handling 2025-02-15 00:45:07 +01:00
mr. M
8813c5174e Update newtabButton to newtabButtons for multiple button handling in ZenUIManager 2025-02-14 19:57:54 +01:00
mr. M
47824d8bca Simplify ResizeObserver initialization in ZenUIManager by consolidating method calls 2025-02-14 19:43:57 +01:00
mr. M
bf91ffddf3 Update visibility handling in ZenWorkspaces by replacing position styles with hidden attribute 2025-02-14 19:42:48 +01:00
mr. M
1a293fc5ff Refactor initialization logic in ZenStartup and update tab toolbar handling in ZenUIManager and ZenPinnedTabManager 2025-02-14 19:32:56 +01:00
mr. M
786a377ada Invalidate cached tabs after inserting a new pinned tab in ZenPinnedTabManager 2025-02-14 17:01:28 +01:00
mr. M
12e2781668 Format code for better readability in ZenWorkspaces 2025-02-14 16:53:03 +01:00
mr. M
5ace391a61 Fixed common bugs with workspaces 2025-02-14 16:52:46 +01:00
mr. M
31f5762efd Improve active workspace selection logic in ZenWorkspaces 2025-02-14 12:45:48 +01:00