Accounts 1.9.0, @crosscode/demo 1.0.0: messaging.get, WhatsApp opt-out, demo scenarios
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>
This commit is contained in:
@@ -454,9 +454,11 @@ data that describes **the same church**, so a demo shows the three products work
|
||||
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/<scenario>/`
|
||||
with a credits file. Accounts serves them itself (`/demo-assets/…`), since its profile holds
|
||||
addresses, not uploads;
|
||||
wordmark per church, never a real church's), drawn as SVG by `@crosscode/demo` (Accounts
|
||||
1.9.0). Accounts serves them itself (`/api/demo-assets/<scenario>/logo.svg`, `icon.svg`), since
|
||||
its profile holds addresses, not uploads;
|
||||
- its people, also in `@crosscode/demo` (`demoPeople`), with the same account id in every
|
||||
product (`demoId`), so each product's loader builds around the same people;
|
||||
- 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;
|
||||
|
||||
Reference in New Issue
Block a user