mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 11:25:32 +02:00
Some components used by @zen-browser as an attempt to make firefox forks a better place
(Archived and Privated on Nov 4 2024 - neccesarry for older Zen builds)
This commit refactors the `ZenPinnedTabManager` class to separate the initialization of pinned tabs from the handling of pinned tab events. - **Initialization:** The `initTabs()` method is now responsible for initializing the pinned tab storage, waiting for the session store to be initialized, and then refreshing the pinned tabs. - **Event handling:** The `init()` method focuses on setting up the event listeners and observers for pinned tabs. This separation improves the code structure and allows for better handling of pinned tab initialization, which was previously problematic due to the asynchronous nature of the process. Additionally, this commit includes minor fixes and improvements: - Removed the `TabClose` event handler, as it is currently causing issues with the tab deletion process. - Added a check to prevent duplicate pinned tab attributes. - Improved the way favicons are set for pinned tabs. |
||
---|---|---|
src | ||
.gitattributes | ||
.gitignore | ||
COPYRIGHT | ||
LICENSE | ||
README.md | ||
zen-alpha-tangerine.svg |
Components
Some components used by @zen-browser as an attempt to make firefox forks a better place
License
Zen Core Components © 2024 by Zen's Team is licensed under CC BY-SA 4.0