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
address review: opt-in defaultExpanded + adjust focus layout grid
Adam Eivy66ef5c1eb965
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex bf887e1cd2..a3fe902dc7 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -63,7 +63,7 @@## Changed-- **Dashboard Quick Task widget shows expanded options by default** — the compact form on the dashboard now opens with worktree/PR/simplify/review-loop/provider/attachments visible instead of hidden behind a "More options" toggle, so the card renders as a complete capture form on first paint. The default ("Everything") layout grid was re-tuned to match: `quick-task` jumps from `h: 2` to `h: 5`, `upcoming-tasks` aligns at `h: 5`, and the second band (system-health, alerts, death-clock, review-hub, activity-streak) plus everything below shifts down accordingly so nothing collides with the taller capture row. Files: `client/src/components/cos/TaskAddForm.jsx`, `server/services/dashboardLayouts.js`.+- **Dashboard Quick Task widget shows expanded options by default** — the compact form on the dashboard now opens with worktree/PR/simplify/review-loop/provider/attachments visible instead of hidden behind a "More options" toggle, so the card renders as a complete capture form on first paint. The expanded-on-mount behavior is opt-in via a new `defaultExpanded` prop on `TaskAddForm`, so the App detail page's Tasks tab (the other `compact` consumer) keeps its previous collapsed-first behavior. The toggle label now reflects state ("More options" → "Fewer options" once expanded). Both built-in layouts that include `quick-task` were re-tuned to match the taller capture row: **Everything** moves `quick-task`/`upcoming-tasks` to `h: 5` and shifts the second band (system-health, alerts, death-clock, review-hub, activity-streak) plus everything below down accordingly; **Focus** moves `quick-task` from `h: 2` to `h: 5`, lengthens `upcoming-tasks` to `h: 10`, and reanchors `cos` at `y: 5, h: 5` so the three widgets still fill the column without clipping the expanded form. Files: `client/src/components/cos/TaskAddForm.jsx`, `client/src/components/QuickTaskWidget.jsx`, `server/services/dashboardLayouts.js`.- **Bump `portos-ai-toolkit` to 0.8.3** (from 0.8.0) — picks up the latest provider/run-tracking fixes from the toolkit. Server tests (2557) pass against the upgraded module. File: `server/package.json`, `server/package-lock.json`.diff --git a/client/src/components/QuickTaskWidget.jsx b/client/src/components/QuickTaskWidget.jsxindex 25b2a8df75..0865b14ea0 100644--- a/client/src/components/QuickTaskWidget.jsx+++ b/client/src/components/QuickTaskWidget.jsx@@ -20,7 +20,7 @@ export default function QuickTaskWidget() {Tasks →</Link></div>- <TaskAddForm providers={providers} apps={apps} onTaskAdded={() => {}} compact />+ <TaskAddForm providers={providers} apps={apps} onTaskAdded={() => {}} compact defaultExpanded /></div>);}diff --git a/client/src/components/cos/TaskAddForm.jsx b/client/src/components/cos/TaskAddForm.jsxindex cdef45fb1d..8f3e89dfa5 100644--- a/client/src/components/cos/TaskAddForm.jsx+++ b/client/src/components/cos/TaskAddForm.jsx@@ -6,7 +6,7 @@ import * as api from '../../services/api';import { processScreenshotUploads, processAttachmentUploads } from '../../utils/fileUpload';import { formatBytes } from '../../utils/formatters';-export default function TaskAddForm({ providers, apps, onTaskAdded, compact = false, defaultApp = '' }) {+export default function TaskAddForm({ providers, apps, onTaskAdded, compact = false, defaultExpanded = false, defaultApp = '' }) {const [newTask, setNewTask] = useState({ description: '', model: '', provider: '', app: defaultApp });const [addToTop, setAddToTop] = useState(false);const [enhancePrompt, setEnhancePrompt] = useState(false);@@ -20,10 +20,10 @@ export default function TaskAddForm({ providers, apps, onTaskAdded, compact = faconst [attachments, setAttachments] = useState([]);const [templates, setTemplates] = useState([]);const [showTemplates, setShowTemplates] = useState(false);- // Compact mode (the dashboard Quick Task widget) opens with options- // visible so the card renders as a complete capture form. Only consulted- // by the "More options" toggle in the compact branch.- const [expanded, setExpanded] = useState(true);+ // Compact-mode-only "More options" toggle. Callers that render in a+ // tall container (the dashboard Quick Task widget) pass defaultExpanded+ // so the card paints as a complete capture form on first render.+ const [expanded, setExpanded] = useState(defaultExpanded);const [templateNameInput, setTemplateNameInput] = useState('');const [showTemplateSave, setShowTemplateSave] = useState(false);const [isSubmitting, setIsSubmitting] = useState(false);@@ -271,7 +271,7 @@ export default function TaskAddForm({ providers, apps, onTaskAdded, compact = faaria-expanded={expanded}>{expanded ? <ChevronDown size={12} /> : <ChevronRight size={12} />}- More options+ {expanded ? 'Fewer options' : 'More options'}</button>{expanded && (<div className="space-y-3 pt-1">diff --git a/server/services/dashboardLayouts.js b/server/services/dashboardLayouts.jsindex e62375a2ea..eda22f4fc8 100644--- a/server/services/dashboardLayouts.js+++ b/server/services/dashboardLayouts.js@@ -73,13 +73,14 @@ const DEFAULT_LAYOUTS = [name: 'Focus',builtIn: true,widgets: ['quick-task', 'upcoming-tasks', 'cos'],- // All three widgets above the fold. Quick-task small at top-left for- // capture; upcoming-tasks tall on the right (the focus list); cos- // below quick-task for streak/progress context.+ // All three widgets above the fold. Quick-task is sized to show its+ // expanded options (matches the Everything layout's h=5 capture row);+ // upcoming-tasks tall on the right (the focus list); cos below+ // quick-task for streak/progress context.grid: [- { id: 'quick-task', x: 0, y: 0, w: 6, h: 2 },- { id: 'upcoming-tasks', x: 6, y: 0, w: 6, h: 8 },- { id: 'cos', x: 0, y: 2, w: 6, h: 6 },+ { id: 'quick-task', x: 0, y: 0, w: 6, h: 5 },+ { id: 'upcoming-tasks', x: 6, y: 0, w: 6, h: 10 },+ { id: 'cos', x: 0, y: 5, w: 6, h: 5 },],},{