Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

fix(kanban): the busier title strip never wraps; no 'Done · DONE' marker

reviewc285cb738bea
diff --git a/src/renderer/components/kanban/KanbanColumn.tsx b/src/renderer/components/kanban/KanbanColumn.tsx
index c239abba9..5404d7f89 100644
--- a/src/renderer/components/kanban/KanbanColumn.tsx
+++ b/src/renderer/components/kanban/KanbanColumn.tsx
@@ -189,7 +189,7 @@ export const KanbanColumn = memo(function KanbanColumn({
{column ? column.title : 'Ungrouped'}
</span>
)}
- {category && (
+ {category && column && column.title.trim().toLowerCase() !== CATEGORY_LABELS[category].toLowerCase() && (
<span
className={`kanban-col__category kanban-col__category--${category}`}
title={`Lifecycle category: ${CATEGORY_LABELS[category]}`}
diff --git a/src/renderer/components/kanban/KanbanView.category.test.tsx b/src/renderer/components/kanban/KanbanView.category.test.tsx
index 96c1dbe38..5efca0e0d 100644
--- a/src/renderer/components/kanban/KanbanView.category.test.tsx
+++ b/src/renderer/components/kanban/KanbanView.category.test.tsx
@@ -177,6 +177,14 @@ describe('KanbanView — changing a category', () => {
expect(ungrouped?.querySelector('.kanban-col__menu')).toBeNull()
})
+ it('a column already titled as its category ("Done" / done) shows no redundant marker', () => {
+ render(board())
+ const done = [...document.querySelectorAll('.kanban-col')].find(
+ (c) => c.querySelector('.kanban-col__title')?.textContent === 'Done'
+ )
+ expect(done?.querySelector('.kanban-col__category')).toBeNull()
+ })
+
it('a categorized column shows its category in the header', () => {
render(board())
const review = [...document.querySelectorAll('.kanban-col')].find(
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 7198d7d0c..485e2a37b 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -10347,7 +10347,8 @@ button.group-node__setup:disabled {
gap: 10px;
height: 46px;
padding: 0 18px;
- padding-right: 300px; /* keep a long project name from running under the cluster icons */
+ /* Keep the strip's content out from under the controls cluster (~320px incl. its margin). */
+ padding-right: 330px;
border-bottom: 1px solid rgba(var(--tint-rgb), 0.08);
}
.kanban-header__dot {
@@ -12052,6 +12053,34 @@ button.group-node__setup:disabled {
background: color-mix(in srgb, var(--state-unread) 14%, transparent);
}
+/* The title strip carries progress, the closed toggle, three chips and Filter. None of them may
+ wrap (a wrapped button grows the fixed-height strip into the columns); the project name is what
+ gives way, and the progress BAR drops before its "n/m done" text. */
+.kanban-header .kanban-filter-btn,
+.kanban-status-chips,
+.kanban-progress,
+.kanban-header__filter {
+ flex-shrink: 0;
+ white-space: nowrap;
+}
+.kanban-header__name {
+ min-width: 48px;
+ flex-shrink: 1;
+}
+@media (max-width: 1100px) {
+ .kanban-progress__bar {
+ display: none;
+ }
+}
+@media (max-width: 1000px) {
+ .kanban-header {
+ gap: 6px;
+ }
+ .kanban-status-chip {
+ padding: 2px 6px;
+ }
+}
+
/* ── Board label filter (header) ── */
.kanban-header__filter {
position: relative;