templates: redesign community downloads page — Poster direction #113
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa#113
Loading…
Add table
Add a link
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?
Design direction approved by Ben 2026-09-03 ("Poster", option A of three mockups). Rebuild
templates/src/community-page.ts— still ONE self-contained server-rendered template string, no framework, derived entirely from the brand kit.Direction: Poster
brand.primaryColourand a darkened stop computed from it. Logo in a white circular medallion (~128px), communitynamein very large heavy type, thenonboarding.welcome.headingas the line under the name (fall back tobrand.tagline, then nothing).brand.secondaryColour: the visitor's detected platform (small inline OS-detect script, ~15 lines, no dependencies; default to Linux ordering when undetectable). Sub-line inside the button: format + size +Build N. The other four platforms render as quiet ghost/outline pill links below.approvalWords()), backend words (shared vs self-hosted), release notes link whenstatus.releaseUrlexists.contactEmailmailto.ready= CTA live with asset URLs fromstatus.assets;page-ready/building= CTA becomes a non-link status card ("Installers are being built…");failed= status card with the existing failed wording.Acceptance
templates/testextended: rendered HTML contains both kit colours, logo path, name, welcome-heading/tagline fallback chain, correct markup forpage-ready,building,ready,failedfixture statuses, and the OS-detect script only when state isready.e2espec (community-pagescreenshots): after the existing apply flow renders/c/ngati-example, capturepage.screenshot()of the community page in at least pending and ready states intotest-results/(branded PNGs reviewable per run). Keepapply.spec.tsassertions passing (data-installer attributes on the five links must remain).make test,make typecheck,make e2egreen.out_of_scope
communities/on-disk layout or Caddy serving. External fonts/CDNs on the page (system font stack only — the page must stay self-contained offline-safe static HTML).needs_human_decision
None — direction fixed by Ben; implementation details ruled by agent under the two-way-door doctrine.
Ruled by agent under the two-way-door doctrine — veto anytime.
Ruling: the oversized CTA sub-line renders format + Build N (e.g. "AppImage · Build 3"), omitting the byte size called for in the direction.
Why: installer byte sizes are not carried anywhere in the brand kit,
status.json, or thebuild-completecallback payload (assetsis a map of URLs only — seepackages/schema/src/{installers,status,build-complete}.ts). Surfacing a real size would require adding a field to the schema and threading it through the server/callback, and this ticket lists "Any server or schema changes" and schema edits asout_of_scope. Format is derived from each asset URL’s extension, so it needs no new data.Why two-way: the sub-line is pure presentational template output in one self-contained string; if a later ticket adds sizes to the kit/callback, adding
· 84 MBto the sub-line is a one-line, fully-revertible change.Proof:
templates/testasserts the ready-state sub-line contains the format andBuild N; grep of the schema package shows no size field exists to render.Landed by the idle landing sweep (#114): this agent PR was green but its worker left no close-report — killed after opening the PR. The sweep merged it;
closes #113closes the issue.