Accounts 1.9.0 (one migration): - messaging.get (sealed settings) and the messaging.changed hint to products that asked, on admin or product changes - the WhatsApp opt-out for every product: whatsapp.optout, Accounts' own WAWP webhook, WhatsAppOptOut kept per number, whatsapp_opted_out in user.updated, no WhatsApp from Accounts to an opted-out person, "Turn WhatsApp back on" - demo scenarios: npm run demo -- --profile <scenario> --force replaces the church profile (with an SVG logo and icon at /api/demo-assets/) and the demo people, ids kept across loads @crosscode/demo 1.0.0 (new): the eight scenarios' churches, people and logos. crosscode script: crosscode demo <church> accounts, --scenario on every demo, Accounts installs and builds packages/demo. Checked on PostgreSQL 18: migrations, scenario loads, opt-out, npm run demo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
1019 B
Markdown
16 lines
1019 B
Markdown
# @crosscode/demo
|
|
|
|
The demo scenarios' churches and people (docs/APP-1.0-PLAN.md §12, "Demo scenarios"). Loading a
|
|
scenario on a demo client puts the same church into every product: Accounts takes the church
|
|
profile, logo, icon and people from here, and Cross Events, the Church Website and the App build
|
|
their demo data around the same people (same `sub` in every product: `demoId`).
|
|
|
|
- `DEMO_CHURCHES`, `demoChurch(scenario)`: each church's profile (name, colours, font pairing,
|
|
corners, campuses, service times, contact, social links) and the mark its logo is drawn with.
|
|
- `demoPeople(scenario)`: the leads (pastor, office, prayer coordinator…) and members, enough for
|
|
the scenario's App active-member band. `demoParts(scenario)`: what each lead does.
|
|
- `demoIconSvg`, `demoLogoSvg`: the logo and icon, drawn for the demo.
|
|
|
|
Everything is fictional: people and church addresses are at `example.com`, there are no phone
|
|
numbers, and the password is `Demo@1234`. Ships inside the apps that use it (not tagged).
|