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: Workspace-specific bookmarks #3215

Merged

Conversation

kristijanribaric
Copy link
Contributor

Added workspace selector on bookmarks create/edit modal, added table for storing relationships between workspaces and bookmarks.

Recording.2024-11-26.224342.mp4

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Nov 26, 2024
@kristijanribaric kristijanribaric marked this pull request as draft November 26, 2024 21:46
@dosubot dosubot bot added the Feature label Nov 26, 2024
@kristijanribaric kristijanribaric force-pushed the feature/workspace-specific-bookmarks branch from ba2bc4a to 7b976c3 Compare November 27, 2024 20:25
Updates the Edit Bookmark dialog to use the new Zen color variables for the dropdown and suggestion list backgrounds. This ensures consistency with the overall Zen theme and improves visual appeal.

Specifically, the `--in-content-box-background` variable is replaced with `--zen-colors-tertiary` for the affected elements. Additionally, padding in the suggestion list and its items has been slightly adjusted for better spacing.
@Anoms12
Copy link

Anoms12 commented Nov 27, 2024

@kristijanribaric, how will this work with Firefox bookmark sync? I am not a contributor just curious.

Renames the internal cache variable `_bookmarkWorkspaceCache` to `_workspaceBookmarksCache` for consistency and clarity.  This change does not affect functionality.
The workspace selection summary in the bookmark editor now displays a comma-separated list of selected workspace names instead of just the number of selected workspaces. This improves the user experience by providing more context and clarity about which workspaces the bookmark will be associated with.

Previously, the summary only showed "N workspaces selected". This change makes it easier to see at a glance which workspaces are selected without having to open the dropdown.The change also ensures the initial display of the summary text correctly reflects the selected workspaces when the editor opens.
@kristijanribaric
Copy link
Contributor Author

@kristijanribaric, how will this work with Firefox bookmark sync? I am not a contributor just curious.

It will need a new sync engine or I'll be able to integrate it in a workspace sync engine. Either way it's totally doable.

Improves the styling of the folder picker dropdown in the edit bookmark panel to align with Photon Design System guidelines:

* Sets dropdown to take full width of the panel.
* Changes dropdown's `top` positioning to be directly below the input field.
* Updates border and outline styling for better visibility and focus indication.
* Adds a subtle box-shadow for visual separation.

These changes enhance the visual consistency and usability of the folder picker.
@kristijanribaric kristijanribaric marked this pull request as ready for review November 27, 2024 21:27
@mr-cheff
Copy link
Member

Thanks! Let's test it out in twilight

@mr-cheff mr-cheff merged commit c0da03c into zen-browser:dev Nov 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants