1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-09 04:05:29 +02:00
Commit graph

173 commits

Author SHA1 Message Date
mr. m
7468f6304c
Fixed workspaces not showing previous tabs 2025-02-24 07:49:53 +01:00
mr. M
c4480f208f
Enhance tab management by tracking removal of tabs initiated by the startup page 2025-02-23 13:48:57 +01:00
mr. m
1a94159bc9
Fixed unloading a tab on startup 2025-02-23 08:41:41 +01:00
mr. m
951cdc2d51
Fixed initializing tabs on startup 2025-02-23 00:45:03 +01:00
mr. M
74728b4544
Refactor ZenWorkspaces to improve promise handling in tab switching logic 2025-02-22 20:59:13 +01:00
mr. M
7819b561ad
Refactor ZenWorkspaces to enhance tab switching logic with asynchronous handling for improved workspace management 2025-02-22 20:59:08 +01:00
mr. M
f7c0b04884
Refactor ZenTabUnloader and ZenWorkspaces to improve tab unloading logic and enhance session restoration handling 2025-02-22 18:19:57 +01:00
mr. M
6bcaab91ef
Refactor CSS styles and ZenWorkspaces logic for improved UI consistency and functionality 2025-02-22 12:35:15 +01:00
mr. M
8e64623592
Refactor tab selection and new tab handling logic in ZenWorkspaces for improved clarity and maintainability 2025-02-22 00:02:12 +01:00
mr. M
5e256b9beb
Refactor tab blurring logic in ZenWorkspaces for improved readability 2025-02-21 23:12:46 +01:00
mr. M
ec30e4c100
Refactor tab blurring logic in ZenWorkspaces for improved readability 2025-02-21 23:10:43 +01:00
mr. M
32ab4a660f
Refactor tab selection logic in ZenWorkspaces to improve clarity and maintainability 2025-02-21 23:09:30 +01:00
mr. M
df597e6452
Refactor watermark handling and improve tab switching logic for enhanced user experience 2025-02-21 18:37:53 +01:00
mr. M
68cf549df3
Adjust tab rotation angle and enhance pinned tab loading logic for improved user experience 2025-02-21 16:50:16 +01:00
mr. M
f9656c16bf
Refactor tab management and workspace state handling for improved functionality and consistency 2025-02-21 15:38:18 +01:00
mr. M
dee0016836
Implement tab pinning functionality and default workspace creation logic 2025-02-21 12:28:32 +01:00
mr. M
6b306daf21
Refactor welcome page transitions and reorganize tabs after welcome screen 2025-02-21 11:56:31 +01:00
mr. M
6771b137ea
Enhance UI styles and functionality for gradient generator, vertical tabs, and URL bar; improve tab management logic 2025-02-21 11:32:48 +01:00
mr. M
9f8dfddfa8
Refactor ZenWorkspaces initialization and enhance pinned tab management for improved performance and layout 2025-02-20 23:17:52 +01:00
mr. M
fbe81666bf
Enhance pinned tab management with reset functionality and location change handling 2025-02-20 22:30:49 +01:00
mr. M
9712ced2bf
Refactor tab management and styling for improved workspace organization and UI consistency 2025-02-20 20:34:55 +01:00
mr. m
1b091bb07f
Formatted the project 2025-02-20 13:33:43 +01:00
mr. m
c1870fee32
Fixed common issues with workspaces and the new empty tab 2025-02-20 11:53:33 +01:00
mr. m
f94d35519e
Fixed renaming workspaces not being applied 2025-02-19 20:25:51 +01:00
mr. M
37a985c936
Formatted ebdc9368da 2025-02-19 17:27:10 +01:00
mr. M
ebdc9368da
Added an Arc-like empty tab that represents no state. [zen.urlbar.replace-newtab to false to disable] 2025-02-19 17:26:30 +01:00
mr. M
ceb0e97610
Fixed changing workspaces with container specific essentials turned on 2025-02-18 21:05:54 +01:00
mr. m
a024c509c6
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-02-18 17:08:49 +01:00
mr. m
1b72cc2114
Fixed adding extra force to the swiping motion 2025-02-18 17:08:41 +01:00
mr. M
c0d732da7c
Fixed pinned tabs initialization when restoring 2 windows 2025-02-18 16:41:46 +01:00
mr. M
a64adb6b16
Add event listener for TabClose and improve separator visibility logic 2025-02-18 00:51:19 +01:00
mr. m
57071d21a7
Fixed force multiplyer to take into account sidebar width instead of scroll width 2025-02-18 00:24:11 +01:00
mr. m
657cb4c4cd
Merge pull request #5474 from kristijanribaric/add-tab-rename-persistance
Fix: Update pinned tab title in storage on rename
2025-02-17 19:16:41 +01:00
Kristijan Ribarić
57a33beb81 Fix: Properly update pinned tab titles after edit
This commit addresses an issue where edited pinned tab titles were not consistently updated across all windows and in storage.

The following changes were made:

- **ZenUIManager.mjs:** Removed redundant `pinId` variable and directly checked `zen-pin-id` attribute.
- **ZenPinnedTabsStorage.mjs:** Added `edited_title` column to the `zen_pins` table to track if a pin's title has been manually edited.  Also, the `updatePinTitle` function now accepts an `isEdited` flag (defaults to true) and updates the `edited_title` column accordingly.
- **ZenPinnedTabManager.mjs:**  The `updatePinTitle` function was added to handle the update of pin titles.  It updates the title in storage using `ZenPinnedTabsStorage.updatePinTitle`, refreshes the pinned tabs, and then iterates through all browser windows to update the labels of corresponding pinned tabs.  Also, a check was added to `_initializePinnedTabs` to set the `zen-has-static-label` attribute on tabs with `editedTitle` set to `true`.
- **ZenWorkspaces.mjs:** Added a null check for `activeWorkspaceStrip` to avoid errors when it's not available.

These changes ensure that when a pinned tab title is edited, the updated title is correctly persisted in storage and reflected across all open windows. The `edited_title` flag allows distinguishing between default titles and custom ones.
2025-02-17 17:22:44 +01:00
mr. M
cbbae1e26a
Fix CSS syntax and improve force calculation for workspace swiping 2025-02-17 12:25:12 +01:00
mr. m
c855ea5838
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-02-17 12:21:12 +01:00
mr. m
6df2c97cc5
Started using force calculations when swiping between workspaces 2025-02-17 12:21:04 +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
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
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
mr. M
c27a26eee4
Rename 'zen-browser-tabs-wrapper' to 'zen-tabs-wrapper' across multiple files for consistency 2025-02-14 11:38:00 +01:00
mr. M
46ff0020bb
Format event listener and improve attribute setting for workspace tabs 2025-02-14 11:32:40 +01:00
mr. M
869c2eb8b2
Refactor pinned tab management and improve event handling for workspace initialization 2025-02-14 11:29:25 +01:00
mr. M
48879fb6a0
Enhance workspace tab initialization and update tab toolbar on load 2025-02-13 21:15:55 +01:00
mr. M
855c36280b
Refactor tab overflow detection and adjust workspace initialization logic 2025-02-13 19:36:00 +01:00
mr. M
31ef8d2ec9
Refactor tab management and update CSS for improved layout and performance 2025-02-13 19:17:20 +01:00