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

66 commits

Author SHA1 Message Date
mr. M
e26ff172c8
Add tab icon change handling and enhance tab background styles 2025-01-11 22:54:04 +01:00
mr. M
8562cfb813
Refactor tab closing logic to handle new tab creation when closing the last unpinned tab and prevent reentrancy issues during window closure 2025-01-11 16:50:00 +01:00
mr. M
3aaed105cc
Update Firefox version to 134.0 and dependency to @zen-browser/surfer 1.9.1 2025-01-07 17:58:57 +01:00
mr. M
76cc2fdb25
Refactor compact mode initialization and sidebar flashing logic for improved performance 2025-01-05 17:21:22 +01:00
mr. m
6291e65165
Revert "fix: don't flash compact sidebar when opening glance" 2025-01-05 17:03:10 +01:00
mr. m
6b2239212c
Merge pull request #4158 from flexagoon/patch-1
fix: don't flash compact sidebar when opening glance
2025-01-05 16:59:48 +01:00
mr. M
d9417a9aa9
Refactor tab handling and URL bar behavior for improved visibility and interaction in Zen mode 2025-01-04 21:45:30 +01:00
mr. M
0a5db20cb8
Update pre-commit hook and upgrade lint-staged to version 15.3.0 2025-01-04 02:07:53 +01:00
mr. M
d91c9dc41f
Add smooth scroll preference for tab startup and adjust visibility logic 2025-01-04 00:13:46 +01:00
Pavel Zolotarevskiy
9bf6b6ec4a
fix: don't flash compact sidebar when opening glance
Flashing the sidebar when opening glance is unnecessary, as the user explicitly opens the glance tab so there are no new information presented to the user in the sidebar.

On the other hand, the sidebar partially covers the glance tab, meaning that the user has to wait for a while before seeing the tab content, which breaks the flow.

Closes #3351

