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:
@@ -1,5 +1,18 @@
|
||||
# Changelog — Church Website
|
||||
|
||||
## [1.12.1] — 2026-12-01
|
||||
|
||||
No migration. No new environment settings.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **The "With map" layouts showed no map** (Service times, Contact): the map needs the address's
|
||||
`geo`, which Accounts' profile never has. `church/geocode.ts` now looks the address up on
|
||||
OpenStreetMap's Nominatim (the street, else the suburb and city) for what visitors and the
|
||||
preview are shown, and keeps it in AppSetting `church_geocode` with the address it was for
|
||||
(looked up again when the address changes; one not found is tried again after a day). The
|
||||
admin's copy of the profile is left as Accounts has it.
|
||||
|
||||
## [1.12.0] — 2026-12-01
|
||||
|
||||
No migration (the layouts live in `SiteDesign.variants`). No new environment settings.
|
||||
|
||||
Reference in New Issue
Block a user