Commit Graph
1 Commits
Author SHA1 Message Date
Mary Kate Fain bdb73252eb feat: add emoji reactions to comments on showcase pages
- Create useCommentReactions hook for managing emoji reactions
- Add EmojiReactions component with picker and toggle functionality
- Integrate emoji reactions into Comment component
- Support 8 predefined emoji reactions (👍, ❤️, 😂, 😮, 😢, 😡, 🎉, 🔥)
- Implement optimistic updates with error recovery
- Add real-time synchronization using Nostr kind 7 events
- Include reaction tooltips showing user context
- Support reaction toggling (add/remove) with visual feedback
- Update useNostrPublish to invalidate emoji reaction caches
- Create comprehensive documentation and demo components
- Add loading states and accessibility features

Users can now quickly react to comments with emojis,
providing instant feedback and social engagement without
needing to write full replies. All reactions sync in
real-time across clients using the Nostr protocol.
2025-11-14 10:56:48 -06:00