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

address review round 2: quick-task defaultH + scroll-safe widget

Adam Eivy2969905700fe
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index a3fe902dc7..ac5332aa2a 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 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`.
+- **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. The widget registry's `quick-task` `defaultH` was also bumped from 3 to 5 so legacy/auto-synthesized layouts (and any layout the user adds `quick-task` to) get a tile tall enough for the expanded form by default; the widget root is now `h-full flex-col` with a `min-h-0 overflow-y-auto` form area so users who manually shrink the tile still see a scrollable form instead of clipped controls. Files: `client/src/components/cos/TaskAddForm.jsx`, `client/src/components/QuickTaskWidget.jsx`, `client/src/components/dashboard/widgetRegistry.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.jsx
index 0865b14ea0..beb341fd3a 100644
--- a/client/src/components/QuickTaskWidget.jsx
+++ b/client/src/components/QuickTaskWidget.jsx
@@ -12,15 +12,20 @@ export default function QuickTaskWidget() {
api.getApps().then(setApps).catch(() => setApps([]));
}, []);
+ // Tiles render with overflow-hidden + a fixed pixel height (h * ROW_HEIGHT)
+ // — fill the cell and let the form area scroll if the user shrank the
+ // tile below the expanded form's natural height.
return (
- <div className="bg-port-card border border-port-border rounded-xl p-4">
- <div className="flex items-center justify-between mb-3">
+ <div className="bg-port-card border border-port-border rounded-xl p-4 h-full flex flex-col min-h-0">
+ <div className="flex items-center justify-between mb-3 shrink-0">
<h3 className="text-sm font-semibold text-white">Quick Task</h3>
<Link to="/cos/tasks" className="text-xs text-gray-500 hover:text-port-accent transition-colors">
Tasks &rarr;
</Link>
</div>
- <TaskAddForm providers={providers} apps={apps} onTaskAdded={() => {}} compact defaultExpanded />
+ <div className="flex-1 min-h-0 overflow-y-auto">
+ <TaskAddForm providers={providers} apps={apps} onTaskAdded={() => {}} compact defaultExpanded />
+ </div>
</div>
);
}
diff --git a/client/src/components/dashboard/widgetRegistry.jsx b/client/src/components/dashboard/widgetRegistry.jsx
index e769dd64bd..9359776904 100644
--- a/client/src/components/dashboard/widgetRegistry.jsx
+++ b/client/src/components/dashboard/widgetRegistry.jsx
@@ -26,7 +26,7 @@ import HourlyActivityWidget from './builtins/HourlyActivityWidget';
// been edited, persisted h values win.
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: 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: 'goal-progress', label: 'Goal Progress', Component: GoalProgressWidget, width: 'third', defaultH: 5 },