diff options
| author | Adam Soltys <[email protected]> | 2026-10-09 20:48:38 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-09 20:48:38 -0700 |
| commit | 557831a04d71a155699124395f55d394ad5b2f4f (patch) | |
| tree | 41d1fb0523692d2db1914239ef48da94cc972c2f /tools/thread-cache-test.js | |
| parent | 095caadcba5a63f5969e50777d7e482c1d32174e (diff) | |
| download | coinosv3-557831a04d71a155699124395f55d394ad5b2f4f.tar.gz coinosv3-557831a04d71a155699124395f55d394ad5b2f4f.zip | |
Messages: a tap on a conversation's face opens THAT person. The avatar's tap 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
Diffstat (limited to 'tools/thread-cache-test.js')
0 files changed, 0 insertions, 0 deletions
