[art] #9-3: wire portraits into OPERATIVES cards + SELECTED panel #20
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/cybertactics#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent-Issue: #9
Depends on: #9-2 (atlas entries must exist first).
Wire the portraits into the UI:
web/js/ui.jsshowTitle()— theops += ...loop, around line 213): each operative button gets a portrait<img>(or canvas draw from the atlas) on the left side, sized 96×96 (or matching the card's row height). The existingborder-left:3px solid ${s.color}accent stays.web/index.html#selsection): when a unit is selected, render the unit's portrait above or beside its stat block. Look up the renderer that fills#sel(likely inweb/js/ui.js— search for$(sel)orid("sel")).Acceptance:
make cipasses (Playwright smoke + node smoke tests)Refs: parent body acceptance criteria;
web/js/ui.jsshowTitle()line 196.Shipped on main @
ca31dfe: title-screen OPERATIVES cards render<img class="opport">96×96 portraits via the PORTRAIT registry (the .opstat wrapper preserves the existing name/cls/rank/XP/HP/AP/SPD/SGT flow + ALPHA/BRAVO tags + wounded/INFIRMARY badge). In-mission SELECTED panel renders<img class="selport">96×96 alongside .selstat when a unit is selected.make cigreen onca31dfe(7 node smoke + gdlint + Playwright UI smoke + Godot import). Headless portrait probe verified.opportrenders for all 6 squad members on title and.selportrenders for the post-DEPLOY selected unit.Note: self-hosted Forgejo Actions runner on unstable.tail018ac4.ts.net continues to surface
status:failurefor every recent commit (pattern pre-dates this card — same noise on cybertactics#15, #17, #18, #19, and now #20). Localmake cionca31dfeis the gating surface.