Commit Graph
2 Commits
Author SHA1 Message Date
Mary Kate Fain e709dca735 feat: implement real-time updates for showcase ratings and comments
- Add automatic cache invalidation in useNostrPublish hook
- Implement optimistic updates for comments with error recovery
- Add instant visual feedback for ratings with rollback on error
- Enhance moderation actions with immediate UI updates
- Reduce stale times and refetch intervals for faster updates
- Add loading states and visual indicators during submissions
- Create comprehensive error handling with graceful degradation
- Add RealTimeDemo component for testing real-time features
- Update background polling for better real-time synchronization

Users no longer need to refresh pages to see their updates.
All actions (comments, ratings, moderation) now feel instant
while maintaining data consistency and error recovery.
2025-11-14 10:50:04 -06:00
Alex Gleason ec5d8de6c2 Stack: nostr:naddr1qvzqqqrhl5pzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqrk66mnw3skx6c4g6ltw 2025-07-16 14:07:08 -05:00