website 1.11.0: layouts and backgrounds for the blocks; a video for the top of the page
- Blocks get layouts (BLOCK_VARIANTS: text standard/centred; image and text photo left, right or above; quote centred/with a line; call to action centred/banner), stored on Section.variant and checked against the type; an unknown one draws as the default, as every block looked before. The demo's image-text block id is now image-left. - Each block has its own background (Section.background, migration 20261201000000_block_background), in the published source only when set, put back by Discard and Restore, drawn as the homepage's (data-bg). - MP4 uploads up to 20 MB for the hero's Video layout: QuickTime refused, metadata boxes (udta, meta, uuid) blanked into free boxes of the same size so where it was filmed is gone and the frame offsets hold; size read from tkhd. GET /media lists mime. - Admin: a block's Layout and Background when open; the hero's Video field (only videos; photo fields only photos); the media library shows and takes videos. An upload over the limit says so instead of "That request isn't valid." - Tests: backend (152, three new); e2e for block layouts and a video upload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+9
-2
@@ -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.10.0** | `website@1.10.0` | 2026-12-01 |
|
||||
| Church Website | `crosscode-platform` (`apps/website`) | **1.11.0** | `website@1.11.0` | 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.10.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 and 1.10.0 on 2026-12-01; tagged as `website@…`; see "Deployed / rolled out" for where it runs) |
|
||||
| Website | `apps/website` | 1.11.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.11.0 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,13 @@ need their own tags until something outside this repo depends on them.
|
||||
|
||||
## What each latest release was for
|
||||
|
||||
- **Website 1.11.0 (2026-12-01):** the other pages' blocks get layouts (text, image and text,
|
||||
quote, call to action) and their own backgrounds in the church's colours, and the hero's Video
|
||||
layout gets a video: MP4 uploads up to 20 MB, where it was filmed taken out. **Migration**
|
||||
(`Section.background`, nullable). No contracts change, works with any Accounts. On a FastPanel
|
||||
site, the site's upload size limit must allow 20 MB. Checked: the Website backend tests (152),
|
||||
the frontend's typecheck and lint, the admin, variants and templates e2e suites. Not deployed.
|
||||
|
||||
- **Website 1.10.0 (2026-12-01):** the home page's editor (Pages → Home) sets each section's
|
||||
layout, background, order and whether it shows (still under Template and style too), and a
|
||||
section offers only the photos its layout shows, a slot for each (1 for Photo, Video and Split,
|
||||
|
||||
Reference in New Issue
Block a user