aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dm-row-resort-test.js
Commit message (Collapse)AuthorAgeFilesLines
* Messages: a tap on a conversation's face opens THAT person. The avatar's tap ↵Adam Soltys5 days1-0/+110
handlers were attached with addEventListener, holding the person it was first drawn for; the morph transplants only h()'s on* properties, so when a new message re-sorted the list and the rows were patched in place, a face kept its old handler — a tap on Bill opened someone else's profile, and once that page had opened, a fresh render hid the evidence. The avatar now sets onclick/onpointerdown claimed in _evs (transplanted like any h() handler), and conversation rows are keyed by person so a re-sort moves them. tools/dm-row-resort-test.js (on the old code, Bill's face opened Alice). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3