website 1.0.1: thumbnails from the site, Calendar dates

- The messages' YouTube thumbnails are served from the site
  (/api/thumbnails/<id>.jpg): the backend fetches a message's thumbnail
  once and keeps it in uploads/.thumbnails (only the site's own videos,
  only a JPEG), so visitors ask nothing of YouTube before pressing play.
  The messages page preloads the first one (its LCP: Heritage 89 -> 95).
- Calendar events' dates read "Sun · November", not
  "Sun (month: November)".
- e2e: no request to YouTube or Spotify before play; the variant
  screenshots round section heights to whole pixels (a one-pixel flake);
  the e2e thumbnail is one of the demo's illustrations.
- crosscode script: a Website's export leaves out uploads/.thumbnails.
- docs: release checks on 1.0.1, VERSIONS, handover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 14:36:34 +02:00
co-authored by Claude Opus 5.5
parent dd0e5e17b3
commit 723bb15a5e
24 changed files with 282 additions and 41 deletions
+11 -17
View File
@@ -105,24 +105,18 @@ out").
and deployed 2026-11-25; the plan said 2.13.0) → ~~`website@1.0.0`~~ (released 2026-11-26, with
`contracts@1.18.0` and Hub `v2.22.0`, deployed 2026-11-26; the release checks are in
WEBSITE-1.0-PLAN §13, "Where they are"; the VM test was skipped, so watch the first install
closely) → **Hope Family Church**: roll out Accounts 1.7.0 and Events 3.7.0 first (neither is
rolled out yet), then New install → Website → a second church on a different template →
crosscode-site 1.7.0 (the Website on sale; prices in the site and the Hub together, below).
The variants and Lighthouse suites were run again on the release build on 2026-11-26 (WEBSITE-1.0-PLAN
§13, "Where they are"): every variant passes axe and all 104 have screenshot baselines now (the 37 there
were matched; 67 taken), and Lighthouse passed 11 of 12 pages (Heritage's messages 89).
Loose ends:
- **Look through the 67 new baselines** (Bold from Ministries on, Community, Clean) before they
count as right: they were taken, not compared.
- **Calendar events show "SUN (MONTH: NOVEMBER)"** on every template: `{ month: "long",
weekday: "short" }` without a day is what `Intl` prints that way (`sections/index.tsx`, the
Calendar variant). A fix for `website@1.0.1`; the four Calendar baselines change with it.
- **The message thumbnails load from YouTube** (`i.ytimg.com`) with the page, though plan §7 and
MessagePlayer's comment say nothing loads from YouTube before a click. Heritage's messages page
missed Lighthouse by its LCP, which is that thumbnail (3.0 s). Serving thumbnails from the site
would answer both.
closely) → ~~`website@1.0.1`~~ (released 2026-11-26: the messages' thumbnails served from the
site, the Calendar dates; VERSIONS.md) → **Hope Family Church**: roll out Accounts 1.7.0 and
Events 3.7.0 first (neither is rolled out yet), then New install → Website (1.0.1) → a second
church on a different template → crosscode-site 1.7.0 (the Website on sale; the Hub already
has its prices, 2.21.0).
The release checks are all run on 1.0.1's build (WEBSITE-1.0-PLAN §13, "Where they are"): every
variant passes axe, the 312 screenshots have baselines (taken again with whole-pixel section
heights), Lighthouse passes 12 of 12. Still to do:
- **Look through the variant baselines** once (the contact sheet: Bold, Community and Clean were
taken, not compared, the first time). A section drawn wrong there is the reference until then.
- **The VM test was skipped**: before Hope Family Church, a throwaway install from the Hub (New
install → Website, update it, uninstall with its export) in its place.
install → Website 1.0.0, update it to 1.0.1, uninstall with its export) in its place.
Done (confirmed by Joshua 2026-11-25): `hope-events` is archived, and every FastPanel site set up
before Hub 2.10.0, and the Hub's own site, has `location ^~ /api/`.