Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Essentials #2583

Merged
merged 4 commits into from
Nov 2, 2024

Conversation

kristijanribaric
Copy link
Contributor

This PR introduces a new Essentials Toolbar feature to Zen. It provides a more streamlined and organized way for users to access frequently used bookmakrs directly from the sidebar.

  • Added ZenEssentialsToolbar.mjs to provide the logic for the toolbar.
  • Updated the sidebar CSS (zen-sidebar.css) to style the Essentials Toolbar.
  • Modified ZenStartup.mjs to initialize the Essentials Toolbar.
  • Made changes to browserPlacesViews-js.patch to integrate with existing bookmark functionality.
  • Added a new preference zen.essentials.enabled to enable/disable the Essentials Toolbar.
Recording.2024-11-02.203307.mp4

Depends on:
https://github.com/zen-browser/components/pull/73

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Feature labels Nov 2, 2024
This commit introduces a new Essentials Toolbar feature to Zen. It provides a more streamlined and organized way for users to access frequently used bookmakrs directly from the sidebar.

- Added `ZenEssentialsToolbar.mjs` to provide the logic for the toolbar.
- Updated the sidebar CSS (`zen-sidebar.css`) to style the Essentials Toolbar.
- Modified `ZenStartup.mjs` to initialize the Essentials Toolbar.
- Made changes to `browserPlacesViews-js.patch` to integrate with existing bookmark functionality.
- Added a new preference `zen.essentials.enabled` to enable/disable the Essentials Toolbar.
This commit introduces a new Essentials Toolbar to the Navigator Toolbox. The toolbar is located within the vertical pinned tabs container and provides quick access to essential features.

The following changes were made:

- Added a new toolbarbutton with the id "essentials-accordion-header" to toggle the Essentials Toolbar visibility.
- Introduced a new `hbox` with the id "EssentialsToolbar" to house the toolbar items.
- Included a `scrollbox` with the id "EssentialsToolbarItems" to handle scrolling for the toolbar items.
- Modified the `arrowscrollbox` to use a vertical orientation (`orient="vertical"`).
- Added a separator between the pinned tabs container and the Essentials Toolbar.
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 2, 2024
@mauro-balades mauro-balades merged commit 0603c57 into zen-browser:dev Nov 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants