mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-31 13:28:18 +00:00
feat(settings): expose opt-in SyncGuard in both Obsidian settings UIs
This commit is contained in:
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: {
|
||||
|
||||
+2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user