From 1b142c92ce869a6ebe97825931ef3553255ba58e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 19 Sep 2026 22:28:36 -0700 Subject: Zaps: tap again while one flies, hold the bolt to change the amount. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A pending zap no longer refuses the next tap: the optimistic tally keeps one entry per zap and matches each report and receipt to the oldest it can describe, so two default-amount zaps stack, settle and hand over to their receipts one at a time. Instant post zaps run off the send screen's zap slot, so a second tap can't evict the one still resolving, and send action ids are unique within a millisecond. Holding ⚡ (500ms) opens the amount screen in an edit mode — Save alone, or Save and zap this note — from the action bar and the chat chips alike; the press's timer lives on the element so a background repaint mid-press can't turn a lifted finger into a hold. Co-Authored-By: Claude Fable 5.1 --- src/style.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 3629dfc..4e93009 100644 --- a/src/style.css +++ b/src/style.css @@ -601,6 +601,8 @@ hr.divider { margin: 16px 0; } /* the zap button carries the sats tally: amber once anyone has zapped, the number in amber too; breathing while our own zap is in the air */ .note-act.note-zap.zapped, .note-act.note-zap.zapped .note-act-n { color: #e6a800; } +/* holdable: no text selection or callout while the finger rests on it */ +.note-act.note-zap, .zap-tally.clickable { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } .note-act.note-zap[aria-disabled] { cursor: default; } .note-act.note-zap[aria-disabled]:hover { background: none; color: var(--faint); } .note-act.note-zap.zapped[aria-disabled]:hover { color: #e6a800; } -- cgit v1.2.3