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
fix(digital-twin): constrain page to viewport so body scrollbar moves inside the tab content
Adam Eivy7575fe51a953
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 07f7b9c46b..d83ae31d13 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -42,6 +42,8 @@## Fixed+- **Digital Twin — page now constrains to viewport instead of growing the whole document.** Every Digital Twin tab whose content exceeded one screen (Identity, Overview, Goals, Documents, Enrich, etc.) used to push the layout `<main>` past viewport height, which forced the vertical scrollbar onto the body and shaved ~8px off `<main>`'s width — visible as an "odd right margin" on mobile and as a body-level scrollbar on desktop. Root cause: `<main>` was `flex-1 overflow-hidden` but its `flex-1` couldn't actually constrain because the parent column had no `min-h-0` and Digital Twin's wrapper used `h-full` (which resolves to `auto` when its parent height is indefinite, so the wrapper grew with content and dragged `<main>` up the chain). Two-line fix: (1) `Layout.jsx` adds `min-h-0` to the main element and `relative` for full-width routes, (2) `DigitalTwin.jsx` switches its outer wrapper from `flex flex-col h-full` to `absolute inset-0 flex flex-col` so it always fills `<main>` exactly. The inner `flex-1 overflow-auto p-4` content container now scrolls internally as designed; body width matches viewport on every tab. Touched: `client/src/components/Layout.jsx`, `client/src/pages/DigitalTwin.jsx`.+- **Mobile header — duplicate notification bell removed.** The mobile header showed a bell + unread count that, when tapped, popped a dropdown overlay over page content. The same `NotificationDropdown` is already mounted in the sidebar drawer footer, so the header instance was redundant; removing it eliminates the unwanted overlay and reclaims header space when the nav is closed. Notifications remain accessible by opening the nav drawer. Touched: `client/src/components/Layout.jsx`.- **Dashboard header trimmed — server status moved to a glowing dot, app count moved above the Apps grid.** The Dashboard header was a two-line block ("Dashboard" + "N apps registered (M archived)") plus a separate "Server: Online" pill in the action bar — three pieces of secondary status taking up vertical space above the actual widgets. Replaced the two-line title with a single-line `Dashboard ●` where the trailing dot is a 10px Tailwind-animated `port-success`/`port-error` indicator (with `animate-ping` halo + `shadow-[0_0_8px_*]` glow when online, solid red glow when the health check fails) and a `title=`/`aria-label=` tooltip exposing "Server online" / "Server offline" for hover + screen readers. The app-count subtitle moved into `AppsGridWidget` itself as a small `text-xs text-gray-500` line directly above the tile grid, so the count travels with the widget regardless of where the user drags it on the dashboard layout. Touched: `client/src/pages/Dashboard.jsx`, `client/src/components/dashboard/builtins/AppsGridWidget.jsx`.diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsxindex 93c540f52b..ad440e7c15 100644--- a/client/src/components/Layout.jsx+++ b/client/src/components/Layout.jsx@@ -888,7 +888,7 @@ export default function Layout() {location.pathname.startsWith('/city') ||/^\/apps\/[^/]+/.test(location.pathname);return (- <main id="main-content" className={`flex-1 ${isFullWidth ? 'overflow-hidden' : 'overflow-auto p-4 md:p-6'}`}>+ <main id="main-content" className={`flex-1 min-h-0 ${isFullWidth ? 'relative overflow-hidden' : 'overflow-auto p-4 md:p-6'}`}><Outlet /></main>);diff --git a/client/src/pages/DigitalTwin.jsx b/client/src/pages/DigitalTwin.jsxindex 776cfcb62e..55e39f645b 100644--- a/client/src/pages/DigitalTwin.jsx+++ b/client/src/pages/DigitalTwin.jsx@@ -84,14 +84,14 @@ export default function DigitalTwin() {if (loading) {return (- <div className="flex items-center justify-center h-full">+ <div className="absolute inset-0 flex items-center justify-center"><BrailleSpinner text="Loading" /></div>);}return (- <div className="flex flex-col h-full">+ <div className="absolute inset-0 flex flex-col">{/* Header */}<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between p-4 gap-3 border-b border-port-border"><div className="flex items-center gap-3">