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): align Workflow tab breakpoints — all responsive switches now happen at 2xl (#277)

[._.]/ Adam Eivy79f38c17d90b
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 67657594eb..2936273915 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -18,7 +18,7 @@
## Fixed
-- **CoS Workflow tab now renders cleanly on desktop and mobile.** The stage columns had only `min-w-[12rem]` with no max — long stage descriptions stretched each column past 300px and forced horizontal scroll even on wide monitors. Columns now use responsive flex sizing on `lg+` (`lg:flex-1 lg:basis-0 lg:min-w-[11rem] lg:max-w-[15rem]`) so descriptions wrap predictably without forcing fixed widths, and the whole pipeline stacks vertically below `lg` (with arrows hidden) for phones and narrow tablets. Cards inside each stage flow into a 2-column grid on `sm`–`lg` so single-column stages don't waste tablet width.
+- **CoS Workflow tab now renders cleanly on desktop and mobile.** The stage columns had only `min-w-[12rem]` with no max — long stage descriptions stretched each column past 300px and forced horizontal scroll even on wide monitors. Columns now use responsive flex sizing on `2xl+` (`2xl:flex-1 2xl:basis-0 2xl:min-w-[11rem] 2xl:max-w-[15rem]`) so descriptions wrap predictably without forcing fixed widths, and the whole pipeline stacks vertically below `2xl` (with arrows hidden) for phones, tablets, and standard-density laptops where 7 stages won't fit horizontally. Cards inside each stage flow into a 2-column grid on `sm`–`2xl` so single-column stages don't waste tablet width. (Follow-up after the initial PR's squash-merge mixed `lg:` children with a `2xl:` parent wrapper — Copilot review flagged the breakpoint mismatch.)
- **Volume cover-concept generation no longer 500s on upgraded installs.** The per-season "generate volume cover concepts" LLM step was shipped with its prompt template but missing from `stage-config.json`, so existing installs hit `Stage pipeline-volume-cover-concepts not found`. Added the config entry and a migration that seeds both the template and the config on next launch — fresh installs were already fine.
- **Pending data migrations now apply automatically on every server start.** Previously only `update.sh` ran `scripts/run-migrations.js`, so a plain pull-and-restart (or `pm2 restart` after manual git pull) left shipped migrations un-applied — new prompt stages, settings renames, and seed data sat in the queue until the user explicitly ran update or `npm run migrations`. The server now invokes the migration runner during boot, before the AI toolkit loads `stage-config.json`, and continues on failure with an error log instead of refusing to start.
- **Pipeline prose stage now honors the per-series provider/model override.** "Draft prose" was dropping the series LLM override and falling back to the default provider — fixed; the override (e.g. Codex on a series-by-series basis) is now respected on the prose stage the same way it already was on idea, comic script, and teleplay.
diff --git a/client/src/components/cos/tabs/WorkflowTab.jsx b/client/src/components/cos/tabs/WorkflowTab.jsx
index 1a5ad8db66..3e4423966a 100644
--- a/client/src/components/cos/tabs/WorkflowTab.jsx
+++ b/client/src/components/cos/tabs/WorkflowTab.jsx
@@ -126,7 +126,7 @@ function StageColumn({ stage, nodes, allNodes, hoveredId, setHoveredId }) {
const hoveredNode = hoveredId ? allNodes.find(n => n.id === hoveredId) : null;
return (
- <div className="flex w-full min-w-0 flex-col gap-2 lg:flex-1 lg:basis-0 lg:min-w-[11rem] lg:max-w-[15rem]">
+ <div className="flex w-full min-w-0 flex-col gap-2 2xl:flex-1 2xl:basis-0 2xl:min-w-[11rem] 2xl:max-w-[15rem]">
<div className={`rounded-md border ${palette.ring} ${palette.bg} px-3 py-2`}>
<div className="flex items-center gap-2">
<span className={`w-2 h-2 rounded-full ${palette.dot}`} />
@@ -137,7 +137,7 @@ function StageColumn({ stage, nodes, allNodes, hoveredId, setHoveredId }) {
</div>
<p className="text-[11px] text-gray-400 mt-1 leading-snug">{stage.description}</p>
</div>
- <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-1 gap-1.5">
+ <div className="grid grid-cols-1 sm:grid-cols-2 2xl:grid-cols-1 gap-1.5">
{nodes.map(node => (
<NodeCard
key={node.id}
@@ -167,7 +167,7 @@ function nodeReferences(node, hoveredId, hoveredNode) {
function StageArrow() {
return (
- <div className="hidden lg:flex items-center px-2 text-gray-600 shrink-0" aria-hidden="true">
+ <div className="hidden 2xl:flex items-center px-2 text-gray-600 shrink-0" aria-hidden="true">
<ArrowRight className="w-5 h-5" />
</div>
);