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:
+10
-36
@@ -34,13 +34,13 @@ every release).
|
||||
| 3 | Accounts 1.0.0 | **Released, rolled out and tested** (`accounts@1.8.0` rolled out; `1.9.0` released 2026-11-30 for phase 6, not deployed; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)) |
|
||||
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (`events@3.7.2` rolled out; `3.8.0` released 2026-11-30 for phase 6, not deployed; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
|
||||
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
|
||||
| 5 | Church Website 1.0.0 | **Released 2026-11-26** (planned 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md), all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet). `contracts@1.18.0` and Hub `v2.22.0` (Get more storage) released 2026-11-25, the Hub deployed 2026-11-26. **`website@1.0.0` and `1.0.1` released 2026-11-26**, crosscode-site `v1.7.0` (the Website on sale) released 2026-11-26. **Done** (confirmed by Joshua 2026-11-30): crosscode-site deployed, Hope Family Church and a second church live, the remaining release checks finished. Now `website@1.7.1` (VERSIONS.md) |
|
||||
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30, not deployed: `contracts@1.20.0`, `1.21.0` and `1.22.0`, `accounts@1.9.0`, `events@3.8.0` (below). Next: Website 1.8.0, agent 1.7.0, Hub 2.26.0, `app@1.0.0` |
|
||||
| 5 | Church Website 1.0.0 | **Released 2026-11-26** (planned 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md), all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet). `contracts@1.18.0` and Hub `v2.22.0` (Get more storage) released 2026-11-25, the Hub deployed 2026-11-26. **`website@1.0.0` and `1.0.1` released 2026-11-26**, crosscode-site `v1.7.0` (the Website on sale) released 2026-11-26. **Done** (confirmed by Joshua 2026-11-30): crosscode-site deployed, Hope Family Church and a second church live, the remaining release checks finished. Now `website@1.8.0` (VERSIONS.md) |
|
||||
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30, not deployed: `contracts@1.20.0`, `1.21.0` and `1.22.0`, `accounts@1.9.0`, `events@3.8.0`, `website@1.8.0` (below). Next: agent 1.7.0, Hub 2.26.0, `app@1.0.0` |
|
||||
| 7 | App 1.x | Not started |
|
||||
|
||||
## Released 2026-11-30 (phase 6, first steps)
|
||||
|
||||
Tagged and pushed on 2026-11-30, **not deployed yet** (each app has one migration). Details in
|
||||
Tagged and pushed on 2026-11-30, **not deployed yet** (Accounts and Events have one migration each; the Website none). Details in
|
||||
[VERSIONS.md](./VERSIONS.md), [CHANGELOG.md](../CHANGELOG.md) and the apps' CHANGELOGs.
|
||||
|
||||
| Release | What |
|
||||
@@ -50,6 +50,7 @@ Tagged and pushed on 2026-11-30, **not deployed yet** (each app has one migratio
|
||||
| `accounts@1.9.0`, `@crosscode/demo` 1.0.0 | `messaging.get` for the App; the WhatsApp opt-out for every product (STOP kept per number and account, Accounts' own WAWP webhook, "Turn WhatsApp back on"); a scenario's church profile, SVG logo and icon, and people (`crosscode demo <church> accounts --profile <scenario>`) |
|
||||
| `contracts@1.22.0` | Only free Bible translations in 1.0 (KJV and the new BSB: `licence`, `FREE_BIBLE_TRANSLATION_IDS`, the CSV `translations` option); the publishers' exact notices (NLT, ESV and the Afrikaans ones were out of date), the Bible Society's disclaimer, an `acknowledgement` per translation, who to ask, `FREE_QUOTE_VERSES` and `quotedVerses` ([BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)) |
|
||||
| `events@3.8.0`, `@crosscode/demo` 1.1.0 | STOP stops all WhatsApp (not only news), checked before every message and passed on to Accounts; the eight scenarios as Events demo profiles, around each church's own people and campuses |
|
||||
| `website@1.8.0` | A profile loaded with `--scenario` takes the scenario's people as its leaders and, with a linked Cross Events, shows Events' events through the feed instead of its own; `crosscode demo <church> website --scenario`; `packages/demo` built with the Website. No migration |
|
||||
|
||||
All four were checked on PostgreSQL 18 (local, details in `temp/`, never committed): migrations,
|
||||
scenario loads, the opt-out.
|
||||
@@ -118,41 +119,14 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
|
||||
|
||||
1. **Phase 6, Church App 1.0.0** (ROADMAP §7, §9), [APP-1.0-PLAN.md](./APP-1.0-PLAN.md) §15.
|
||||
**Done 2026-11-30 (released, not deployed):** contracts 1.20.0, 1.21.0 and 1.22.0, Accounts
|
||||
1.9.0, Events 3.8.0. The Bible publishers' terms checked: none covers a sold app, so **1.0 uses only the
|
||||
1.9.0, Events 3.8.0, Website 1.8.0. The Bible publishers' terms checked: none covers a sold app, so **1.0 uses only the
|
||||
free translations, the KJV and the Berean Standard Bible** (APP-1.0-PLAN decision 14); the
|
||||
permission requests for the others are drafted in [BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)
|
||||
for later, and nothing waits for them. **Next:**
|
||||
1. **Website 1.8.0:** its eight demo profiles take each scenario church's people (leaders,
|
||||
pastor) from `@crosscode/demo` and accept `--scenario`; the Website builds `packages/demo`.
|
||||
Not started (no branch). Worked out on 2026-11-30, to build on `feat/website-1.8`:
|
||||
- `npm run demo -- --profile <p> --scenario <p>` (`backend/scripts/demo.ts`); `loadDemo(ctx,
|
||||
profile, { scenario })` in `src/demo/demoChurch.ts`; the scenario must be the profile.
|
||||
- **Leaders:** a `scenarioTeam` per seed in `src/demo/seeds.ts`, four `[part, role, photo]`,
|
||||
the pastor first, the names from `demoPeople(scenario)` by part. Portraits by gender
|
||||
(keys in `demo-photos/photos.json`), checked 2026-11-30:
|
||||
heritage-parish pastor/Rector pastor-margaret, worship/Director of music team-sipho,
|
||||
kids/Sunday school team-anne, prayer-coordinator team-david; heritage-city pastor/Vicar
|
||||
pastor-peter, prayer-coordinator team-claire, worship/Organist team-nomsa, youth/Students
|
||||
and young adults team-tom; bold-youth pastor/Lead pastor team-kagiso, youth/Youth pastor
|
||||
team-ayesha, worship/Worship pastor team-megan, prayer-coordinator/Prayer and connect
|
||||
groups team-ruan; bold-plant pastor/Church planter team-sipho, kids team-ayesha, worship/Music
|
||||
team-ruan, prayer-coordinator/Prayer and community team-lerato; community-family
|
||||
pastor/Senior pastor pastor-andile, kids/Children's pastor team-michelle, prayer-coordinator
|
||||
team-lerato, youth team-johan; community-town pastor/Minister pastor-willem, kids/Sunday
|
||||
school team-elsie, worship/Music team-pieter, prayer-coordinator/Prayer team-marie;
|
||||
clean-modern pastor pastor-daniel, kids team-bongani, worship/Music team-nadia,
|
||||
prayer-coordinator/Prayer team-refilwe; clean-campus pastor pastor-ian, youth/Students
|
||||
team-thabo, worship/Music team-lisa, prayer-coordinator/Prayer team-priya. The pastor is
|
||||
the messages' speaker; photo alt texts carry the new names (as now).
|
||||
- **Events:** with a linked Cross Events (`ProductLink`, product `events`), a scenario load
|
||||
makes no simple events of its own, sets that link's `showEvents` and runs `syncLink`, so
|
||||
Events' events show through the feed, never copied (APP-1.0-PLAN §12). Without Events, its
|
||||
own three as now.
|
||||
- **Script:** `cmd_demo_website` in `scripts/lib/manage.sh` passes `--scenario`;
|
||||
`website_shared_packages` and `website_build` in `scripts/products/website.sh` add
|
||||
`packages/demo` (as `events.sh` does); `@crosscode/demo` in the backend's package.json.
|
||||
- Tests in `backend/tests/site.test.ts`: each scenario's leaders are its people, none of the
|
||||
seed's own leader names left, events from the feed when Events is linked.
|
||||
1. ~~**Website 1.8.0**~~: **released 2026-11-30** (not deployed). A profile loaded with
|
||||
`--scenario` takes the scenario's people as leaders (`scenarioTeam` in `src/demo/seeds.ts`)
|
||||
and, with a linked Cross Events, shows Events' events through the feed; `crosscode demo
|
||||
<church> website --scenario`; the Website builds `packages/demo`.
|
||||
2. **Agent 1.7.0:** `seed-demo` for `app` and `accounts`, `--scenario` passed on
|
||||
(`SEED_SCENARIO_MIN_AGENT`; bump `AGENT_VERSION` too).
|
||||
3. **Hub 2.26.0** (vendored contracts 1.22.0): the App in New install and releases, billing on
|
||||
@@ -162,7 +136,7 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
|
||||
months of Cross Code devotionals.
|
||||
4. **`app@1.0.0`** → cross-demo2 (every scenario loaded, the throwaway install from the Hub) →
|
||||
Hope Family Church → crosscode-site 1.10.0 (the App on sale).
|
||||
Deploying Accounts 1.9.0 and Events 3.8.0 to the churches can happen any time before the App;
|
||||
Deploying Accounts 1.9.0, Events 3.8.0 and Website 1.8.0 to the churches can happen any time before the App;
|
||||
a church without Cross Events gives WAWP the address in Accounts → Admin → Email and WhatsApp.
|
||||
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/`.
|
||||
|
||||
Reference in New Issue
Block a user