mirror of
https://github.com/zen-browser/components.git
synced 2025-07-10 06:25:30 +02:00
This commit migrates the workspace data storage from local files to synced preferences, ensuring consistency across devices and improving user experience. - The `_syncPref` property is introduced for referencing the synced preference name. - The `onSyncChange` method handles changes to the synced preference, automatically propagating workspace data updates. - The `saveWorkspaces` and `unsafeSaveWorkspaces` methods are updated to interact with the synced preference instead of local files. - The `_workspaces` method retrieves workspace data directly from the synced preference. - The `initializeWorkspaces` method now handles preference syncing and login for Weave integration. - Removed unnecessary local file operations and caching related to workspace data. |
||
---|---|---|
.. | ||
actors | ||
ZenCompactMode.mjs | ||
ZenKeyboardShortcuts.mjs | ||
ZenProfileDialogUI.mjs | ||
ZenSidebarManager.mjs | ||
ZenThemeBuilder.mjs | ||
ZenThemesCommon.mjs | ||
ZenThemesImporter.mjs | ||
ZenViewSplitter.mjs | ||
ZenWorkspaces.mjs |