events 3.9.0, website 1.9.0, accounts 1.10.0: the church's details from Accounts everywhere

- Events: the Accounts profile's name, logo, icon, colours and contact details win over
  Events' own settings while Accounts is connected (pages, emails, WhatsApp, PDFs); Settings
  shows them read-only with a link to Accounts. The Accounts logo is copied for PDFs (PNG
  and JPEG). Fixes Events keeping its old church after a demo scenario load.
- Website: a background per homepage section in the church's colours; "More info" instead
  of "Register" for events without registration; the shared colour field.
- Accounts: the shared colour field in Church profile.
- @crosscode/ui 0.4.0: ColourField and isHexColour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 00:46:39 +02:00
co-authored by Claude Opus 5.5
parent 799c193fe1
commit 8055e1ec62
41 changed files with 843 additions and 120 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ describe('showing events from Cross Events (Show events from)', () => {
if (c.mode === 'published') {
assert.equal(c.events[0]!.title, 'Youth camp');
assert.equal(c.events[0]!.url, 'https://events.hope.test/events/6c7d');
assert.deepEqual(c.events[0]!.registration, { status: 'open', priceFromCents: 45000 });
assert.deepEqual(c.events[0]!.registration, { mode: 'origin', status: 'open', priceFromCents: 45000 });
}
assert.match(String((await db.productLink.findUnique({ where: { installId: EVENTS_ID } }))!.lastSyncError), /1 event\(s\) skipped/);
});