Hero-module: sitecontract definitief (crop-model B, plan goedgekeurd)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 14:27:40 +01:00
co-authored by Claude Sonnet 5.5
parent f441ad9366
commit cdd0cf8947
2 changed files with 18 additions and 5 deletions
+12
View File
@@ -59,3 +59,15 @@
**Context**: Workflow Planning; waiting for approval.
---
## Plan approved; crop model B chosen
**Timestamp**: 2026-11-16T00:00:00Z
**User Input**: "Bryans besluiten (2026-11-16): (1) Uitvoeringsplan Hero-module (H0-H6, geen Operations, plan 79d8846) is GOEDGEKEURD: ga door met Application Design; H0 (release/*-conditie) als eerste los mergen naar master (PR + groene checks; alleen test-deploy, geen productie). (2) Crop/focus-model: B. De host snijdt varianten per benoemde verhouding (wide 3:2, tall 4:5, breedtes zoals voorgesteld) rond het focuspunt en levert het focuspunt ook mee; sites gebruiken <picture>. (3) Bronfoto's ASF: begin met de huidige 8 exports, geen grotere originelen aanleveren; later uploaden via de admin kan altijd. (4) Focuspunten van de 8 ASF-foto's: de ASF-sessie zet een voorstel ... Maak het contract-document definitief en laat de ASF-sessie de golden files voor <picture> + preload leveren." (relayed by SLP Software - SLS - Main)
**AI Response**: Made the contract document final. H0 built on its own branch from master (458229f). Application Design starts next.
**Context**: Workflow Planning approved; Application Design.
---
@@ -1,4 +1,6 @@
# Hero contract with the websites: points agreed with the ASF session (2026-11-16)
# Hero contract with the websites (FINAL, 2026-11-16)
**Status**: final. Bryan chose crop/focus model **B** on 2026-11-16 (relayed by SLP Software - SLS - Main). The 8 current ASF exports are the seed sources (no larger originals now; a later upload through the admin is always possible). The ASF session proposes a first-guess focus point per photo (recorded in the seed data); Bryan adjusts them in the admin. The ASF session delivers the golden files for `<picture>` and the preload.
Input for Application Design. Source: message of "Andrea Slop Fotografie - ASF - Main" (technical answer; the crop/focus model stays Bryan's choice). The SLS side is delivered by the SLS session (three title lines with screen-reader text derived from the lines).
@@ -17,12 +19,11 @@ Input for Application Design. Source: message of "Andrea Slop Fotografie - ASF -
| Hydration | The region holds neutral HTML (fixed classes, no Chakra classes); React takes over with the same source after hydration; slides 2..n load afterwards. The first slide of the data block must equal the first slide the host wrote into the HTML (same source, same cache rule). |
| Golden files | ASF delivers input JSON, expected HTML region and expected preload, with a README and the commit, in `web/contract/host-injection/hero/` on a new ASF branch `feature/hero-module`. They start once Bryan chose the crop model. An A/B-neutral subset (title, tagline, button, first slide `<img>` without `<picture>`) can be delivered earlier. |
## Crop/focus model: input for Bryan's choice
## Crop/focus model: B (decided)
- **A**: a focus point only; the site uses `object-position`; one ratio per width.
- **B (recommended by both sessions)**: the host cuts variants per named ratio around the focus point (or an administrator-set crop), the focus point stays in the data. ASF can use `<picture>` per ratio.
The host cuts variants per named ratio around the focus point (or an administrator-set crop) and also delivers the focus point; sites use `<picture>` per ratio and may use the focus point as `object-position` for in-between shapes. (Option A, a focus point only, was not chosen.)
ASF proposal if B is chosen:
Ratios and widths (ASF proposal, accepted):
| Ratio | Name | Widths | Notes |
|---|---|---|---|