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: grey out archived app cards on dashboard
Adam Eivy986312ddc9b1
diff --git a/.changelog/v0.12.x.md b/.changelog/v0.12.x.mdindex b7654a9c1e..8cc4da6e81 100644--- a/.changelog/v0.12.x.md+++ b/.changelog/v0.12.x.md@@ -56,6 +56,11 @@ This release adds branch management and automated release workflow capabilities### CoS — Completed Agent Timestamps- **Completed timestamp display**: Completed agent cards now show the date and time they finished (e.g., "Feb 8 3:30 PM") next to the duration, with full timestamp on hover+### Dashboard — Archived App Styling+- **Greyed-out cards**: Archived apps on the main dashboard now render with reduced opacity, dimmed icon/title colors, and a subtle "Archived" badge next to the app name+- **Sorted to bottom**: Archived apps are sorted after active apps in the grid so they don't intermix with actively managed services+- **Excluded from stats**: The Quick Stats cards (Total, Online, Stopped, Not Started) now count only active apps; the header shows an "(N archived)" count when archived apps exist+## Fixes### Managed App Port Conflict — ENV Leak & Detectiondiff --git a/client/src/components/AppTile.jsx b/client/src/components/AppTile.jsxindex 741a8d41eb..9b2c7b08a9 100644--- a/client/src/components/AppTile.jsx+++ b/client/src/components/AppTile.jsx@@ -35,15 +35,26 @@ const AppTile = memo(function AppTile({ app, onUpdate }) {const isOnline = app.overallStatus === 'online';return (- <article className="bg-port-card border border-port-border rounded-xl p-5 hover:border-port-accent/50 transition-colors" aria-labelledby={`app-title-${app.id}`}>+ <article className={`border rounded-xl p-5 transition-colors ${+ app.archived+ ? 'bg-port-card/50 border-port-border/50 opacity-60'+ : 'bg-port-card border-port-border hover:border-port-accent/50'+ }`} aria-labelledby={`app-title-${app.id}`}>{/* Header */}<div className="flex items-start justify-between mb-4"><div className="flex items-center gap-3">- <div className="w-12 h-12 rounded-lg bg-port-border flex items-center justify-center text-port-accent" aria-hidden="true">+ <div className={`w-12 h-12 rounded-lg flex items-center justify-center ${+ app.archived ? 'bg-port-border/50 text-gray-500' : 'bg-port-border text-port-accent'+ }`} aria-hidden="true"><AppIcon icon={app.icon || 'package'} size={28} /></div><div>- <h3 id={`app-title-${app.id}`} className="font-semibold text-white">{app.name}</h3>+ <div className="flex items-center gap-2">+ <h3 id={`app-title-${app.id}`} className={`font-semibold ${app.archived ? 'text-gray-500' : 'text-white'}`}>{app.name}</h3>+ {app.archived && (+ <span className="px-1.5 py-0.5 bg-gray-600/30 text-gray-500 text-xs rounded">Archived</span>+ )}+ </div><p className="text-sm text-gray-500">{app.type}</p></div></div>diff --git a/client/src/pages/Dashboard.jsx b/client/src/pages/Dashboard.jsxindex 8eba4452dc..49f58bc1cd 100644--- a/client/src/pages/Dashboard.jsx+++ b/client/src/pages/Dashboard.jsx@@ -38,13 +38,20 @@ export default function Dashboard() {};}, [fetchData]);- // Memoize derived stats to prevent recalculation on every render+ // Sort apps: active first, archived last+ const sortedApps = useMemo(() =>+ [...apps].sort((a, b) => (a.archived ? 1 : 0) - (b.archived ? 1 : 0)),+ [apps]+ );++ // Memoize derived stats to prevent recalculation on every render (exclude archived)+ const activeApps = useMemo(() => apps.filter(a => !a.archived), [apps]);const appStats = useMemo(() => ({- total: apps.length,- online: apps.filter(a => a.overallStatus === 'online').length,- stopped: apps.filter(a => a.overallStatus === 'stopped').length,- notStarted: apps.filter(a => a.overallStatus === 'not_started' || a.overallStatus === 'not_found').length- }), [apps]);+ total: activeApps.length,+ online: activeApps.filter(a => a.overallStatus === 'online').length,+ stopped: activeApps.filter(a => a.overallStatus === 'stopped').length,+ notStarted: activeApps.filter(a => a.overallStatus === 'not_started' || a.overallStatus === 'not_found').length+ }), [activeApps]);if (loading) {return (@@ -61,7 +68,7 @@ export default function Dashboard() {<div><h2 className="text-2xl font-bold text-white">Dashboard</h2><p className="text-gray-500 text-sm sm:text-base">- {apps.length} app{apps.length !== 1 ? 's' : ''} registered+ {activeApps.length} app{activeApps.length !== 1 ? 's' : ''} registered{apps.length !== activeApps.length ? ` (${apps.length - activeApps.length} archived)` : ''}</p></div>{health && (@@ -95,7 +102,7 @@ export default function Dashboard() {</div>) : (<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">- {apps.map(app => (+ {sortedApps.map(app => (<AppTile key={app.id} app={app} onUpdate={fetchData} />))}</div>