Commit graph

91 commits

Author SHA1 Message Date
mr. m
025f994c62
fix: enhance tab unloading logic with permitUnload check and update candidate version and update to firefox 136.0.2 2025-03-18 15:46:13 +01:00
mr. m
7e55497e20
Fixed tabs opening on the essentials container 2025-03-11 19:07:47 +01:00
mr. m
1729b553a4
Fixed changing icons on an extensial tab 2025-03-09 23:34:53 +01:00
mr. M
5484aea042
Enhance tab movement functionality with error handling and style reset for dragged tabs 2025-03-07 17:39:05 +01:00
mr. m
ea245cd213
Common fixes before releasing 2025-03-07 13:26:11 +01:00
mr. M
8ed5b50c3d
Fix tab label handling and improve pinned tab state management; ensure static labels are correctly set and cached. 2025-03-06 16:06:15 +01:00
mr. M
b93faff771
Fix CSS width calculation for expanded sidebar and correct typo in opacity removal; ensure proper tab icon updates on pinning. 2025-03-06 15:25:06 +01:00
mr. M
162e6abcc1
Enhance tab icon handling and improve event detection in ZenViewSplitter; update version numbers in surfer.json 2025-03-05 20:02:10 +01:00
mr. M
c78cafe605
Refactor CSS styles for zen components and update tab icon handling in ZenPinnedTabManager 2025-03-04 20:46:57 +01:00
mr. M
7ca57da6fe
Refactor tab addition logic and streamline tab filtering in Zen components 2025-03-02 21:36:53 +01:00
mr. M
0cb7b0af95
Refactor tab management and drag-and-drop functionality; improve animation durations and conditions for splitting tabs. 2025-03-02 21:36:31 +01:00
mr. m
ff25a5b432
Fixed reordering tabs not being correctly saved 2025-03-02 11:30:10 +01:00
mr. M
fd8a56762d
Refactor pinned tab management and improve initialization logic 2025-03-02 10:41:14 +01:00
mr. M
fae2187394
Enhance split view tab management and styling adjustments 2025-03-01 23:01:29 +01:00
mr. m
30a7bd49a9
Fixed creating essentials being in the wrong order and fixed watermark not waiting enough time 2025-02-28 22:57:41 +01:00
mr. M
18d62429bf
Started working on folders implementation and better split view integration 2025-02-26 23:51:38 +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
12891ab238
Refactor tab management and styles for improved functionality and user experience 2025-02-23 21:53:07 +01:00
mr. m
1d909c661e
Removed previously selected tab when initializing pinned tabs 2025-02-23 09:10:20 +01:00
mr. M
faf136756c
Enhance ZenPinnedTabManager to set default user context ID for new tabs and adjust tab insertion logic for better positioning 2025-02-22 00:58:13 +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
bb7c400855
Fix welcome screen preference setting and optimize dot removal logic in gradient generator 2025-02-21 20:18:27 +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
16f242da13
Remove unnecessary wait for session store restoration in pinned tabs refresh 2025-02-21 16:07:40 +01:00
mr. M
12cc944728
Remove static label attribute from pinned tabs on unpinning 2025-02-21 15:41:02 +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
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
41938191c7
Fixed trying to unload an about:* page rendering the browser useless 2025-02-19 17:50:48 +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
cc52ec2b71
Refactor CSS styles for zen-theme and zen-welcome; improve responsiveness and adjust icon sizes 2025-02-19 10:09:00 +01:00
mr. M
c0d732da7c
Fixed pinned tabs initialization when restoring 2 windows 2025-02-18 16:41:46 +01:00
mr. M
b8baca2100
Allowed renamed pinned tabs to persist across sessions 2025-02-17 21:43:30 +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
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
697db429f6
Refactor zen-theme.css to improve toolbar background transparency handling 2025-02-15 00:45:07 +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
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
869c2eb8b2
Refactor pinned tab management and improve event handling for workspace initialization 2025-02-14 11:29:25 +01:00
mr. M
e387652c8b
HUGE: handle workspaces as individual containers instead of a single list of tabs 2025-02-11 22:01:41 +01:00
mr. M
da04a7a629
Enhance tab management by allowing drag-and-drop functionality with the workspace indicator and adjust URL bar primary adjustment timing 2025-02-07 23:36:07 +01:00
mr. m
4824404636
Fixed sidebar icons 2025-02-06 13:56:25 +01:00
mr. M
01d9fc31c1
Enhance ZenUIManager and ZenPinnedTabManager for improved tab drag-and-drop behavior and URL bar handling 2025-02-03 20:27:03 +01:00
mr. M
88fbae4bec
Refactor ZenPinnedTabManager and ZenUIManager for improved tab closing behavior and URL bar handling 2025-02-03 19:42:28 +01:00