diff --git a/docs/APP-1.0-PLAN.md b/docs/APP-1.0-PLAN.md index 43e8beb..00c8f75 100644 --- a/docs/APP-1.0-PLAN.md +++ b/docs/APP-1.0-PLAN.md @@ -449,9 +449,20 @@ the App: Acacia Hill), and nothing makes them the same church. A **demo scenario combination: one choice on a demo client in the Hub loads **every product the client has** with data that describes **the same church**, so a demo shows the three products working together. +- **Each scenario is its own church** (Joshua, 2026-11-30): a scenario load **replaces the + church profile in Accounts** with the scenario's own, which a single-product demo never does (the + Website's demo keeps the profile and only uses the church's name). It's a demo client, so nothing + real is lost; the profile before the load goes in the backup taken first. Each scenario has: + - a name, short name and a **logo and icon** of its own (made for the demo, a simple mark and + wordmark per church, never a real church's), in `apps/accounts/backend/demo-assets//` + with a credits file. Accounts serves them itself (`/demo-assets/…`), since its profile holds + addresses, not uploads; + - colours, font pairing, corners and the Website template's style that suit it; + - a street address, campuses, service times, phone, email (`@example.com`) and social links + (to `example.com` addresses), a timezone, and the product links to the client's installs; + - photos from the Website's demo set for that profile (as now), used in Events and the App too. - **What "aligned" means:** in one scenario, every product has - - the same church profile in Accounts: name, short name, logo, colours, font pairing, campuses, - service times, contact and timezone; + - the same church profile in Accounts, as above, which Events, the Website and the App all read; - the same people, one account each in Accounts (all at `@example.com`, password `Demo@1234`): the pastor who leads on the Website, runs an Events registration and is Owner in the App; a prayer coordinator who also serves on an Events roster; members who register for events and @@ -461,18 +472,24 @@ data that describes **the same church**, so a demo shows the three products work - the same campuses throughout (one, or three for the multi-campus scenario); - content that fits the church: a prayer campaign before its conference, announcements about its events, messages from its pastor. -- **Scenarios** (proposal, one per kind of church Cross Code sells to; each product's profile is - new or reworked to fit): +- **The eight scenarios** (Joshua, 2026-11-30: one per Website demo profile; more in 1.x). The + key is the Website profile's. Events' 4 profiles become 8, one per church (the column says which + kind each is built from). All names are fictional: - | Scenario | Church | Events | Website | App | + | Scenario | Church | Website | Events (built from) | App | |---|---|---|---|---| - | `small-family` | A small family church, one service | `small` | `community-family` | a small prayer wall, weekly devotionals of its own | - | `conference` | A young church running a big conference | `events` | `bold-youth` | a 21-day campaign before the conference | - | `ministry` | A weekly-ministry church: courses, kids, volunteers | `ministry` | `clean-modern` | prayer teams per ministry, Cross Code's devotionals | - | `multi-campus` | Three campuses, one church | `multicampus` | `clean-campus` | one prayer wall, announcements per campus | - | `heritage` | An old parish church | `small` (reworked) | `heritage-parish` | a quiet prayer wall, Afrikaans devotionals | + | `heritage-parish` | **St Columba's**: a 120-year-old parish church, small and older, Sunday 09:00 | `heritage-parish` | `small`: carol service, harvest festival, a funeral-tea roster | a quiet wall (about 10 of 24 hours), Cross Code's devotionals in NKJV, a Lent campaign | + | `heritage-city` | **Grace Cathedral**: city centre, three Sunday services, lunchtime prayer | `heritage-city` | `events`: a concert series, ticketed Easter services | full in office hours with gaps at night, a weekday lunchtime focus, announcements per service | + | `bold-youth` | **Ignite Church**: young and music-led | `bold-youth` | `events`: a youth conference with paid registration, a worship night | a 21-day campaign before the conference, testimonies, WhatsApp reminders, NLT devotionals | + | `bold-plant` | **Harbour City**: a 2-year-old plant in a school hall | `bold-plant` | `small`: launch Sunday, a newcomers' lunch | a wall still filling up (the admin's setup checklist half done), the pastor's own devotionals | + | `community-family` | **Acacia Hill**: a family church (cross-demo2, the mockup's church) | `community-family` | `ministry`: kids' club, Alpha, family camp, volunteer rosters | full with a few gaps (as in the mockup), a 21-day campaign, members' requests waiting for approval | + | `community-town` | **Karoo Gemeenskapskerk**: a country-town church, mostly Afrikaans | `community-town` | `small`: a bazaar, a prayer breakfast | AFR83 devotionals of its own, 30-minute slots, the area's emergency numbers | + | `clean-modern` | **Northpoint**: a contemporary church of about 600 | `clean-modern` | `ministry`: courses, groups launch, serve teams | every hour covered, target 2 per slot, Cross Code's devotionals, announcements by WhatsApp | + | `clean-campus` | **Riverside**: three campuses near the university | `clean-campus` | `multicampus`: student welcome week at one campus, a combined worship night | one wall for three campuses, announcements per campus, students on the 02:00 slots | - Acacia Hill (cross-demo2) is one of them, chosen with Joshua when the App's demo data is written. + Between them, the App's active members cover every band from 0–100 to 2 001–5 000 and Events' + income bands vary, so the scenarios also show the Hub's tiers and billing. Each scenario's people + are sized to its band (the App's active-member count comes from them). - **Contracts 1.21.0:** `agent.DEMO_SCENARIOS`: each scenario's key, label, description, and the profile it uses for each product (`accounts`, `events`, `website`, `app`), so the Hub and the agent agree; a test checks every profile it names exists. `seed-demo` takes an optional @@ -491,7 +508,7 @@ data that describes **the same church**, so a demo shows the three products work needs a newer release (each scenario lists the minimum versions it needs). - **Products:** each product's demo loader takes `--scenario` and builds that scenario's data: Accounts (new: the profile and the people, replacing old demo people with `people.removeDemo`), - Events 3.8.0 (its 4 profiles reworked to the scenarios' churches and people), the Website 1.8.0 + Events 3.8.0 (its 4 profiles become 8, one per scenario's church and people), the Website 1.8.0 (its profiles take the people and events of the scenario they're in) and the App 1.0.0. A product without the scenario's profile refuses the job, so a half-loaded demo is never silent. @@ -502,7 +519,7 @@ data that describes **the same church**, so a demo shows the three products work | `crosscode-platform` `apps/app` | New (§1–§12), with `CHANGELOG.md`, `WHATS-NEW.md`, `env.template.json`, e2e, demo data | `app@1.0.0` | | `crosscode-platform` `packages/contracts` | `app` in `DEMO_PRODUCTS`, `APP_MODULES`, the `app` part of the church export, `crosscode.devotional/1` and its CSV rules, the translations, `messaging.get`, `whatsapp.optout` | `contracts@1.20.0` (**released 2026-11-30**) | | `crosscode-platform` `packages/contracts` | `agent.DEMO_SCENARIOS`, `scenario` in `seed-demo`, `accounts` in `DEMO_PRODUCTS` | `contracts@1.21.0` | -| `crosscode-platform` `apps/accounts` | `messaging.get` for linked products, a hint when the messaging settings change, the WhatsApp opt-out for every product; demo data (the scenario's church profile and people) | `accounts@1.9.0` | +| `crosscode-platform` `apps/accounts` | `messaging.get` for linked products, a hint when the messaging settings change, the WhatsApp opt-out for every product; demo data (the scenario's church profile with its logo and icon, and its people) | `accounts@1.9.0` | | `crosscode-platform` `apps/events` | STOP replies passed to Accounts; the opt-out read from Accounts; demo profiles reworked to the scenarios | `events@3.8.0` | | `crosscode-platform` `apps/website` | Demo profiles take the scenario's people and events (`--scenario`) | `website@1.8.0` | | `crosscode-platform` `apps/agent` | `seed-demo` for `app` and `accounts`, `--scenario` passed on | `agent@1.7.0` | @@ -586,7 +603,9 @@ Made by Joshua on 2026-11-30, after the first draft and the mockup: 12. **Home shows today's prayer clock** in small, as the House of Prayer does (mockup redrawn). 13. **Demo scenarios** (added later on 2026-11-30): on a demo client, one choice in the Hub loads every product with the same church, people and events, from preset combinations (§12). Adds - contracts 1.21.0, agent 1.7.0 and Website 1.8.0, and demo data in Accounts 1.9.0. + contracts 1.21.0, agent 1.7.0 and Website 1.8.0, and demo data in Accounts 1.9.0. Eight + scenarios, one per Website demo profile, each its own church: a scenario load replaces the + church profile with its own name, logo, icon, colours and details. The other proposals as first written, confirmed: @@ -624,4 +643,4 @@ for a group; an app-store release; moving to the church's own domain (as the Web - ~~Which two Afrikaans translations~~: 1933/1953 and 1983, confirmed by Joshua 2026-11-30 (YouVersion ids checked, contracts 1.20.0). - **The publishers' terms** for quoting each translation in an app (§6), checked before Cross Code's devotionals go out; ask for permission where the terms don't cover it. -- **The demo scenarios** (§12): the list and each one's church, and which one is Acacia Hill. +- ~~The demo scenarios~~: eight, one per Website demo profile, each its own church with its own logo and details; Acacia Hill is `community-family` (Joshua, 2026-11-30).