mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
The iMessage gesture, on the same opt-in toggle as the rest of reactions — double-click any message and it gets a heart; double-click again and it comes off. Off by default, and while it's off the message root carries no listener at all. The gesture is deliberately narrow about what it claims: only a true double-click (detail === 2, so a triple-click to select the paragraph doesn't re-toggle), and never over an element where a double-click already means something — links, buttons, inputs, code blocks. It clears the word selection the browser just made, since the tapback is what the gesture meant. Reaction state for the handler is read lazily off the message runtime at event time rather than subscribed to, mirroring how the footer already reads its text: the handler renders nothing, so subscribing the message root to every reaction change would be cost for no paint. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||