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
feat: show generic CoS status as avatar pill and drop the wonky bubble arrow
[._.]/ Adam Eivy76a180b974da
diff --git a/client/src/components/cos/StatusBubble.jsx b/client/src/components/cos/StatusBubble.jsxindex fae1087424..ceb927b6a3 100644--- a/client/src/components/cos/StatusBubble.jsx+++ b/client/src/components/cos/StatusBubble.jsx@@ -1,10 +1,28 @@+import { STATE_MESSAGES } from './constants';++const GENERIC_MESSAGES = new Set(Object.values(STATE_MESSAGES));++// Generic per-state text ("Working on task...", "Idle - waiting...") duplicates+// the state label, so it shows as a compact pill overlaying the avatar instead+// of a bubble. Specific messages (task descriptions, health issues) keep the bubble.+export const isGenericStatusMessage = (message) => GENERIC_MESSAGES.has(message);++export function StatusPill({ state, message }) {+ const label = state === 'sleeping' ? 'Sleeping' : 'Working on task';+ return (+ <div+ className="absolute top-1 right-1 z-20 px-2.5 py-0.5 rounded-full text-xs font-mono bg-port-card/90 border border-port-border text-port-text-muted shadow-sm pointer-events-none"+ title={message}+ >+ {label}+ </div>+ );+}+export default function StatusBubble({ message }) {return (- <div className="relative mt-4 px-4 py-3 rounded-2xl max-w-[280px] text-center text-sm leading-relaxed bg-port-accent-2/10 border border-port-accent-2/30">- <div- className="absolute -top-2 left-1/2 -translate-x-1/2 rotate-45 w-3.5 h-3.5 bg-port-accent-2/10 border-l border-t border-port-accent-2/30"- />- <div>{message}</div>+ <div className="mt-4 px-4 py-3 rounded-2xl max-w-[280px] text-center text-sm leading-relaxed bg-port-accent-2/10 border border-port-accent-2/30">+ {message}</div>);}diff --git a/client/src/pages/ChiefOfStaff.jsx b/client/src/pages/ChiefOfStaff.jsxindex 44d6f98eff..6e51ece879 100644--- a/client/src/pages/ChiefOfStaff.jsx+++ b/client/src/pages/ChiefOfStaff.jsx@@ -32,7 +32,7 @@ import StateLabel from '../components/cos/StateLabel';import TerminalCoSPanel from '../components/cos/TerminalCoSPanel';import StatusIndicator from '../components/cos/StatusIndicator';import StatCard from '../components/cos/StatCard';-import StatusBubble from '../components/cos/StatusBubble';+import StatusBubble, { StatusPill, isGenericStatusMessage } from '../components/cos/StatusBubble';import EventLog from '../components/cos/EventLog';import ActionableInsightsBanner from '../components/cos/ActionableInsightsBanner';const AgentsTab = lazy(() => import('../components/cos/tabs/AgentsTab'));@@ -1325,13 +1325,14 @@ export default function ChiefOfStaff() {Chief of Staff</h1>+ {isGenericStatusMessage(statusMessage) && <StatusPill state={agentState} message={statusMessage} />}{!hasCanvasAvatar && renderAvatar()}{hasCanvasAvatar && <div className="flex-none h-[5.75rem] sm:h-[4rem] md:h-[3rem] lg:h-[11rem] xl:h-[12rem]" aria-hidden="true" />}<div className="hidden lg:block"><StateLabel state={agentState} /></div><div className={`${hasCanvasAvatar ? 'sm:-mt-4 md:-mt-6 lg:mt-0' : ''} hidden sm:block`}>- <StatusBubble message={statusMessage} />+ {!isGenericStatusMessage(statusMessage) && <StatusBubble message={statusMessage} />}</div>{/* Desktop Stats Grid - integrated into CoS sidebar (matches mobile compressed layout) */}