generated from coulomb/repo-seed
Implement dashboard UI improvements
This commit is contained in:
@@ -92,6 +92,7 @@ const filtered = data.filter(t =>
|
||||
import {injectTocTop} from "./components/toc-sidebar.js";
|
||||
import {withDocHelp} from "./components/doc-overlay.js";
|
||||
import {openEntityModal, buildEntityTable} from "./components/entity-modal.js";
|
||||
import {statusControl, TASK_STATUSES} from "./components/status-control.js";
|
||||
|
||||
// ── KPI sidebar card ─────────────────────────────────────────────────────────
|
||||
const _open = data.filter(t => ["todo", "in_progress", "blocked"].includes(t.status));
|
||||
@@ -219,7 +220,7 @@ const sorted = [...filtered].sort((a, b) => {
|
||||
display(buildEntityTable(
|
||||
sorted,
|
||||
[
|
||||
{label: "Status", key: "status"},
|
||||
{label: "Status", render: t => statusControl({entity: t, type: "task", statuses: TASK_STATUSES})},
|
||||
{label: "Priority", key: "priority"},
|
||||
{label: "Title", key: "title", cls: "et-title-col et-title-cell"},
|
||||
{label: "Domain", key: "domain"},
|
||||
|
||||
Reference in New Issue
Block a user