updated daily notes section to be in line with core plugin

This commit is contained in:
2025-12-17 20:48:49 +01:00
parent a265c31460
commit bbc03acd03
4 changed files with 45 additions and 42 deletions

View File

@@ -25,16 +25,10 @@ export class TaskWeaverSettingTab extends PluginSettingTab {
}));
if (this.plugin.settings.enableDailyNoteLogging) {
new Setting(containerEl)
.setName("Daily note path")
.setDesc("Path to your daily notes folder (e.g., 'Daily Notes' or leave empty for root)")
.addText(text => text
.setPlaceholder("Daily Notes")
.setValue(this.plugin.settings.dailyNotePath)
.onChange(async (value) => {
this.plugin.settings.dailyNotePath = value;
await this.plugin.saveSettings();
}));
containerEl.createEl("p", {
text: "Tasks will be logged to your daily note using the Daily Notes core plugin settings.",
cls: "setting-item-description"
});
new Setting(containerEl)
.setName("Daily note format")