1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 02:06:24 +02:00
Commit graph

183 commits

Author SHA1 Message Date
mr. m
a5051e116a
FIxed opening bookmarks not inheriting 2025-02-25 13:36:22 +01:00
mr. m
3358d0e3d7
Fixed tabs being reordered 2025-02-25 13:04:15 +01:00
mr. m
ca183c7de6
Common fixes and optimizations 2025-02-25 12:30:33 +01:00
mr. m
35f38a116a
Fixed common issues when opening the settings page on the same workspace 2025-02-24 20:07:30 +01:00
mr. m
b844859799
Fixed getting an empty tab user context ID 2025-02-24 13:48:54 +01:00
mr. m
41617183ab
Fixed reordering tabs with glance and hidden tabs in workspaces 2025-02-24 10:22:13 +01:00
mr. M
9aa48b2645
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-02-24 08:08:11 +01:00
mr. M
20ab35fbf9
Refactor pinned tab management to improve tab insertion logic and error handling 2025-02-24 08:08:01 +01:00
mr. m
c285427fe2
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2025-02-24 07:50:45 +01:00
mr. m
7468f6304c
Fixed workspaces not showing previous tabs 2025-02-24 07:49:53 +01:00
mr. M
60e2cab249
Add logic to conditionally hide non-essential tabs in pinned tab management 2025-02-23 22:11:58 +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