From 1d77169f54c76e01405c83d9efc7d50d48c21fbc Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Sat, 7 Jun 2025 14:04:45 +0200 Subject: [PATCH] Update setting descriptions --- src/events/MutationObserver.ts | 1 - src/settings/FileExplorerSettings.ts | 6 +++--- src/settings/PathSettings.ts | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/events/MutationObserver.ts b/src/events/MutationObserver.ts index 70dbb94..ba749a0 100644 --- a/src/events/MutationObserver.ts +++ b/src/events/MutationObserver.ts @@ -69,7 +69,6 @@ function observeFolderTitleMutations(plugin: FolderNotesPlugin) { }); fileExplorerMutationObserver.observe(document, { childList: true, subtree: true }); - } function initializeAllFolderTitles(plugin: FolderNotesPlugin) { diff --git a/src/settings/FileExplorerSettings.ts b/src/settings/FileExplorerSettings.ts index ecc37cf..e408014 100644 --- a/src/settings/FileExplorerSettings.ts +++ b/src/settings/FileExplorerSettings.ts @@ -154,7 +154,7 @@ export async function renderFileExplorer(settingsTab: SettingsTab) { if (settingsTab.plugin.settings.hideCollapsingIcon) { new Setting(containerEl) - .setName('Hide collapse icon also when the attachment folder is in the same folder') + .setName('Hide collapse icon also when only the attachment folder is in the same folder') .addToggle((toggle) => toggle .setValue(settingsTab.plugin.settings.ignoreAttachmentFolder) @@ -184,7 +184,7 @@ export async function renderFileExplorer(settingsTab: SettingsTab) { new Setting(containerEl) .setName('Bold the name of folder notes') - .setDesc('Make the folder name bold in the file explorer') + .setDesc('Make the folder name bold in the file explorer when it has a folder note') .addToggle((toggle) => toggle .setValue(settingsTab.plugin.settings.boldName) @@ -201,7 +201,7 @@ export async function renderFileExplorer(settingsTab: SettingsTab) { new Setting(containerEl) .setName('Cursive the name of folder notes') - .setDesc('Make the folder name cursive in the file explorer') + .setDesc('Make the folder name cursive in the file explorer when it has a folder note') .addToggle((toggle) => toggle .setValue(settingsTab.plugin.settings.cursiveName) diff --git a/src/settings/PathSettings.ts b/src/settings/PathSettings.ts index 4915082..d6b45b2 100644 --- a/src/settings/PathSettings.ts +++ b/src/settings/PathSettings.ts @@ -40,8 +40,8 @@ export async function renderPath(settingsTab: SettingsTab) { ); new Setting(containerEl) - .setName('Change folder name in the path') - .setDesc('Automatically rename a folder name in the path above a note when the folder note is renamed') + .setName('Auto update folder name in the path (front matter title plugin only)') + .setDesc('Automatically update the folder name in the path when the front matter title plugin is enabled and the title for a folder note is changed in the front matter. This will not change the file name, only the displayed name in the path.') .addToggle((toggle) => toggle .setValue(settingsTab.plugin.settings.frontMatterTitle.path) @@ -77,7 +77,7 @@ export async function renderPath(settingsTab: SettingsTab) { new Setting(containerEl) .setName('Bold folders in the path') - .setDesc('Make the folder name bold in the path above a note') + .setDesc('Make the folder name bold in the path above a note when it has a folder note') .addToggle((toggle) => toggle .setValue(settingsTab.plugin.settings.boldNameInPath) @@ -94,7 +94,7 @@ export async function renderPath(settingsTab: SettingsTab) { new Setting(containerEl) .setName('Cursive the name of folder notes in the path') - .setDesc('Make the folder name cursive in the path above a note') + .setDesc('Make the folder name cursive in the path above a note when it has a folder note') .addToggle((toggle) => toggle .setValue(settingsTab.plugin.settings.cursiveNameInPath)