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