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
+19
View File
@@ -0,0 +1,19 @@
<%*
// actionable removal: removes action fields and the actionable component marker.
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"] : [];
frontmatter["components"] = components.filter((component) => component !== componentName);
delete frontmatter["action_status"];
delete frontmatter["action_impact"];
delete frontmatter["action_effort_minutes"];
delete frontmatter["action_blocked_by"];
delete frontmatter["action_waiting_for"];
delete frontmatter["action_result"];
});
}, 300)
-%>