Commit Graph

1973 Commits

Author SHA1 Message Date
Equinoxx
bc54087161 Fixed typo in IMPORTANT.md
Fixed minor typo

Signed-off-by: Equinoxx <89617359+Equinoxx4978@users.noreply.github.com>
2024-11-21 20:34:12 +11:00
mr. M
10b9f03410 feat: add top buttons separator in Zen UI manager; update icon references and clean up styles 2024-11-21 00:30:55 +01:00
Kristijan Ribarić
01c8032f20 Fix: Handle essential tabs and container-specific essentials
Refactor workspace switching logic to correctly handle
essential tabs and introduce container-specific essentials.

This change addresses issues with essential tabs not being
handled correctly during workspace switches.

The `changeWorkspace` function is refactored to improve
clarity and maintainability.  The logic for showing and
hiding tabs is streamlined, and tab selection is handled
more robustly.  A new `_shouldShowTab` function is
introduced to centralize the logic for determining tab
visibility based on workspace and container settings.  The
logic also handles pinned essential tabs in the different workspace types.

The pinned tab manager is updated to support container-
specific essentials and to refresh pinned tabs on workspace
changes.  The `_shouldShowPin` function is introduced to
manage visibility of pinned tabs in different workspaces
considering essential tabs, pinned tabs and containers.

This change also fixes a bug where the selected tab would
sometimes be changed unexpectedly when switching
workspaces.
2024-11-20 10:05:07 +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
47a8e8e9fd Merge branch 'dev' of https://github.com/zen-browser/desktop into dev 2024-11-19 22:20:16 +01:00
mr. M
30b14a619d fix: remove unnecessary tabbar expand form initialization in Zen settings 2024-11-19 22:20:10 +01:00
mr. M
f3cf51f7ac fix: add unified extensions button to top buttons in Zen UI manager; clean up vertical tabs CSS 2024-11-19 22:19:48 +01:00
mr. m 🤙
2f79e110c4 Merge pull request #3113 from kristijanribaric/fix-pinned-tabs-showing-in-wrong-workspace
(feat) Hide pinned tabs not in active workspace
2024-11-19 22:06:59 +01:00
Kristijan Ribarić
38e09d84fd (feat) Hide pinned tabs not in active workspace
When a new pinned tab is opened and it does not belong to the
currently active workspace and is not marked as essential, it
will now be hidden.  This prevents pinned tabs from cluttering
the tab bar when switching between workspaces.

The global variable for the pinned tab manager has also been
renamed from `gZenPinnedTabManager` to
`_initializePinnedTabs`.
2024-11-19 22:06:23 +01:00
mr. m 🤙
bc49f3813f Merge pull request #3064 from conventoangelo/fix/sound-icon
Fix: Correct sound tab icon overlay style
2024-11-19 22:04:06 +01:00
mr. M
37848357b3 style: adjust padding and margin for vertical tabs; enforce width and padding with !important for consistency 2024-11-19 22:00:14 +01:00
mr. M
de81eeb2b2 fix: update default placements for toolbar buttons and enhance tab styles with important flags 2024-11-19 21:49:26 +01:00
mr. M
aac1b25a2e fix: disable single toolbar preference in Zen browser settings 2024-11-19 20:55:42 +01:00
mr. M
b094d8322a refactor: update styling and structure of Zen UI components; remove deprecated toolbar styles and adjust margins for better layout 2024-11-19 20:51:48 +01:00
mr. M
721a8cf6e3 style: enhance workspace deactivation styles with grayscale filter for better visibility 2024-11-19 19:33:26 +01:00
mr. M
1049277e17 fix: correct usage of matchMedia in ZenCustomizableUI for better compatibility 2024-11-19 17:51:52 +01:00
mr. m 🤙
44a4ce44d4 Merge pull request #3108 from zen-browser/toolbar-redesign
Toolbar redesign
2024-11-19 17:49:00 +01:00
mr. M
7e9f900f35 feat: enhance ZenThemeMarketplace functionality by injecting marketplace API and refining theme installation process 2024-11-19 00:52:47 +01:00
mr. M
ec681b841e refactor: move sidebar height throttle and content element separation to ZenUIManager; streamline tab toolbar updates 2024-11-19 00:10:30 +01:00
mr. M
a4002a49cc refactor: remove unused animations and simplify workspace button styles 2024-11-18 23:18:50 +01:00
mr. M
032954be2b feat: enhance zen styles for toolbar, sidebar, and tabs; adjust layout and padding 2024-11-18 23:14:50 +01:00
Angelo Convento
2e7840bfcd Fix: Added !important to fill property 2024-11-17 10:42:51 +00:00
Angelo Convento
b0afe6c828 Merge branch 'dev' into fix/sound-icon 2024-11-17 16:50:22 +08:00
Angelo Convento
bf281c2e36 Fix: Correct sound tab icon overlay style
Changes the fill of the tab icon overlay to white no matter if in
light/dark mode. Also removes the background image of the default sound
icons from Fierfox.
2024-11-17 16:40:03 +08:00
mr. m 🤙
95ff7afa98 Merge pull request #2924 from programORdie2/dev
Style: make the URL bar more rounded
2024-11-16 11:41:11 +01:00
mr. m 🤙
da30d196da Merge pull request #3033 from kristijanribaric/fix/restore-pinned-tabs-to-base-url-on-startup-when-setting-is-checked
Fix: Restore pinned tabs to their pinned URLs on startup if the option is checked
2024-11-16 11:40:54 +01:00
mr. M
1b9ada13a2 feat: update zen-cool-toolbar styles to enhance background and navbar appearance 2024-11-16 11:29:19 +01:00
mr. M
66b215b44b feat: add zen-cool-toolbar styles and adjust layout for sidebar and workspace indicators 2024-11-16 10:27:46 +01:00
pc-v2
597f7dbeb8 Add _moveWindowButtons support for -moz-gtk-csd-reversed-placement
I add 'or' operator to set window buttons if  -moz-gtk-csd-reversed-placement is true

