Implement the logic for the "Bookmarks" button in the new UVE Toolbar component. This task involves creating a new store logic for the withEditorToolbar() feature store.
This implementation involves creating a new feature store (newWithEditorToolbar) that will conditionally replace the current withEditorToolbar based on the feature flag's status like
Parent Issue
https://github.com/dotCMS/core/issues/30598
Task
Implement the logic for the "Bookmarks" button in the new UVE Toolbar component. This task involves creating a new store logic for the
withEditorToolbar()
feature store.This implementation involves creating a new feature store (
newWithEditorToolbar
) that will conditionally replace the currentwithEditorToolbar
based on the feature flag's status likeProposed Objective
Add the "Bookmarks" button logic to the new toolbar and ensure it functions correctly under the feature flag.
Acceptance Criteria
newWithEditorToolbar()
that will be used when theFEATURE_FLAG_UVE_NEW_PREVIEW_MODE
feature flag is enabled.withEditorToolbar()
function to returnnewWithEditorToolbar()
when the feature flag is enabled, otherwise returnoldWithEditorToolbar()
.newWithEditorToolbar()
.