Signed-off-by: Pavel Zolotarevskiy <code@fxgn.dev>
2025-01-03 21:15:31 +03:00
mr. M
73e9b64926
Add method to count visible zen-essential tabs for improved tab management 2025-01-02 15:59:25 +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
0f89478df6
Update essential-add icon SVG and improve tab handling logic for pinned tabs 2024-12-31 16:17:29 +01:00
mr. M
a389621cf1
Update dependencies and modify branding for stable release 2024-12-30 23:19:11 +01:00
mr. M
c67fc71069
Added options for floating urlbar, fixed macos weird window control positioning, added newtab animations, fixed top toolbar hiding when hovering reload button and new URLBar UI 2024-12-13 00:49:43 +01:00
mr. M
7e9153171a
Fixed opening tab in a new container not changing the tab to the correct forced workspace 2024-12-08 11:39:42 +01:00
mr. M
f35cc90ea4
Enhance animations and sidebar panel styles for improved UI transitions 2024-11-28 18:29:22 +01:00
mr. M
4fddfe4f6b
Fix pinned tab count reference to use _numVisiblePinTabs for accurate visibility handling 2024-11-28 01:31:33 +01:00
mr. M
5497016015
Refactor tab handling logic to improve readability and maintainability 2024-11-27 19:47:51 +01:00
mr. M
15617953ab
Update Zen Browser to version 133.0 and enhance UI consistency with various CSS adjustments 2024-11-26 23:57:38 +01:00
Kristijan Ribarić
245f477760 Prevent creating new window for dragging pinned tab out of the window. 2024-11-20 10:02:30 +01:00
mr. m 🤙
9d328b3aff
Merge pull request #2904 from kristijanribaric/feature/add-reset-to-base-url-button-to-pinned-tabs
Feature: Add reset to pinned URL button to pinned tabs
2024-11-11 22:06:04 +01:00
kristijanribaric
b323333bd1
Prevent pins deletion from database on non explicit tab closes (window closing) (#2903)
Previously, if you had multiple windows opened and you closed one, it could trigger TabClose event and delete the pins from zen_pins table. With this change the pins are deleted only on explicit tab closing from tab context menu.
2024-11-11 20:51:46 +01:00
Kristijan Ribarić
38898ab45e (feat) Add reset to pinned URL button to pinned tabs
This commit introduces a "Reset" button to pinned tabs, allowing
users to quickly revert a tab to its stored base URL.  The button
is visible on hover for non-essential pinned tabs and hidden
for essentials.  Clicking the button triggers a
reset action managed by `gZenPinnedTabManager`.

The visual style of the button is defined using the "reload"
icon and follows the styling of other tab buttons.
2024-11-11 15:48:50 +01:00
mr. M
1c7c6b2a0f
Enhance Zen animations and glance functionality with improved styles and closing behavior 2024-11-10 18:20:23 +01:00
Kristijan Ribarić
014602266b Correctly set the base pinned url and title for migrating from previous version. 2024-11-07 16:20:46 +01:00
mr. M
6d5dcbe89f
Adjust tab height calculations and improve icon state handling in ZenStartup and ZenPinnedTabManager 2024-11-06 20:31:20 +01:00
mr. M
649d82425a
Added zen essentials! 2024-11-04 19:34:32 +01:00
mr. M
aa74a68ca8
Refactor zen-components and zen-styles/zen-tabs/vertical-tabs.css 2024-11-03 13:44:33 +01:00
mr. M
b58f7a0c4d
Update subproject commit in zen-components 2024-11-01 17:26:52 +01:00
mr. M
e433c5160a
Update subproject commit in zen-components 2024-10-31 22:18:30 +01:00
mr. M
04dd345ef4
Fixed unloaded tabs can't be opened (closes #2436) 2024-10-31 14:26:17 +01:00
mr. M
ef0b6d947e
Fixed moving multiple tabs causing glitches sometimes 2024-10-30 15:42:33 +01:00
mr. M
a8d2773f5d
Fix animation and layout issues in tabs.js 2024-10-30 13:48:08 +01:00
mr. M
d978d35533
Added expand to fullscreen for glance 2024-10-30 12:45:22 +01:00
mr. M
1a906b746e
Update firefox version to 132.0 2024-10-29 18:08:56 +01:00
mr. M
4783f264df
Fixed animations for glance 2024-10-29 10:21:47 +01:00
mr. M
2e9c147c44
Added the old unread attribute for tabs 2024-10-24 21:09:57 +02:00
Kristijan Ribarić
15ddd0f680 Fix: Open new tab when last unpinned tab is closed in workspace and no pinned tabs are loaded
Added a preference to keep default behavior or apply the new one.
2024-10-20 17:44:14 +02:00
mr. M
bbdd6684fe
Fixed tabs moving not closing expand on hover sometimes 2024-10-19 20:14:11 +02:00
kristijanribaric
0150e6d689
Fix: Open external links in workspace's default container (#2081)
* Fix: Pass `fromExternal` to `ZenWorkspaces.getContextIdIfNeeded`

* Add allowInheritPrincipal to ZenWorkspaces.getContextIdIfNeeded
2024-10-13 23:48:39 +02:00
Kristijan Ribarić
fdd99cb8d6 Fix: Refactor pinned tab management and remove unnecessary attribute checks
This commit refactors the pinned tab management code to improve clarity and reduce redundant checks.

The following changes were made:

- Moved pinned tab logic to a dedicated `gZenPinnedTabManager` class.
- Removed unnecessary attribute checks for `zen-pinned-url`, `zen-pinned-title`, and `zen-pinned-icon` as these are now handled by the `gZenPinnedTabManager` class.
- Simplified session restore logic for pinned tabs.
- Updated the pinned tab context menu logic to utilize the `gZenPinnedTabManager` class.
- Removed unnecessary code blocks related to pinned tabs.

These changes improve the overall readability and maintainability of the pinned tab management code.
2024-10-08 15:00:11 +02:00
Kristijan Ribarić
8c42614427 feat(pinned-tab-manager): Add restore pinned tabs to pinned url option
This commit introduces a new option to the pinned tab manager that allows users to restore pinned tabs to their pinned URL and title, even if the current tab has a different URL.

- Adds a new preference `zen.pinned-tab-manager.restore-pinned-tabs-to-pinned-url` to control this behavior.
- Updates the tab browser, tab state, and preferences code to support the new option.
- Adds a new UI element in the settings to allow users to enable/disable this feature.

This feature enhances the pinned tab manager by providing more control over how pinned tabs are restored when the browser is restarted.
2024-10-08 15:00:10 +02:00
Kristijan Ribarić
b185773daf feat(pinned-tab-url-reset): add option to reset pinned tab to originally pinned url
Adds a new setting to enable or disable pinned tab url resetting on pressing close tab shortcut.

Persists pinned tab url and label on browser closing.
2024-10-08 15:00:10 +02:00
mauro-balades
996c292916 Refactor tab width calculation in tabs.js 2024-09-25 21:37:39 +02:00
mauro-balades
22eb216a3d Refactor ZenCustomizableUI and update keyboard shortcuts preferences 2024-09-23 20:23:08 +02:00
mauro-balades
6c77a913ff Refactor ZenCustomizableUI and update keyboard shortcuts preferences 2024-09-23 18:15:22 +02:00
mauro-balades
630d1a89c8 Refactor SURFER_COMPAT handling in sign.ps1 2024-09-16 22:53:54 +02:00
mauro-balades
a546d053ae Allow pinned tabs to be for each individual workspace 2024-09-13 22:52:30 +02:00
mauro-balades
6d3b20062e Refactor Zen Workspaces preferences and hide default container indicator 2024-09-11 23:44:47 +02:00