chore(memory): close session — BDR-008, LRN-008, journal

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude committed 2026-05-19 06:22:20 +02:00
1 parent d7ea99e040
commit 15a3ef2890
3 files changed
+17

No files matched your search

+8
View File
@@ -56,3 +56,11 @@ Status: closed.
pnpm@9 not available on host; corepack resolved 11.1.3.
Package.json engine constraint set to >=9 for Docker (Docker uses corepack latest).
Status: closed — deviation accepted.
---
## BDR-008 | 2026-05-19 | PDF page layout — branded heading pattern
Each PDF page leads with bold-uppercase accent eyebrow (size 9), Times 22 title, 2pt × 48pt accent rule under title. Section labels follow same eyebrow style (uppercase bold accent) above their values. Observation severity rendered as filled color-coded pill (sage / amber / red) next to the obs number.
Alts: plain text titles only — rejected (overlapped header rule + read unstyled).
Status: closed.
+2
View File
@@ -23,3 +23,5 @@ Parser reads data-anno-special; convention doc updated.
- VertebraPicker preselects region tab inferred from zone label (b3bd75d). +5 tests.
- Hotfix: detailBones now accumulate across popup opens; merged allBones passed to ObservationList so detail-popup zone labels survive after modal close.
- PDF rendering bugfix: titles cleared the header rule, zone-line wrap respects following blocks, non-selected zones hidden + data-anno-* stripped before raster, main SVG skipped when every zone lives in details. BLK-004, LRN-006, LRN-007 captured.
- PDF styling pass: eyebrow + Times 22 title + 2pt accent rule + uppercase accent section labels + color-coded severity pill (sage/amber/red). Eyebrow/title baseline gap raised to 27pt after first attempt still overlapped. BDR-008, LRN-008 captured.
- Commits this session: b9da4fa..d7ea99e (10 commits — bugfix + feat + hotfix + PDF styling).
+7
View File
@@ -57,3 +57,10 @@ Apply: any "screen → print" pipeline where the screen SVG has interaction laye
pdf-lib's drawText({ maxWidth }) wraps the visible glyph run but the returned y is unchanged — caller must measure with widthOfTextAtSize and advance the cursor per wrapped line. Otherwise subsequent text blocks overlap the wrapped tail.
Apply: any pdf-lib layout with variable-length user text. Always wrap explicitly + advance per line.
---
## LRN-008 | 2026-05-19 | pdf-lib eyebrow + title vertical spacing
Times-22 ascender ≈ 17pt. Eyebrow size-9 baseline above title baseline needs ≥22pt gap to clear the ascender + leave ≥6pt visual breathing. Header rule needs ≥30pt cushion below for a size-22 title (title baseline at height-120ish on A4).
Apply: any pdf-lib heading stack (eyebrow + title or chained headings). Compute from font.heightAtSize/widthOfTextAtSize, never eyeball pixel offsets.