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.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
feat(kanban): put a card's labels and priority/due/avatars on one row
enes7636625da25e
diff --git a/src/renderer/components/kanban/SessionCard.tsx b/src/renderer/components/kanban/SessionCard.tsxindex 71b7f91e5..6565355af 100644--- a/src/renderer/components/kanban/SessionCard.tsx+++ b/src/renderer/components/kanban/SessionCard.tsx@@ -93,30 +93,35 @@ export function SessionCard({ session, status, meta, labels = [], onOpen, onDrag{badge === 'needs' && <span className="kanban-badge kanban-badge--needs">NEEDS YOU</span>}{status?.unread && <span className="kanban-card__unread" />}</div>- <LabelChips labels={labels} size="sm" className="kanban-card__labels" />- {(assignees.length > 0 || due !== undefined || priority !== undefined) && (+ {(labels.length > 0 || assignees.length > 0 || due !== undefined || priority !== undefined) && (<div className="kanban-card__metarow">- {priority !== undefined && PRIO_COLOR[priority] && (- <span- className="kanban-due kanban-prio-chip"- style={{ background: `${PRIO_COLOR[priority]}26`, color: PRIO_COLOR[priority] }}- >- {priority.toUpperCase()}- </span>- )}- {due !== undefined && (- <span className={`kanban-due${overdue ? ' kanban-due--overdue' : ''}`}>- {new Date(due).toLocaleDateString(undefined, { day: 'numeric', month: 'short' })}- </span>- )}- <span className="kanban-card__avatars">- {assignees.slice(0, 3).map((a) => (- <span key={a.name} className="kanban-avatar kanban-avatar--sm" style={{ background: a.color }} title={a.name}>- {(a.name.trim()[0] ?? '?').toUpperCase()}+ {/* Labels share the priority/due/avatars row (left); the meta chips hug the right. */}+ <LabelChips labels={labels} size="sm" className="kanban-card__metalabels" />+ <div className="kanban-card__metaright">+ {priority !== undefined && PRIO_COLOR[priority] && (+ <span+ className="kanban-due kanban-prio-chip"+ style={{ background: `${PRIO_COLOR[priority]}26`, color: PRIO_COLOR[priority] }}+ >+ {priority.toUpperCase()}+ </span>+ )}+ {due !== undefined && (+ <span className={`kanban-due${overdue ? ' kanban-due--overdue' : ''}`}>+ {new Date(due).toLocaleDateString(undefined, { day: 'numeric', month: 'short' })}+ </span>+ )}+ {assignees.length > 0 && (+ <span className="kanban-card__avatars">+ {assignees.slice(0, 3).map((a) => (+ <span key={a.name} className="kanban-avatar kanban-avatar--sm" style={{ background: a.color }} title={a.name}>+ {(a.name.trim()[0] ?? '?').toUpperCase()}+ </span>+ ))}+ {assignees.length > 3 && <span className="kanban-avatar kanban-avatar--sm kanban-avatar--more">+{assignees.length - 3}</span>}</span>- ))}- {assignees.length > 3 && <span className="kanban-avatar kanban-avatar--sm kanban-avatar--more">+{assignees.length - 3}</span>}- </span>+ )}+ </div></div>)}{/* Detail line is ALWAYS visible when the card has something to say (no expand step):diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 7b618f1dc..358dbfa5f 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -7853,11 +7853,23 @@ body,.kanban-card__metarow {display: flex;align-items: center;- gap: 6px;+ gap: 6px 8px;+ flex-wrap: wrap;margin-top: 7px;}-.kanban-card__avatars {+/* Labels take the left of the shared row and wrap; the priority/due/avatars hug the right. */+.kanban-card__metalabels {+ flex: 1 1 auto;+ min-width: 0;+}+.kanban-card__metaright {margin-left: auto;+ display: inline-flex;+ align-items: center;+ gap: 6px;+ flex: 0 0 auto;+}+.kanban-card__avatars {display: inline-flex;gap: 4px;}