Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(schedule): prevent truncation of task title on mobile
[._.]/ Adam Eivy3acefde95aa5
diff --git a/client/src/components/cos/tabs/schedule/TaskHeader.jsx b/client/src/components/cos/tabs/schedule/TaskHeader.jsxindex 7c0bb3614b..e8fd928bc1 100644--- a/client/src/components/cos/tabs/schedule/TaskHeader.jsx+++ b/client/src/components/cos/tabs/schedule/TaskHeader.jsx@@ -23,10 +23,10 @@ export default function TaskHeader({ taskType, config, orderStep }) {const branchBatchOn = taskType === 'branch-reconcile' && Number.isInteger(branchesPerAgent) && branchesPerAgent > 0;return (<div className="space-y-1.5 min-w-0">- <div className="flex items-center justify-between gap-2 min-w-0">- <div className="flex items-center gap-2 min-w-0 flex-1">+ <div className="flex flex-wrap items-center justify-between gap-x-2 gap-y-1.5 min-w-0">+ <div className="flex items-center gap-2 min-w-fit max-w-full flex-1"><span className={`w-2 h-2 rounded-full shrink-0 ${statusDot(group)}`} title={group} aria-hidden="true" />- <span className="font-mono text-sm text-white truncate leading-tight" title={taskType}>{config.displayName || taskType}</span>+ <span className="font-mono text-sm text-white truncate leading-tight" title={config.displayName || taskType}>{config.displayName || taskType}</span></div><div className="flex items-center gap-1.5 shrink-0 flex-wrap justify-end">{automationOnly && (diff --git a/client/src/components/cos/tabs/schedule/TaskHeader.test.jsx b/client/src/components/cos/tabs/schedule/TaskHeader.test.jsxindex 3bb91cb3b7..941693630c 100644--- a/client/src/components/cos/tabs/schedule/TaskHeader.test.jsx+++ b/client/src/components/cos/tabs/schedule/TaskHeader.test.jsx@@ -31,4 +31,15 @@ describe('TaskHeader advisory run order', () => {expect(screen.getByText('Remeasures the functions that survived the ladder.')).toBeInTheDocument();expect(screen.getByText('Run first:')).toBeInTheDocument();});++ it('renders display name with flex-wrap header container to prevent truncation on mobile', () => {+ renderHeader({ displayName: 'Branch Reconciler' }, undefined, 'branch-reconcile');+ const titleEl = screen.getByText('Branch Reconciler');+ expect(titleEl).toBeInTheDocument();+ expect(titleEl).toHaveAttribute('title', 'Branch Reconciler');+ // Check header container flex-wrap class+ const titleContainer = titleEl.closest('.flex-1');+ expect(titleContainer).toHaveClass('min-w-fit');+ expect(titleContainer?.parentElement).toHaveClass('flex-wrap');+ });});