feat(zap): instant zaps, ZapSheet redesign, per-account presets#211
Merged
Conversation
19 tasks
Collaborator
Author
|
The per-account instant-zap isolation fix from PR #195 (commit 9216dad) was merged into The fix scopes the four quickZap UserDefaults keys ( |
- Instant zaps: single tap sends configured amount; long-press opens composer. Disabled by default. Fiat counterpart 'instant payments'. - ZapSheet redesign: compact keyboard-friendly layout with preset pills, swipe-to-delete presets, auto-focus without keyboard pump. - BoltGlyph vector pulse animation with white-core glow on send. - Instant-zap haptics + faster long-press recognition. - Per-account presets: zap defaults (enabled, amount, message) scoped to active account pubkey; reloaded on every account switch. - Preset message override: tapping a preset always applies its message.
…catalog - Undo reaction: tapping an already-reacted heart shows a 'Remove Reaction' popover that sends a NIP-09 deletion for the kind-7 event. - Undo repost: repost menu shows 'Undo Repost' when already reposted, sending a NIP-09 deletion for the kind-6 event. - EmojiReactionPicker: fixed 3-row grid (max 18), pinned 'More reactions' footer — no scrolling, no maxGridHeight parameter. - EmojiData: expanded catalog with newer emoji across all categories. - EmojiLibrarySheet: auto-adds picked emoji to quick list on reaction. - EngagementRepository/ProfileViewModel: store reactionEventId on Reactor and reposterEventIds on EngagementCounts for undo lookup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds opt-in instant zaps (tap fires immediately, long-press opens composer) with a full ZapSheet redesign, per-account preset storage, and undo reactions/reposts.
Instant zaps
ZapSheet redesign
Per-account instant-zap defaults
Undo reactions and reposts
Emoji reaction picker
Wallet setup
Wallet settings
In-flight bolt animation
DEBUG
What's not here
NIP-78 cross-device sync of instant-zap settings is deferred — tracked in barrydeen/wisp#579.
Replaces
Closes and replaces #159, which bundled this feature with a NIP-78 relay-sync rewrite. The relay sync has been removed; this PR contains only the instant-zap, ZapSheet, and reactions changes.
🤖 Generated with Claude Code