marketing: the hero console mock must match the real dashboard #27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem. The component under the marketing hero reproduces the Gotoi console but does not look like the
shipped product page, so the first thing a visitor sees misrepresents the UI.
Today:
marketing/src/lib/visuals/ConsoleWindow.svelte, fed bymarketing/src/lib/content/console-demo.tsand
scenario.ts. Those two content modules have tests (console-demo.test.ts,scenario.test.ts).Source of truth:
dashboard/src/lib/components/**anddashboard/src/routes/**, plusDESIGN.mdfor thevisual contract. The dashboard is Svelte, so real reuse is possible.
Required change. Prefer extracting/reusing the real components (or the same markup with the same CSS
tokens) over hand-drawing a lookalike. If extraction would require changing dashboard behaviour, say so and
instead rebuild faithfully quoting the file you copied from — do not approximate.
Acceptance. (1) Evidence that the mock and the real UI share structure and tokens: name the source files
and, if you can run both, capture a comparison. (2)
cd marketing && bun run buildexits 0 and the existingtests stay green. (3) If a test had to change because the demo's shape changed, state which assertion and why
— never weaken a test to make it pass. (4) State which path you took (extract vs rebuild) and why.
How to work it (the repo's own law)
issue/<N>-<slug>fromorigin/develop.main/masterare forbidden; never modify the primary checkout's working tree; commit locally and stop —the orchestrator pushes the branch and opens the PR; it never merges and neither do you.
fixes|closes|resolves #N) anywhere; useRefs #N.python3 scripts/check-ai-headers.py,python3 docs/use-cases/_check.py, and thebuild of whatever you touched (
cd marketing && bun run build,cd docs-site && bun run build).RULES.md§6.PRODUCT.mdis the operator's truth. If a doc contradicts it, the doc is wrong; if it is silent, that is adecision for the operator, not a licence to invent.
Report back with: what changed, the exact command you ran for each claim and its result, a DECISIONS list
(every judgement call), and a NOT VERIFIED list. Do not claim a build passes unless you ran it.
Claimed — branch
issue/27-hero-console-mock. Doing: rebuild the hero console mock from the real dashboard components (shell, page chrome, Executions feed) instead of the hand-drawn lookalike.Plan: /home/eduardez/workspace/gotoi-wt/meta/issue-27.plan.md
Path: REBUILD (port markup+tokens), not extract — separate SvelteKit apps, different $lib/icon graphs; extraction would change dashboard config/behaviour.
Tasks: (1) plan+claim, (2) port compound CSS (.card/.list-row/.page-title) into marketing/src/app.css, (3) fix StatusPill stale/suppressed mark drift, (4) rewrite shell + page header, (5) rewrite Executions feed (facets/toolbar/table/peek), (6) split/chat/kill bodies, (7) gates: marketing build+test, check-ai-headers, uc _check, type-mirror.
UC: none — marketing has no entry in docs/use-cases (catalog covers MW/FE/AG/OP product surfaces).
DONE
Commits:
dc67390(pill + surface CSS),0c7c43f(ConsoleWindow rebuild).Path: rebuild (port markup + tokens, copy .card/.list-row/.page-title/.surface-sidebar/.count-badge from dashboard/src/app.css into marketing/src/app.css); extraction would change dashboard behaviour and add a new package/config knob, so not taken.
Report: /home/eduardez/workspace/gotoi-wt/meta/issue-27.plan.report.md
DONE — pushed. Branch issue/27-hero-console-mock, commits
dc67390+0c7c43f. Gates: check-ai-headers 0 (566 ok), docs/use-cases/_check 0 (350 files), type-mirror 0, marketing check 0/0, build 0, test 13/13, gofmt clean; agent go test 6 pre-existing sandbox failures (present on clean develop, not from this diff). PR: #35 (-> develop). Refs #27