website 1.12.1: the With map layouts show the map

- Accounts' profile never has the address's geo, so Service times' and Contact's map layouts
  never drew a map. church/geocode.ts looks the address up on OpenStreetMap's Nominatim (the
  street, else the suburb and city) for the public site and the preview, kept in AppSetting
  church_geocode per address; one not found is retried after a day.
- Tests: backend (157, one new, with a stand-in Nominatim).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 11:38:53 +02:00
co-authored by Claude Opus 5.5
parent 76a44c9880
commit 33088c1377
8 changed files with 122 additions and 6 deletions
+7 -2
View File
@@ -11,7 +11,7 @@ separately below; the two often differ.
| What | Repo | Latest | Tag | Released |
|------|------|--------|-----|----------|
| Cross Events | `crosscode-platform` (`apps/events`) | **3.9.0** | `events@3.9.0` | 2026-12-01 |
| Church Website | `crosscode-platform` (`apps/website`) | **1.12.0** | `website@1.12.0` | 2026-12-01 |
| Church Website | `crosscode-platform` (`apps/website`) | **1.12.1** | `website@1.12.1` | 2026-12-01 |
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.10.0** | `accounts@1.10.0` | 2026-12-01 |
| Server agent | `crosscode-platform` (`apps/agent`) | **1.7.0** | `agent@1.7.0` | 2026-11-30 |
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.24.0** | `contracts@1.24.0` | 2026-11-30 |
@@ -31,7 +31,7 @@ on each run, so merging to `main` and pushing releases it. Its changes are liste
| `@crosscode/demo` | `packages/demo` | 1.1.0 (the demo scenarios' churches, people and logos; ships with Accounts 1.9.0, Events 3.8.0 and Website 1.8.0) |
| `@crosscode/seo` | `packages/seo` | 1.0.0 (released with Events 2.4.0) |
| `@crosscode/ui` | `packages/ui` | 0.4.0 (fonts, `ChurchFooter`, `ColourField`; 0.2.0 with Accounts 1.7.0, 0.3.0 with Events 3.7.0, 0.4.0 with Accounts 1.10.0 and Website 1.9.0) |
| Website | `apps/website` | 1.12.0 (1.0.0–1.1.0 released 2026-11-26, 1.2.0–1.7.0 on 2026-11-27, 1.7.1 on 2026-11-28, 1.8.0 on 2026-11-30, 1.9.0 to 1.12.0 on 2026-12-01; tagged as `website@…`; see "Deployed / rolled out" for where it runs) |
| Website | `apps/website` | 1.12.1 (1.0.0–1.1.0 released 2026-11-26, 1.2.0–1.7.0 on 2026-11-27, 1.7.1 on 2026-11-28, 1.8.0 on 2026-11-30, 1.9.0 to 1.12.1 on 2026-12-01; tagged as `website@…`; see "Deployed / rolled out" for where it runs) |
| App | `apps/app` | 0.0.0 on main (a placeholder); 0.1.0 on the branch `feat/app-scaffold`, being built from 2026-12-01 (phase 6; not released, merged and tagged `app@1.0.0` when the plan is built) |
These shared packages ship inside the apps that use them, from the same checkout, so they don't
@@ -39,6 +39,11 @@ need their own tags until something outside this repo depends on them.
## What each latest release was for
- **Website 1.12.1 (2026-12-01):** the "With map" layouts (Service times, Contact) showed no map,
because Accounts' profile has no `geo`; the Website now looks the address up on OpenStreetMap's
Nominatim and keeps it. No migration, no contracts change, works with any Accounts. Checked: the
Website backend tests (157). Not deployed yet.
- **Website 1.12.0 (2026-12-01):** the Ministries, Leadership, Events, Messages and Contact pages
each get three layouts, set on the page in Pages or together under Template and style → Other
pages, with the template's suggestion marked; a site saved before keeps its pages' look until