kandown 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/tui.js +3 -1
- package/dist/index.html +129 -129
- package/package.json +1 -1
package/bin/tui.js
CHANGED
|
@@ -54421,6 +54421,7 @@ function taskToBoardTask(task) {
|
|
|
54421
54421
|
const total = subtasks.length;
|
|
54422
54422
|
const status = normalizeStatus(frontmatter.status);
|
|
54423
54423
|
const tags = Array.isArray(frontmatter.tags) ? frontmatter.tags.filter((tag) => typeof tag === "string" && tag.trim().length > 0) : [];
|
|
54424
|
+
const { id: _id, title: _title, status: _status, order: _order, created: _created, archived: _archived, report: _report, ...metadata } = frontmatter;
|
|
54424
54425
|
return {
|
|
54425
54426
|
id: frontmatter.id || "",
|
|
54426
54427
|
title: frontmatter.title || frontmatter.id || "Untitled task",
|
|
@@ -54429,7 +54430,8 @@ function taskToBoardTask(task) {
|
|
|
54429
54430
|
assignee: typeof frontmatter.assignee === "string" && frontmatter.assignee ? frontmatter.assignee : null,
|
|
54430
54431
|
priority: normalizePriority(frontmatter.priority),
|
|
54431
54432
|
ownerType: normalizeOwnerType(frontmatter.ownerType),
|
|
54432
|
-
progress: total > 0 ? { done, total } : null
|
|
54433
|
+
progress: total > 0 ? { done, total } : null,
|
|
54434
|
+
frontmatter: metadata
|
|
54433
54435
|
};
|
|
54434
54436
|
}
|
|
54435
54437
|
function buildColumnsFromTasks(tasks, configuredColumns = DEFAULT_COLUMNS) {
|