Website 1.7.1: move and zoom for ministries', leaders' and events' photos

1.7.0 had Move and zoom in page sections only. Ministries, Leadership
and Events now have it on their photo, in the frame the site uses for
the current template and layouts. Saved with the row as `framing`
({ x, y, zoom }, null for centred; cleared when the photo changes).
Ministries and leaders are drafts until Publish (snapshot, Discard and
Restore carry it); an event's shows once the event is published.
Versions published before this compare unchanged.

One migration: a nullable JSONB `framing` column on Ministry, Leader
and SimpleEvent.

Also: the 1.7.0 e2e test waits for the media library to load before
counting it (it could count an empty list).

Checked: Website backend tests (136) and typecheck, frontend typecheck
and lint, production build, admin e2e suite in Chromium (12).
Lighthouse not run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 00:27:54 +02:00
co-authored by Claude Opus 5.5
parent 4897489fb1
commit 0c521ff614
23 changed files with 212 additions and 40 deletions
+17
View File
@@ -1,5 +1,22 @@
# Changelog — Church Website
## [1.7.1] — 2026-11-28
One migration (`20261128000000_photo_framing`: a nullable `framing` column on `Ministry`,
`Leader` and `SimpleEvent`), run by `crosscode deploy`. No new environment settings.
### Fixed
- **Move and zoom everywhere a photo is framed, not only in page sections.** 1.7.0 had it in the
page editor only. Ministries, Leadership and Events now have the same **Move and zoom** on their
photo, shown in the frame the site uses for the current template and layouts (`frameFor` types
`ministry`, `leader`, `event`; `RowFraming` in `admin/framing.tsx`). It's saved with the row as
`framing` (`{ x, y, zoom }`, null for centred) and cleared when the photo is removed or changed.
Ministries and leaders are drafts until Publish (in the snapshot, Discard and Restore, as
`image.focus` / `photo.focus`); an event's shows once the event is published, like the rest of
it. Versions published before this compare unchanged (no framing key), so nothing shows as a
pending change after the update.
## [1.7.0] — 2026-11-27
No migration, no new environment settings.