feat(settings): expose opt-in SyncGuard in both Obsidian settings UIs

This commit is contained in:
Artem Ovchinnikov committed 2026-10-21 21:25:35 +03:00
1 parent f7c7ef364c
commit 95c7d6cb69
5 files changed
+24

No files matched your search

@@ -35,6 +35,8 @@ export function createGeneralSettingSpecGroups({
},
{ key: "showStatusOnStatusbar", control: { type: "toggle" } },
{ key: "hideFileWarningNotice", control: { type: "toggle" } },
{ key: "syncGuardEnabled", control: { type: "toggle" } },
{ key: "syncGuardMinimumFiles", control: { type: "number", min: 1 } },
{
key: "networkWarningStyle",
control: {
@@ -333,6 +333,8 @@ describe("ObsidianLiveSyncSettingTab native page lifecycle", () => {
"showOnlyIconsOnEditor",
"showStatusOnStatusbar",
"hideFileWarningNotice",
"syncGuardEnabled",
"syncGuardMinimumFiles",
"networkWarningStyle",
]);
expect(
@@ -130,6 +130,8 @@ describe("General setting specifications", () => {
"showOnlyIconsOnEditor",
"showStatusOnStatusbar",
"hideFileWarningNotice",
"syncGuardEnabled",
"syncGuardMinimumFiles",
"networkWarningStyle",
"lessInformationInLog",
"showVerboseLog",