import vault

This commit is contained in:
Marcel Arndt
2026-07-16 14:04:45 +02:00
commit a2ad5f5c6d
90 changed files with 31429 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<%*
// actionable: makes a note executable by adding status, impact and effort fields.
const componentName = "actionable";
const file = tp.file.find_tfile(tp.file.path(true));
setTimeout(async () => {
await tp.app.fileManager.processFrontMatter(file, (frontmatter) => {
const components = Array.isArray(frontmatter["components"]) ? frontmatter["components"] : [];
if (!components.includes(componentName)) components.push(componentName);
frontmatter["components"] = components;
frontmatter["action_status"] = frontmatter["action_status"] ?? "open";
frontmatter["action_impact"] = frontmatter["action_impact"] ?? 1;
frontmatter["action_effort_minutes"] = frontmatter["action_effort_minutes"] ?? 30;
frontmatter["action_result"] = frontmatter["action_result"] ?? "";
});
}, 300)
-%>
## Action
- Next step:
- Definition of done:
## Result