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: align board name/description and tighten mood board detail layout on desktop

[._.]/ Adam Eivy7c2611c30ab1
diff --git a/client/src/components/moodBoard/MoodBoardStylePanel.jsx b/client/src/components/moodBoard/MoodBoardStylePanel.jsx
index de1f22787d..a5fbba5eec 100644
--- a/client/src/components/moodBoard/MoodBoardStylePanel.jsx
+++ b/client/src/components/moodBoard/MoodBoardStylePanel.jsx
@@ -10,7 +10,7 @@
*/
import { useCallback, useEffect, useRef, useState } from 'react';
import socket from '../../services/socket';
-import { ScanEye, Sparkles, ImageIcon } from 'lucide-react';
+import { ScanEye, Sparkles, ImageIcon, ChevronDown, ChevronRight } from 'lucide-react';
import ProviderModelSelector from '../ProviderModelSelector';
import MediaJobThumb from '../pipeline/MediaJobThumb';
import toast from '../ui/Toast';
@@ -50,6 +50,8 @@ export default function MoodBoardStylePanel({ board, onBoardChange }) {
setNegative(savedNegative);
}
+ // Collapsed once a style exists so the pinned items sit above the fold.
+ const [open, setOpen] = useState(!savedPrompt);
const [composing, setComposing] = useState(false);
const [job, setJob] = useState(null);
const jobRunning = job?.status === 'running';
@@ -257,14 +259,20 @@ export default function MoodBoardStylePanel({ board, onBoardChange }) {
return (
<section className="@container/board-style min-w-0 bg-port-card border border-port-border rounded-md p-3">
- <div className="flex items-center gap-2 mb-2">
- <ScanEye className="w-4 h-4 text-port-accent" aria-hidden="true" />
+ <button
+ type="button"
+ onClick={() => setOpen((v) => !v)}
+ aria-expanded={open}
+ className={`flex w-full min-w-0 items-center gap-2 text-left ${open ? 'mb-2' : ''}`}
+ >
+ {open ? <ChevronDown className="w-4 h-4 text-gray-400 shrink-0" aria-hidden="true" /> : <ChevronRight className="w-4 h-4 text-gray-400 shrink-0" aria-hidden="true" />}
+ <ScanEye className="w-4 h-4 text-port-accent shrink-0" aria-hidden="true" />
<h2 className="text-sm font-medium text-white">Board style</h2>
<span className="text-[11px] text-gray-500 truncate" title="Prompt from media for each gallery item, then one composite style from those prompts. The poster is this board’s canonical reference image.">
Analyze pins → composite style → poster
</span>
- </div>
- <div className="flex flex-col @xl/board-style:flex-row gap-3">
+ </button>
+ <div className={`flex-col @xl/board-style:flex-row gap-3 ${open ? 'flex' : 'hidden'}`}>
<div className="w-full @xl/board-style:w-36 shrink-0">
<div className="aspect-[3/2] w-full rounded-md overflow-hidden border border-port-border bg-port-bg">
{jobId ? (
diff --git a/client/src/pages/MoodBoardDetail.jsx b/client/src/pages/MoodBoardDetail.jsx
index f2cbfca808..0d30dbc8d3 100644
--- a/client/src/pages/MoodBoardDetail.jsx
+++ b/client/src/pages/MoodBoardDetail.jsx
@@ -521,7 +521,7 @@ function MoodBoardEditor({ id }) {
value={name}
maxLength={200}
onChange={(e) => setName(e.target.value)}
- className="w-full bg-port-bg border border-port-border rounded px-2 py-1.5 text-white text-sm focus:border-port-accent outline-none"
+ className="block w-full bg-port-bg border border-port-border rounded px-2 py-1.5 text-white text-sm focus:border-port-accent outline-none"
/>
</div>
<div className="min-w-0 flex-[2_1_20rem]">
@@ -532,7 +532,7 @@ function MoodBoardEditor({ id }) {
maxLength={5000}
rows={1}
onChange={(e) => setDescription(e.target.value)}
- className="w-full bg-port-bg border border-port-border rounded px-2 py-1.5 text-white text-sm focus:border-port-accent outline-none resize-y"
+ className="block w-full h-[34px] min-h-[34px] bg-port-bg border border-port-border rounded px-2 py-1.5 text-white text-sm focus:border-port-accent outline-none resize-y"
/>
</div>
<button
@@ -546,9 +546,11 @@ function MoodBoardEditor({ id }) {
</div>
</div>
- <MoodBoardStylePanel board={board} onBoardChange={setBoard} />
-
- <MoodBoardCollagePanel board={board} onBoardChange={setBoard} />
+ {/* Style + collage share a row on wide boards so pinned items stay above the fold */}
+ <div className="grid grid-cols-1 @4xl/board:grid-cols-[minmax(0,2fr)_minmax(0,1fr)] gap-4 items-start">
+ <MoodBoardStylePanel board={board} onBoardChange={setBoard} />
+ <MoodBoardCollagePanel board={board} onBoardChange={setBoard} />
+ </div>
{/* Use board width, including space lost to the app sidebar. */}
<div className="grid grid-cols-1 @4xl/board:grid-cols-[minmax(0,1fr)_22rem] gap-6 items-start">