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
mr. M
61190233fc
Enhance tab management by updating tab close handling and improving tab drag-and-drop functionality
2025-02-02 14:25:05 +01:00
mr. M
4975ff6fdc
Add Linux-specific padding for toolbox and clean up drag indicator calculations
2025-01-31 23:54:26 +01:00
mr. M
7b41eb753d
Refactor tab drag-and-drop functionality and enhance drag indicator styling
2025-01-31 23:02:13 +01:00
Kristijan Ribarić
384e268516
Fixes after rebase
2025-01-31 20:11:48 +01:00
Kristijan Ribarić
d3a04d043b
Enhance Zen Tab Reordering: Add drag-and-drop between tab containers (normal tabs, pinned and essentials)
...
This commit enhances the drag-and-drop functionality in Zen, allowing users to seamlessly reorder tabs between the pinned tabs, essential tabs, and regular tab containers. The changes include:
- Added `moveToAnotherTabContainerIfNecessary` and `applyDragoverClass` methods to `ZenPinnedTabManager` to handle tab movement and visual feedback during drag-and-drop.
- Updated `tabs.js` to integrate with the new methods, correctly handling tab pinning and unpinning, and essential tab toggling during reordering.
- Added CSS classes and styles to visually indicate the drop position (before or after) a target tab during the drag operation. This improves user experience and clarity.
2025-01-31 17:57:46 +01:00
mr. M
d4dd298ef8
Enhance tab management by updating the toolbar on tab close and adjusting overflow behavior for the tab browser
2025-01-27 01:23:01 +01:00
mr. M
ca1e0ffdea
Refactor tab unloading logic to use explicit unload method and remove linked panel attribute
2025-01-24 17:55:31 +01:00
mr. M
c44c63d5ce
Add debug logging for pinned tab manager and ensure session store initialization
2025-01-18 21:38:12 +01:00
mr. M
9fb04e4f7c
Add shutdown check to prevent closing pinned tabs during shutdown
2025-01-17 20:30:48 +01:00
mr. M
8e783f948f
Fixed essentials and pinned tabs not being correctly restored and race conditions when starting multiple zen windows
2025-01-17 19:01:32 +01:00
mr. M
e26ff172c8
Add tab icon change handling and enhance tab background styles
2025-01-11 22:54:04 +01:00
mr. M
7dfa6d55ba
Refactor CSS and JavaScript files for consistency; clean up whitespace and formatting
2025-01-04 02:21:45 +01:00
mr. M
2ce0eae82e
Refactor pinned tab position handling to use cached pin objects for improved performance
2025-01-02 15:40:59 +01:00
mr. M
29e7df3575
Refactor ZenPinnedTabsStorage initialization and improve workspace handling
2024-12-19 20:43:07 +01:00
mr. M
947251534f
Fixed reordering pinned tabs not saving their state
2024-12-18 19:27:23 +01:00
mr. M
d3421270b1
Added a fallback link in case we fail to fetch essentials favicon
2024-12-16 23:25:38 +01:00