Commit Graph

81 Commits

Author SHA1 Message Date
mr. M
a66afafe31 Fix: Ensure welcome page preference is set when displayed 2025-02-17 19:18:10 +01:00
mr. m
c708d0ccf2 Worked more on the welcome screen 2025-02-16 18:02:45 +01:00
mr. M
59c559de14 Refactor welcome screen preferences and animations for improved user experience 2025-02-15 16:44:13 +01:00
mr. m
aec9c9d34b Merge branch 'dev' into new-onboarding 2025-02-14 21:26:48 +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
b393979d53 Enhance welcome page functionality and styling in Zen component 2025-02-14 12:45:37 +01:00
mr. m
fae7eaed93 Merge branch 'dev' into new-onboarding 2025-02-14 11:48:46 +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
425d0ea951 Implement Zen Welcome page with initial animation and styling; remove deprecated files 2025-02-14 00:42:18 +01:00
mr. M
855c36280b Refactor tab overflow detection and adjust workspace initialization logic 2025-02-13 19:36:00 +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
f0976bc582 Implement scrollbar state management and adjust overflowing behavior in Zen UI components 2025-02-07 22:46:53 +01:00
mr. m
3a5a0be013 Fixed icons colors and other details 2025-02-07 01:33:48 +01:00
mr. M
5e0b684b53 Implement Zen UI migration functionality and initialize on startup 2025-02-05 17:59:24 +01:00
mr. M
ab33aae127 Remove unused double-click event listener and adjust tab event handling for improved functionality 2025-01-31 19:41:40 +01:00
mr. M
307becf086 Fixed Switch to workspace where container is set as default when opening container tabs not working 2025-01-31 19:13:18 +01:00
mr. M
4bca6a8306 Fix double-click behavior to open new tab 2025-01-31 18:35:55 +01:00
mr. M
b9ae18a0ca Refactor sidebar scrolling logic and improve tab height calculations for better UI performance 2025-01-27 00:29:54 +01:00
mr. M
3931f8195b Refactor sidebar scrolling initialization and enhance tab visibility checks 2025-01-26 23:30:01 +01:00
mr. M
405b2180cf Enable smooth scrolling in tabs and adjust tab height calculations for better UI responsiveness 2025-01-26 21:36:09 +01:00
mr. M
db2673cf27 Implement sidebar splitter and overflow handling; enhance customizable UI features 2025-01-18 10:25:13 +01:00
mr. M
ee86bff81c Refactor Zen UI components for improved toolbar button management and layout adjustments 2025-01-17 21:29:08 +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
7dfa6d55ba Refactor CSS and JavaScript files for consistency; clean up whitespace and formatting 2025-01-04 02:21:45 +01:00
mr. M
d91c9dc41f Add smooth scroll preference for tab startup and adjust visibility logic 2025-01-04 00:13:46 +01:00
mr. M
c489a0b7cc Fixed PGO builds not fully working 2024-12-21 13:32:03 +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
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
cf1e468395 style: Adjust toolbar height calculation and update workspace button visibility 2024-11-08 23:56:22 +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 🤙
e3751f5a57 Merge pull request #2613 from kristijanribaric/fix/remove-duplicate-pinned-tab-manager-loading
Fix: remove duplicate script import.
2024-11-03 21:41:26 +02:00
Kristijan Ribarić
46d9280490 Fix: remove duplicate script import. 2024-11-03 20:24:09 +01:00
mr. M
0ca828325d Refactor browser preferences and styles 2024-11-03 16:46:24 +01:00
Kristijan Ribarić
96ce701f64 feat: Include zen pinned tabs storage 2024-11-03 10:55:32 +01:00
mr. M
3ba221831d Fixed height changing when having too many tabs 2024-10-31 09:15:20 +01:00
mr. M
0552c2f245 [breaking] changed default layout of the customizable UI 2024-10-29 23:42:05 +01:00
mr. M
f7593002d1 Fix async function in ZenStartup.mjs 2024-10-26 21:23:58 +02:00
mr. M
cde46b77de Fix rust version and install a rust version compatible with LLVM 19
Update border radius in zen-browser.js to 8 pixels
Set default width to 250px in ZenStartup.mjs
Adjust overflow and border radius in zen-browser-container.css
Update background color in vertical-tabs.css
2024-10-26 19:51:26 +02:00
mr. M
f019490989 Added newtab button option to stay under last tab and reworked gradient generator's layout 2024-10-26 15:38:45 +02:00
mr. M
83b077d5f3 Fixed tab overlflow changing the height of the web view 2024-10-19 18:41:31 +02:00
mr. M
590ff474c7 Refactor ZenStartup.mjs: Add lazy preference getter for content element separation
Refactor ZenUIManager.mjs: Add observer for ZenCompactModeManager
2024-10-15 12:07:23 +02:00
mauro-balades
e8ff848518 Fix initialization issue with ZenStartup 2024-10-08 22:30:26 +02:00
Kristijan Ribarić
6dcff571d2 feat(zen-pinned-tab-manager): Add pinned tab management functionality
This commit introduces a new feature: pinned tab management. It allows users to pin tabs and define whether to reset pinned tabs on close.

- Adds a new `ZenPinnedTabManager` component to manage pinned tabs.
- Updates `zen-assets.inc.xhtml` and `zen-assets.jar.inc.mn` to include the new component.
- Modifies the `ZenStartup.mjs` file to initialize the new manager.
- Introduces a new preference `zen.pinned-tab-manager.reset-pinned-tab-on-close-shortcut` to control the behavior of pinned tabs on close.
- Updates the settings UI to reflect the new pinned tab management functionality.
- Refactors related preferences from `zen.tab-unloader.*` to `zen.pinned-tab-manager.*`.

This feature enhances Zen's tab management capabilities by providing users with more control over their pinned tabs.
2024-10-08 15:00:10 +02:00
mauro-balades
2a764eaf7a Added preloaded scripts that load before the window is created 2024-10-06 14:03:35 +02:00
mauro-balades
8de8f190ff Fixed internal keyboard shortcuts for macos (https://github.com/zen-browser/desktop/issues/1629) and bookmarks sidebar separation 2024-10-05 18:42:27 +02:00
mauro-balades
e2792eecb5 Made the code look cleaner 2024-10-04 18:21:41 +02:00
mauro-balades
d8797fceb2 Added paste and go buttons to the URL bar 2024-09-26 17:17:16 +02:00
mauro-balades
f42a635555 Refactor subproject commit in zen-components and update keyboard shortcuts preferences 2024-09-22 23:38:25 +02:00
mauro-balades
232fa448ca Refactor subproject commit in zen-components and update keyboard shortcuts preferences 2024-09-22 23:37:16 +02:00
mauro 🤙
4332bf3b95 Merge branch 'main' into shortcuts-redo 2024-09-22 22:22:53 +02:00