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

feat(dashboard): SchematicLabel chrome on six widget headers

Adam Eivybea8c3b24d65
diff --git a/client/src/components/dashboard/widgetRegistry.jsx b/client/src/components/dashboard/widgetRegistry.jsx
index 9359776904..0eb23070ff 100644
--- a/client/src/components/dashboard/widgetRegistry.jsx
+++ b/client/src/components/dashboard/widgetRegistry.jsx
@@ -14,31 +14,36 @@ import QuickStatsWidget from './builtins/QuickStatsWidget';
import ActivityStreakWidget from './builtins/ActivityStreakWidget';
import HourlyActivityWidget from './builtins/HourlyActivityWidget';
-// Each entry: { id, label, Component, width, defaultH?, gate? }. `gate(state) => bool`
-// skips the widget when it has nothing useful to show. The Apps tile is
-// intentionally un-gated — it renders its own empty-state CTA so the "add
-// your first app" path is always visible on a blank install.
+// Each entry: { id, label, Component, width, defaultH?, gate?, module? }.
+// `gate(state) => bool` skips the widget when it has nothing useful to show.
+// The Apps tile is intentionally un-gated — it renders its own empty-state
+// CTA so the "add your first app" path is always visible on a blank install.
//
// `defaultH` is the row count (each row ≈ 80px) used when a widget is
// auto-placed into the grid for the first time — picked from the widget's
// natural content height so unmigrated layouts and newly-added widgets land
// at a usable size instead of the generic h=4 fallback. Once a layout has
// been edited, persisted h values win.
+//
+// `module` is optional micrographic chrome — when set, the dashboard
+// renders a SchematicLabel ("MODULE.04 // ALERTS ●") as a tab on the
+// widget's top border. Six widgets carry this by default; the rest are
+// label-free so the dashboard doesn't turn into a wall of HUD chrome.
export const WIDGETS = [
{ id: 'quick-brain', label: 'Quick Brain Capture', Component: QuickBrainCapture, width: 'half', defaultH: 3 },
{ id: 'quick-task', label: 'Quick Task', Component: QuickTaskWidget, width: 'half', defaultH: 5 },
- { id: 'apps', label: 'Apps Grid', Component: AppsGridWidget, width: 'full', defaultH: 5 },
- { id: 'cos', label: 'Chief of Staff', Component: CosDashboardWidget, width: 'third', defaultH: 6 },
+ { id: 'apps', label: 'Apps Grid', Component: AppsGridWidget, width: 'full', defaultH: 5, module: { id: '03', status: 'APPS', glyph: 'matrix' } },
+ { id: 'cos', label: 'Chief of Staff', Component: CosDashboardWidget, width: 'third', defaultH: 6, module: { id: '02', status: 'STAFF', glyph: 'orbit' } },
{ id: 'goal-progress', label: 'Goal Progress', Component: GoalProgressWidget, width: 'third', defaultH: 5 },
{ id: 'upcoming-tasks', label: 'Upcoming Tasks', Component: UpcomingTasksWidget, width: 'third', defaultH: 5 },
- { id: 'proactive-alerts', label: 'Proactive Alerts', Component: ProactiveAlertsWidget, width: 'quarter', defaultH: 4 },
- { id: 'review-hub', label: 'Review Hub', Component: ReviewHubCard, width: 'quarter', defaultH: 4 },
- { id: 'system-health', label: 'System Health', Component: SystemHealthWidget, width: 'quarter', defaultH: 8 },
+ { id: 'proactive-alerts', label: 'Proactive Alerts', Component: ProactiveAlertsWidget, width: 'quarter', defaultH: 4, module: { id: '04', status: 'ALERTS', glyph: 'warning-tri' } },
+ { id: 'review-hub', label: 'Review Hub', Component: ReviewHubCard, width: 'quarter', defaultH: 4, module: { id: '05', status: 'REVIEW', glyph: 'reticle' } },
+ { id: 'system-health', label: 'System Health', Component: SystemHealthWidget, width: 'quarter', defaultH: 8, module: { id: '01', status: 'HEALTH', glyph: 'matrix' } },
{ id: 'backup', label: 'Backup', Component: BackupWidget, width: 'quarter', defaultH: 5 },
{ id: 'death-clock', label: 'Death Clock', Component: DeathClockWidget, width: 'quarter', defaultH: 4 },
{ id: 'quick-stats', label: 'Quick Stats', Component: QuickStatsWidget, width: 'quarter', defaultH: 3, gate: (s) => s.apps.length > 0 },
{ id: 'decision-log', label: 'Decision Log', Component: DecisionLogWidget, width: 'quarter', defaultH: 4 },
- { id: 'activity-streak', label: 'Activity Streak', Component: ActivityStreakWidget, width: 'third', defaultH: 3, gate: (s) => s.usage?.currentStreak > 0 || s.usage?.longestStreak > 0 },
+ { id: 'activity-streak', label: 'Activity Streak', Component: ActivityStreakWidget, width: 'third', defaultH: 3, gate: (s) => s.usage?.currentStreak > 0 || s.usage?.longestStreak > 0, module: { id: '06', status: 'STREAK', glyph: 'spark' } },
{ id: 'hourly-activity', label: 'Activity by Hour', Component: HourlyActivityWidget, width: 'full', defaultH: 4, gate: (s) => !!s.usage?.hourlyActivity && s.usage.hourlyActivity.some((v) => v > 0) },
];
diff --git a/client/src/pages/Dashboard.jsx b/client/src/pages/Dashboard.jsx
index 456ea2ef85..330ce9182e 100644
--- a/client/src/pages/Dashboard.jsx
+++ b/client/src/pages/Dashboard.jsx
@@ -5,6 +5,7 @@ import LayoutPicker from '../components/dashboard/LayoutPicker';
import LayoutEditor from '../components/dashboard/LayoutEditor';
import DashboardGrid, { reconcileGrid, synthesizeGrid } from '../components/dashboard/DashboardGrid.jsx';
import { WIDGETS_BY_ID, FALLBACK_LAYOUT } from '../components/dashboard/widgetRegistry.jsx';
+import { SchematicLabel } from '../components/micrographics';
import { DASHBOARD_LAYOUT_CHANGED } from '../constants/events.js';
import { Monitor, Move, Save, X } from 'lucide-react';
import * as api from '../services/api';
@@ -221,7 +222,8 @@ export default function Dashboard() {
if (loading) {
return (
- <div className="flex items-center justify-center h-64">
+ <div className="flex flex-col items-center justify-center h-64 gap-3">
+ <SchematicLabel module="DASH" status="BOOTING" glyph="orbit" state="active" />
<BrailleSpinner text="Loading dashboard" />
</div>
);
@@ -329,7 +331,24 @@ export default function Dashboard() {
renderItem={(item) => {
const meta = WIDGETS_BY_ID[item.id];
if (!meta) return null;
- return <meta.Component dashboardState={dashboardState} />;
+ const widget = <meta.Component dashboardState={dashboardState} />;
+ if (!meta.module) return widget;
+ // Hide the schematic tab on narrow widths so it doesn't
+ // collide with mobile cards; reappears at sm:
+ return (
+ <div className="relative">
+ <span className="hidden sm:inline">
+ <SchematicLabel
+ module={meta.module.id}
+ status={meta.module.status}
+ glyph={meta.module.glyph}
+ state="active"
+ variant="tab"
+ />
+ </span>
+ {widget}
+ </div>
+ );
}}
/>
</>