Signed-off-by: pc-v2 <58063311+pc-v2@users.noreply.github.com>
2024-11-16 10:11:26 +07:00
Kristijan Ribarić
62d5684435 Fix: Restore pinned tabs to their pinned URLs on startup if the option is checked
This change modifies the pinned tab initialization logic to restore
pinned tabs to their original pinned URLs when the browser starts.
Previously, pinned tabs would open to their last visited URL, even if the option for restoring them to the pinned URL was checked.
2024-11-15 13:35:10 +01:00
mr. M
057d258660 Fixed workspace indicator appearing when workspaces are disabled 2024-11-13 23:35:43 +01:00
mr. M
ec433fa852 fix: correct typo in essential tab attribute to prevent changing selected tab 2024-11-13 23:33:58 +01:00
mr. M
6185f421b8 fix: prevent changing selected tab for essential tabs and update version to 132.0.2 2024-11-13 23:23:49 +01:00
mr. m 🤙
ab7ae3f89a Merge pull request #2879 from kristijanribaric/fix/change-order-of-tab-context-menu-items
Display Add to Essentials tab context menu item before Pin Tab
2024-11-13 23:12:41 +01:00
mr. m 🤙
693963b072 Merge pull request #2947 from kristijanribaric/feature/add-option-to-make-essentials-container-specific
Feature: container specific Essentials
2024-11-13 23:07:56 +01:00
Kristijan Ribarić
bc45092e03 Added a pref to make essentials container specific, i.e. if a workspace has a container assigned to it, on that workspace only essentials opened in that container will be visible. 2024-11-12 10:44:12 +01:00
mr. M
4b6068e13b Hide reset button in vertical tabs and adjust CSS for better styling 2024-11-11 22:59:52 +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
Tanay Kar
14211536d8 Added zen-profile selector active style (#2908)
Provides a change in background colour for the profile selector items on click (active) , similar to the main menu styles

Signed-off-by: Tanay Kar <93914273+Tanay-Kar@users.noreply.github.com>
2024-11-11 22:05:32 +01:00
Jai A P
9a7351b1f9 Fix inconsistent cursor when resizing P2 (#2916)
* Update ZenViewSplitter.mjs

Signed-off-by: Jai A P <jai.jap.318@gmail.com>

* Update ZenSidebarManager.mjs

Signed-off-by: Jai A P <jai.jap.318@gmail.com>

---------

Signed-off-by: Jai A P <jai.jap.318@gmail.com>
2024-11-11 20:55:45 +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
kristijanribaric
8724d6f836 Fix pinned tab state and favicon handling (#2853)
Fixes several issues related to pinned tab restoration and
favicon display:

- Ensures pinned tabs are not loaded in private windows.
- Improves favicon caching and setting for pinned tabs.
- Fixes an issue where the tab state was not properly
  restored, leading to incorrect icons and titles.
- Uses base64 encoded favicon data to prevent issues with
  favicon loading and updates the favicon loading logic to
  be more robust.
- Adds a call to `gBrowser._updateTabBarForPinnedTabs` to
  ensure the tab bar is updated correctly after restoring
  pinned tabs, which fixes a UI issue where the tab bar
  wouldn't refresh properly until interacted with.
- Improves tab initialization by explicitly calling
  `newTab.initialize()` after restoring a pinned tab. This
  fixes an issue with tabs not rendering
  icon and label after being restored.

The changes improve the reliability of pinned tab
restoration and ensure that favicons are displayed
correctly.
2024-11-11 20:48:27 +01:00
programORdie
18ddbf986c Style: make the URL bar more rounded 2024-11-11 20:37:35 +01:00
ricky
dc55574100 Fix: update CSS selector for customization toolbar visibility button 2024-11-11 11:52:45 -05:00
ricky
98cce77e1d Fix: hide customization toolbar visibility button in CSS 2024-11-11 11:46:25 -05: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
Kristijan Ribarić
2798076bb1 Display Add to Essentials tab context menu item before Pin Tab
Add to Essentials is displayed before Pin tab context menu item so it follows the order in which the tabs are displayed in the sidebar as essentials are above pinned tabs.
2024-11-11 08:59:15 +01:00
mr. M
0e02cb14ec Fix: adjust vertical tab background opacity for improved visibility 2024-11-10 20:08:04 +01:00
mr. M
9443169283 Fix: update zen glance animations for smoother transitions and adjust timing 2024-11-10 19:58:24 +01:00
mr. M
259b25ab68 Fix: adjust scale for zen glance background and enhance quickCloseGlance logic 2024-11-10 19:41:16 +01:00