Skip to content

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

address review (claude): drop dead purge busy-label, robust clear-all copy at zero count

[._.]/ Adam Eivy9510e95d6951
diff --git a/client/src/components/cos/tabs/AgentsTab.jsx b/client/src/components/cos/tabs/AgentsTab.jsx
index bac84b24a8..ebf990e4dc 100644
--- a/client/src/components/cos/tabs/AgentsTab.jsx
+++ b/client/src/components/cos/tabs/AgentsTab.jsx
@@ -243,7 +243,9 @@ export default function AgentsTab({ agents, onRefresh, liveOutputs, providers, a
{confirmingClear && (
<InlineConfirmRow
className="mb-3"
- question={`Clear ALL completed agents? This removes ${totalCount} agent record${totalCount === 1 ? '' : 's'} and cannot be undone.`}
+ question={totalCount > 0
+ ? `Clear ALL completed agents? This removes ${totalCount} agent record${totalCount === 1 ? '' : 's'} and cannot be undone.`
+ : 'Clear ALL completed agents? This cannot be undone.'}
confirmText="Clear all"
confirmTitle="Confirm clear all completed agents"
cancelTitle="Cancel clear"
diff --git a/client/src/pages/DataManager.jsx b/client/src/pages/DataManager.jsx
index 966fca5068..a7a7ab0ba9 100644
--- a/client/src/pages/DataManager.jsx
+++ b/client/src/pages/DataManager.jsx
@@ -156,7 +156,7 @@ function CategoryRow({ cat, maxSize, onExpand, expanded, detail, onArchive, onPu
<InlineConfirmRow
variant="separator"
question={`Purge all ${cat.fileCount.toLocaleString()} files (${formatBytes(cat.size)}) in ${cat.label}? This permanently deletes the data and cannot be undone.`}
- confirmText={purging ? 'Purging…' : 'Purge'}
+ confirmText="Purge"
confirmTitle="Confirm purge"
cancelTitle="Cancel purge"
onConfirm={() => onConfirmPurge(cat.key)}