Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Stop drawing "waits on" as a tag

emanuele-eme3a89a0fac53
diff --git a/src/app.js b/src/app.js
index 8519dc6..f7f5378 100644
--- a/src/app.js
+++ b/src/app.js
@@ -95,6 +95,7 @@ const ICONS = {
send: '<path d="M12 19V5M5 12l7-7 7 7"/>',
info: '<circle cx="12" cy="12" r="9"/><path d="M12 16v-4M12 8h.01"/>',
sidebar: '<rect x="3" y="4" width="18" height="16" rx="4"/><path d="M9 4v16"/>',
+ waits: '<path d="M6 3h12M6 21h12M7 3v4l5 5 5-5V3M7 21v-4l5-5 5 5v4"/>',
news: '<path d="M12 3l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6-4.5-4.2 6.1-.7z"/>',
comment: '<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>',
share: '<circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.6 13.5 6.8 4M15.4 6.5l-6.8 4"/>',
@@ -849,7 +850,7 @@ function urlChip(t) {
// Only on cards, like the URL. Most tasks have no waiting_on at all, to keep the board's reply small.
function waitChip(t) {
- return t.waiting_on ? el("span", { class: "tag waits" }, `Waits on ${t.waiting_on.map((id) => `#${id}`).join(", ")}`) : null;
+ return t.waiting_on ? el("span", { class: "waits" }, icon("waits"), `Waits on ${t.waiting_on.map((id) => `#${id}`).join(", ")}`) : null;
}
// A board on an older version sends no hidden_properties.
diff --git a/src/index.html b/src/index.html
index 7b9d40d..1a0f5fb 100644
--- a/src/index.html
+++ b/src/index.html
@@ -15,7 +15,7 @@
--field: #f4f4f4; --hover: #ececec; --active: #e5e5e5; --menu: #ffffff;
--text: #0d0d0d; --muted: #5d5d5d; --faint: #8f8f8f; --border: #e5e5e5; --card-border: #ebebeb;
--accent: #0d0d0d; --accent-text: #ffffff; --danger: #dc2626; --danger-bg: rgba(220, 38, 38, .08);
- --link: #2563eb; --code: #f2f2f2; --shadow: 0 10px 30px rgba(0,0,0,.12);
+ --waits: #b45309; --link: #2563eb; --code: #f2f2f2; --shadow: 0 10px 30px rgba(0,0,0,.12);
color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
@@ -24,7 +24,7 @@
--field: #171717; --hover: #1a1a1a; --active: #242424; --menu: #1c1c1c;
--text: #ececec; --muted: #a1a1a1; --faint: #6e6e6e; --border: #1f1f1f; --card-border: transparent;
--accent: #ffffff; --accent-text: #000000; --danger: #f87171; --danger-bg: rgba(248, 113, 113, .1);
- --link: #7ab7ff; --code: #1c1c1c; --shadow: 0 10px 30px rgba(0,0,0,.6);
+ --waits: #f5a524; --link: #7ab7ff; --code: #1c1c1c; --shadow: 0 10px 30px rgba(0,0,0,.6);
}
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--active) transparent; }
@@ -279,6 +279,8 @@ html:not([data-hide~="waiting"]) .card.waiting:not(:hover) { opacity: .6; }
background: var(--hover); border-radius: 99px; padding: 1px 9px 1px 8px;
}
.tag .dot { width: 6px; height: 6px; }
+.waits { display: inline-flex; align-items: center; gap: 4px; color: var(--waits); font-size: 12px; font-weight: 500; }
+.waits .icon svg { width: 12px; height: 12px; }
.tag.url { gap: 4px; color: var(--text); text-decoration: none; }
.tag.url:hover { background: var(--active); }
.tag.url .icon svg { width: 12px; height: 12px; }