website 1.8.0: demo scenarios (the scenario's people lead, Events' events through the feed)

- `npm run demo -- --profile <p> --scenario <p>`: each profile's `scenarioTeam` names four
  parts, roles and portraits; the names are the scenario's people from @crosscode/demo, the
  pastor first (home page and messages' speaker).
- With a linked Cross Events, a scenario load makes no events of its own, turns on Show events
  from and fetches Events' whole feed at once; an unreachable Events doesn't fail the load.
- A scenario on a site with no church profile saves the scenario's church, not Acacia Hill.
- crosscode script: `crosscode demo <church> website --scenario` passes it on and refuses a
  Website before 1.8.0; the Website installs and builds packages/demo.
- Docs: HANDOVER, APP-1.0-PLAN, VERSIONS, CHANGELOGs, What's New.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 15:23:12 +02:00
co-authored by Claude Opus 5.5
parent b2a163bb39
commit c8e270dbf1
17 changed files with 315 additions and 76 deletions
+26
View File
@@ -1,5 +1,31 @@
# Changelog — Church Website
## [1.8.0] — 2026-11-30
No migration, no new environment settings. The backend now uses `@crosscode/demo` (built by
`crosscode deploy` with the other shared packages).
### Added
- **Demo scenarios** (APP-1.0-PLAN §12): `npm run demo -- --profile <p> --scenario <p>` (the
scenario must be the profile of the same name) loads a profile as part of the scenario, so the
Website shows the same church as Accounts, Cross Events and the App.
- **Leaders:** each profile's `scenarioTeam` (`src/demo/seeds.ts`) names four parts, roles and
portraits, the pastor first; the names are the scenario's people from `demoPeople`. The pastor
is the home page's pastor and the messages' speaker, and every portrait's alt text is the new
name. None of the profile's own leader names is left.
- **Events:** with a linked Cross Events, a scenario load makes no simple events of its own (and
no pictures for them), turns on that link's **Show events from** and fetches Events' whole
feed at once (`syncLink`, full), so Events' events show, never copied. If Events can't be
reached the load still succeeds and says so; the 15-minute sync catches up. Without Events, the
profile's own three events, as before.
- On a site with no church profile at all, a scenario saves the scenario's church (from
`@crosscode/demo`) instead of Acacia Hill.
- `crosscode demo <church> website --profile <p> --scenario <p>` passes `--scenario` on (agent
1.7.0 sends it for the Hub's **Load a demo scenario**) and refuses a release before 1.8.0;
`packages/demo` joins the Website's shared packages (`website_shared_packages`,
`website_build`).
## [1.7.1] — 2026-11-28
One migration (`20261128000000_photo_framing`: a nullable `framing` column on `Ministry`,