oficina / equipo Public

Brief: chat UI round 2, match the mockup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev b42b4edde8a1504a06fc08d32c8b0a1083bb0bdf parent acf53a2
1 file changed, +48 −0
  • docs/superpowers/plans/CODEX-BRIEF-chat-ui-2.md +48 −0

CI failed — run details

diff --git a/docs/superpowers/plans/CODEX-BRIEF-chat-ui-2.md b/docs/superpowers/plans/CODEX-BRIEF-chat-ui-2.md
new file mode 100644
index 00000000..b43b46b9
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-BRIEF-chat-ui-2.md
@@ -0,0 +1,48 @@
+# Brief: chat UI round 2 — match the mockup, not just the behaviour
+
+Same branch at acf53a2. The controller compared after/*.png with
+mockups/*.png (docs/mockups/built/2026-11-05/). Behaviour is right; the
+look is not. Close these gaps (desktop 1280 and phone 390):
+
+1. Sidebar (nav.html): header is the team name with a "switch" control,
+ not separate "Teams"/"Equipo" items. Specialist rows show ONE compact,
+ right-aligned status ("idle", "1", "1 · 1 queued", "1 waiting" in the
+ attention colour) on the same line as the name; never truncated or
+ wrapped. One "Specialists" heading; the template library is not a
+ specialist row (move it into the specialists/playbooks area as an
+ action, or under Team). Counts on Needs you / Projects as in the mockup.
+2. Messages: coordinator and specialist messages are plain text under a
+ small icon + name label (no boxed bubble); your own messages are a
+ tinted rounded bubble on the right WITHOUT your email label; times
+ subtle (hover/title or small, right). "Add this reply to a task" is
+ not an always-visible disclosure: move it into a small per-message
+ action (overflow/hover menu, keyboard reachable). A "Today" (date)
+ separator between days.
+3. Header: slim (title only; privacy line and "Your coordinator" link
+ moved into a small info affordance or removed if redundant).
+4. Question card: compact, attention-tinted card (hairline border + tint,
+ NO left stripe) in the flow: the question text, and one-tap choices
+ when the question has options; a single-line reply field that grows
+ only when typing; Send and Deny as small buttons; no duplicate
+ "Questions" heading, status pill and "Answer question" link.
+5. Task cards in the flow (conversation.html): title, project · kind ·
+ age, step pills with category label above step name and model ·
+ account below, arrows between, done/active/next states; actions
+ "Edit plan" and "Why these models?" as small buttons; whole card links
+ to the thread.
+6. Composer: one rounded box docked at the bottom: placeholder text
+ inside (no label above; keep an accessible label), project picker pill
+ only if projects exist, small Send button inside the box; Enter/
+ Shift+Enter behaviour unchanged. No Attach button (not supported yet).
+7. Scrolling: only the message feed scrolls; the page itself must not
+ (no double scrollbars); the composer and header stay put.
+8. Phone: match conversation-390 mockup proportions (full-width feed,
+ composer docked, back link header).
+Theme tokens only; values/badges never wrap; no coloured left borders.
+New user-facing strings (e.g. the composer placeholder) go in copy.go
+marked `// COPY REVIEW PENDING`. Re-shoot after/*.png at the same sizes
+(replace the files), run the browser/perf checks and ONE full `make -k ci`
+(rerun at most twice). Commit subject < 80, body `Co-Authored-By: Astra
+<noreply@openai.com>`, push. "Round 2" in CONTROLLER-REPORT-chat-ui.md.
+Loopback only; stop servers; scratch removed; no copy-review server.
+Print a five-line summary.