mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 01:16:35 +00:00

This commit adds Workspaces to the list of data types that can be synced. This introduces the following changes: - Adds a new preference `services.sync.engine.workspaces` to control syncing of Workspaces. - Updates the `syncChooseWhatToSync.js` and `syncChooseWhatToSync.xhtml` files to include the new Workspaces option in the UI. - Adds relevant localization strings to `preferences-ftl`. - Updates CSS styling for the Workspaces option. - Updates `zen-browser.js` to disable Workspace syncing by default. This change allows users to choose whether to sync their Workspaces across devices.
16 lines
898 B
C++
16 lines
898 B
C++
diff --git a/browser/components/preferences/sync.inc.xhtml b/browser/components/preferences/sync.inc.xhtml
|
|
index 492491a369b53797aded1d3e4cf24d6f11394267..b294aa3005b11276ba8f1c58730b85043a19bf3f 100644
|
|
--- a/browser/components/preferences/sync.inc.xhtml
|
|
+++ b/browser/components/preferences/sync.inc.xhtml
|
|
@@ -229,6 +229,10 @@
|
|
<image class="sync-engine-image sync-engine-prefs" alt=""/>
|
|
<label data-l10n-id="sync-currently-syncing-settings"/>
|
|
</html:div>
|
|
+ <html:div engine_preference="services.sync.engine.workspaces">
|
|
+ <image class="sync-engine-image sync-engine-workspaces" alt=""/>
|
|
+ <label data-l10n-id="sync-currently-syncing-workspaces"/>
|
|
+ </html:div>
|
|
</html:div>
|
|
<hbox>
|
|
<button id="syncChangeOptions"
|