aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-24 21:50:56 -0700
committerAdam Soltys <[email protected]>2026-08-24 21:50:56 -0700
commit14817c69079cd4cf92b0e7a0e630e68d4c8211c0 (patch)
tree9e427b7e12d5f30ea21027aa5c8fc7fea4eeffd8
parentc131fe1f6d64d141f8c71397f3776ac43795a17c (diff)
downloadcoinosv3-14817c69079cd4cf92b0e7a0e630e68d4c8211c0.tar.gz
coinosv3-14817c69079cd4cf92b0e7a0e630e68d4c8211c0.zip
Every face is a door: note-row avatars open the author's profile again — the thread view had them inert, and even in the feed a tap on the picture now means the person, not the post
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi
-rw-r--r--src/features/messages.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 6a73ad0..9336f7c 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -1311,7 +1311,9 @@ export function messagesFeature(ctx) {
// row tap even if propagation quirks let the click reach us
onClick: open ? (e) => { if (e.target && e.target.closest && e.target.closest('button')) return; openNoteThread(ev); } : undefined,
},
- avatar(pk, 'chat-avatar', false),
+ // the avatar is its own tap-target (profile), even inside an openable
+ // row — its handler stops propagation, so the row still opens the thread
+ avatar(pk),
h('div', { class: 'col grow', style: 'min-width:0;gap:3px' },
h('div', { class: 'row between', style: 'align-items:center;gap:8px' },
h('div', { class: 'row', style: 'gap:7px;align-items:baseline;min-width:0' },