|
Some checks are pending
build-gate / build (push) Waiting to run
Driver, 2026-09-23: the UPG-100 list card should offer three PRINT options, each opening the browser's own print dialog on a rendered preview (never a silent file download), in this order: Print a UPG-100 list (the point of the app), Print a UPG prayer poster, Print a UPG card deck. - printList100() and printCardDeck() reuse printPoster()'s print-preview window mechanism (extracted to openPrintWindow()) rather than inventing a second one. - Both fetch real per-people-group records via the same normalize.js + selector-evaluator.js pipeline the sibling map profile already uses, so the map, the list print and the card deck can never disagree about which PGs belong to a list. Found and fixed along the way: 12 of 27 lists carry a `pg_slugs` selector that selector-evaluator.js intentionally throws on (a documented special case in upg-100-list.vue) — my first pass called it unconditionally, which silently ate every click on the India/China lists before reaching window.open(). Caught only by driving a real click and polling the HUD, not by reading the code. - Card deck is new code (no card/deck generator exists in this repo or in root-dx-life to port — searched first); one card per people group, print-paginated with `break-after:page`, styled after the poster-wall's own tape/card vocabulary. - Removed the now-orphaned exportPoster()/downloadPacket()/download() — the raw Download button and the "Prayer List: coming soon" placeholder were exactly the two buttons the Driver objected to. Verified live: instrumented window.open/window.print via Playwright, clicked all three buttons for real. Each opens exactly one window and calls print() exactly once (List: 1/1, Card Deck: 1/1; Poster: 1 window opened, print() correctly does NOT fire when the full-res poster 404s in this default, bundlePosters:false tree — the documented degraded state, confirmed by screenshot). |
||
|---|---|---|
| .. | ||
| __gallery | ||
| assets | ||
| doxa-maps | ||
| .gitignore | ||
| index.html | ||