Skip to content

Commit 45e60e7

Browse files
committed
feat: support minimal capture
1 parent eaa5d29 commit 45e60e7

9 files changed

Lines changed: 1288 additions & 44 deletions

File tree

src/common/setting-definition.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,17 @@ export interface QuickCaptureSettings {
287287
folder: string; // Folder path for daily notes
288288
template: string; // Template file path for daily notes
289289
};
290+
// Minimal mode settings
291+
enableMinimalMode: boolean;
292+
minimalModeSettings: {
293+
showDateButton: boolean;
294+
showPriorityButton: boolean;
295+
showLocationButton: boolean;
296+
showTagButton: boolean;
297+
defaultLocation: "fixed" | "daily-note";
298+
autoAddTaskPrefix: boolean; // 自动添加 - [ ] 前缀
299+
suggestTrigger: string; // 触发字符,默认 "/"
300+
};
290301
}
291302

292303
/** Define the structure for task gutter settings */
@@ -803,6 +814,16 @@ export const DEFAULT_SETTINGS: TaskProgressBarSettings = {
803814
folder: "",
804815
template: "",
805816
},
817+
enableMinimalMode: false,
818+
minimalModeSettings: {
819+
showDateButton: true,
820+
showPriorityButton: true,
821+
showLocationButton: true,
822+
showTagButton: true,
823+
defaultLocation: "fixed",
824+
autoAddTaskPrefix: true,
825+
suggestTrigger: "/",
826+
},
806827
},
807828

808829
// Workflow Defaults

0 commit comments

Comments
 (0)