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

fix(cos): widen Event Log on desktop and reduce avatar-panel padding

Adam Eivy7e73643cf072
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 85ddbd0253..75e89cd688 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -33,6 +33,7 @@ A page-level run dock now slides up from the bottom of the Writers Room while im
## Changed
+- Chief of Staff left rail uses desktop space better: the avatar UI section now uses tighter horizontal padding (`lg:px-4` instead of `lg:p-8`), the Event Log expands to fill remaining vertical space (up to 32rem) and shows up to 25 events instead of 5, and the Start/Stop control row is pinned to the bottom of the panel via `mt-auto`. Mobile layout unchanged.
- The "Rendering N scenes…" inline banner inside the Boards tab has been removed; the new run dock subsumes it and is visible from any tab.
- `STORYBOARD_TAB` enum now includes `OBJECTS` between `WORLD` and `SCENES`.
- `ANALYSIS_KINDS` server enum now includes `'objects'`.
diff --git a/client/src/components/cos/EventLog.jsx b/client/src/components/cos/EventLog.jsx
index d46bc00401..d9a7ffa764 100644
--- a/client/src/components/cos/EventLog.jsx
+++ b/client/src/components/cos/EventLog.jsx
@@ -18,10 +18,10 @@ export default function EventLog({ logs }) {
if (!logs || logs.length === 0) return null;
return (
- <div className="mt-4 w-full max-w-[280px]">
+ <div className="mt-4 w-full flex-1 min-h-0 flex flex-col">
<div className="text-xs text-gray-500 mb-1 font-mono">Event Log</div>
- <div className="bg-slate-900/80 border border-slate-700/50 rounded-lg p-2 max-h-32 overflow-y-auto">
- {logs.slice(-5).reverse().map((log, i) => (
+ <div className="bg-slate-900/80 border border-slate-700/50 rounded-lg p-2 flex-1 min-h-[8rem] max-h-[32rem] overflow-y-auto">
+ {logs.slice(-25).reverse().map((log, i) => (
<div key={i} className={`text-xs font-mono py-0.5 ${levelColors[log.level] || 'text-gray-400'}`}>
<span className="mr-1">[{levelIcons[log.level] || '*'}]</span>
<span className="text-gray-500">{new Date(log.timestamp).toLocaleTimeString()}</span>
diff --git a/client/src/pages/ChiefOfStaff.jsx b/client/src/pages/ChiefOfStaff.jsx
index 01d6f8d520..406e20b6e4 100644
--- a/client/src/pages/ChiefOfStaff.jsx
+++ b/client/src/pages/ChiefOfStaff.jsx
@@ -611,12 +611,12 @@ export default function ChiefOfStaff() {
)}
{/* Avatar UI overlays the full-width canvas stage for 3D styles. */}
- <div className={`${hasCanvasAvatar ? 'absolute inset-y-0 left-0 w-[46%] lg:relative lg:inset-auto lg:w-full lg:flex-none p-2 sm:p-3 lg:p-8' : 'relative flex-1 min-w-0 lg:flex-none p-2 lg:p-8'} min-w-0 flex flex-col items-center z-10`}>
+ <div className={`${hasCanvasAvatar ? 'absolute inset-y-0 left-0 w-[46%] lg:relative lg:inset-auto lg:w-full lg:flex-none lg:h-full p-2 sm:p-3 lg:px-4 lg:py-6' : 'relative flex-1 min-w-0 lg:flex-none lg:h-full p-2 lg:px-4 lg:py-6'} min-w-0 flex flex-col items-center z-10`}>
<div className="hidden lg:block text-sm font-semibold tracking-widest uppercase text-slate-400 mb-1 font-mono">
Digital Assistant
</div>
<h1
- className="hidden lg:block text-lg sm:text-xl lg:text-3xl font-bold mb-2 lg:mb-8"
+ className="hidden lg:block text-lg sm:text-xl lg:text-2xl xl:text-3xl font-bold mb-2 lg:mb-4"
style={{
background: 'linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4)',
WebkitBackgroundClip: 'text',
@@ -635,12 +635,14 @@ export default function ChiefOfStaff() {
<div className={`${hasCanvasAvatar ? 'sm:-mt-4 md:-mt-6 lg:mt-0' : ''} hidden sm:block`}>
<StatusBubble message={statusMessage} countdown={evalCountdown} />
</div>
- <div className="hidden lg:block">
- {status?.running && <EventLog logs={eventLogs} />}
- </div>
+ {status?.running && (
+ <div className="hidden lg:flex flex-1 min-h-0 w-full flex-col">
+ <EventLog logs={eventLogs} />
+ </div>
+ )}
{/* Control Buttons */}
- <div className={`${hasCanvasAvatar ? 'hidden lg:flex lg:mt-6' : 'flex mt-2 lg:mt-6'} items-center gap-1.5 sm:gap-3`}>
+ <div className={`${hasCanvasAvatar ? 'hidden lg:flex lg:mt-auto lg:pt-4' : 'flex mt-2 lg:mt-auto lg:pt-4'} items-center gap-1.5 sm:gap-3`}>
{status?.running ? (
<button
onClick={handleStop}