chore(memory): capitalize bugfix b9da4fa — BLK-003, LRN-004, LRN-005

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude committed 2026-05-19 04:59:00 +02:00
1 parent b9da4fa04a
commit 6a0ab22f76
3 files changed
+35

No files matched your search

+16
View File
@@ -26,3 +26,19 @@ corepack shim on Node 20.20.0 throws ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING.
Fix: install pnpm directly via get.pnpm.io/install.sh.
Binary lands at ~/.local/share/pnpm/bin/pnpm.
Apply: CI/dev envs without system pnpm.
---
## LRN-004 | 2026-05-19 | SVG behavior hints via free-form data-anno-special
Branch click handling on `data-anno-special` (free-form string), not on `data-anno-category`.
Why: category is free-form metadata (LRN follow-up to refactor BDR/cad94a4 chain); coupling logic to category re-introduces a closed enum and silently breaks when SVG author renames a slug. Hints stay opaque to parser, consumed only at use site.
Apply: any SVG-driven UI where authors add new annotation types regularly — use `data-anno-special` for behavior triggers, keep category for grouping/filters only.
---
## LRN-005 | 2026-05-19 | Detail-popup needs its own bones map
When a popup loads a separate SVG, its annotation ids are not in the parent's bones map.
Parse detail SVG on popup open and keep a `detailBones` map; fall back lookup `bones.get(id) ?? detailBones.get(id)` in shared click handler.
Apply: any nested/zoom-popup pattern where the child SVG has independent ids.