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
Improve CoS agent action touch targets (#12581)
Codex5ae75a8d8e59
diff --git a/client/src/components/cos/tabs/AgentCard.jsx b/client/src/components/cos/tabs/AgentCard.jsxindex c4d196ada4..c0cc94023a 100644--- a/client/src/components/cos/tabs/AgentCard.jsx+++ b/client/src/components/cos/tabs/AgentCard.jsx@@ -829,7 +829,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,{(output.length > 0 || inactive || !remote) && (<buttononClick={() => setExpanded(!expanded)}- className="text-gray-500 hover:text-white transition-colors text-xs whitespace-nowrap"+ className="min-h-[44px] min-w-[44px] justify-center px-2 text-gray-500 hover:text-white transition-colors text-xs whitespace-nowrap sm:min-h-0 sm:min-w-0"aria-expanded={expanded}>{expanded ? 'Hide' : 'Show'}@@ -838,7 +838,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,{!inactive && onRelaunch && (<buttononClick={() => onRelaunch(agent)}- className="flex items-center gap-1.5 px-2 py-1 text-xs rounded bg-port-accent/20 text-port-accent hover:bg-port-accent/30 transition-colors"+ className="flex min-h-[44px] min-w-[44px] items-center justify-center gap-1.5 px-2 py-1 text-xs rounded bg-port-accent/20 text-port-accent hover:bg-port-accent/30 transition-colors sm:min-h-0 sm:min-w-0"aria-label="Relaunch this agent's task on a different provider or model"><RefreshCw size={12} aria-hidden="true" />@@ -849,7 +849,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,<buttononClick={handlePause}disabled={pausing}- className="flex items-center gap-1.5 px-2 py-1 text-xs rounded bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/30 transition-colors disabled:opacity-50"+ className="flex min-h-[44px] min-w-[44px] items-center justify-center gap-1.5 px-2 py-1 text-xs rounded bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/30 transition-colors disabled:opacity-50 sm:min-h-0 sm:min-w-0"aria-label="Pause agent and preserve worktree">{pausing ? <Loader2 size={12} aria-hidden="true" className="animate-spin" /> : <Pause size={12} aria-hidden="true" />}@@ -862,6 +862,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,<ConfirmButtonPairprompt="Kill?"className="flex-wrap max-w-full"+ responsiveTouchTargetsconfirmText="Confirm"cancelText="Cancel"ariaLabel="Confirm kill agent"@@ -874,7 +875,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,<buttononClick={() => setConfirmingKill(true)}disabled={killing}- className="flex items-center gap-1.5 px-2 py-1 text-xs rounded bg-port-error/20 text-port-error hover:bg-port-error/30 transition-colors disabled:opacity-50"+ className="flex min-h-[44px] min-w-[44px] items-center justify-center gap-1.5 px-2 py-1 text-xs rounded bg-port-error/20 text-port-error hover:bg-port-error/30 transition-colors disabled:opacity-50 sm:min-h-0 sm:min-w-0"aria-label="Force kill agent (SIGKILL)">{killing ? <Loader2 size={12} aria-hidden="true" className="animate-spin" /> : <Skull size={12} aria-hidden="true" />}@@ -885,7 +886,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,{(completed || paused) && onResume && (<buttononClick={() => onResume(agent)}- className="flex items-center gap-1 text-xs px-2 py-1 rounded bg-port-accent/20 text-port-accent hover:bg-port-accent/30 transition-colors"+ className="flex min-h-[44px] min-w-[44px] items-center justify-center gap-1 text-xs px-2 py-1 rounded bg-port-accent/20 text-port-accent hover:bg-port-accent/30 transition-colors sm:min-h-0 sm:min-w-0"aria-label={paused? "Resume this agent's task on its preserved worktree": "Create new task from this agent's context"}@@ -899,6 +900,7 @@ export default function AgentCard({ agent, onPause, onKill, onDelete, onResume,<ConfirmButtonPairprompt="Remove?"className="flex-wrap max-w-full"+ responsiveTouchTargetsconfirmText="Remove"ariaLabel="Confirm remove agent"onConfirm={() => confirmDelete(() => onDelete(agent.id))}diff --git a/client/src/components/cos/tabs/AgentsTab.jsx b/client/src/components/cos/tabs/AgentsTab.jsxindex cc41b40ae4..06c29176b1 100644--- a/client/src/components/cos/tabs/AgentsTab.jsx+++ b/client/src/components/cos/tabs/AgentsTab.jsx@@ -323,7 +323,7 @@ export default function AgentsTab({ agentsLoaded = true, agentsError = null, onR</h3><buttononClick={() => setConfirmingClear(true)}- className="flex items-center gap-1 text-sm text-gray-500 hover:text-port-error transition-colors"+ className="flex min-h-[44px] min-w-[44px] items-center justify-center gap-1 text-sm text-gray-500 hover:text-port-error transition-colors sm:min-h-0 sm:min-w-0"aria-label="Clear all completed agents"><Trash2 size={14} aria-hidden="true" />diff --git a/client/src/components/ui/ConfirmButtonPair.jsx b/client/src/components/ui/ConfirmButtonPair.jsxindex 3b17af0a29..7f0228b3db 100644--- a/client/src/components/ui/ConfirmButtonPair.jsx+++ b/client/src/components/ui/ConfirmButtonPair.jsx@@ -34,10 +34,13 @@ export default function ConfirmButtonPair({cancelAriaLabel,className = '',largeTouchTargets = false,+ responsiveTouchTargets = false,}) {const confirmTone = TONES[tone] || TONES.error;const buttonSizeClass = largeTouchTargets? 'min-h-[44px] min-w-[44px] justify-center'+ : responsiveTouchTargets+ ? 'min-h-[44px] min-w-[44px] justify-center sm:min-h-9 sm:min-w-0': 'min-h-[36px]';// While in-flight, the confirm icon becomes a spinner and both buttons// disable; the label additionally swaps to the in-flight word ("Deleting")