Commit Graph

3 Commits

Author SHA1 Message Date
shakespeare.diy 269cc4f552 Revert to 9ca82c3: Normalize relay URLs to prevent duplicate WebSocket connections
This reverts the codebase back to the state at commit 9ca82c3.

Reverted 4 commit(s):
- 94b43ac: Skip already-cached pubkeys in useAuthors batch query
- ee69816: Adopt Agora's faster feed loading pattern
- 0f630fc: Use Agora's useAuthor pattern: pool race + losers bracket fallback
- 7eafd14: Batch useAuthor and useEventStats to reduce concurrent REQs

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-18 00:42:10 -06:00
shakespeare.diy ee69816dd9 Adopt Agora's faster feed loading pattern
- Add useInfiniteScroll hook using native IntersectionObserver (400px rootMargin)
  instead of react-intersection-observer library
- Rewrite useFeed: 5s timeout (was 8s), AbortSignal.any pattern, placeholderData
  to prevent flicker, cleaner filter construction with spread
- Rewrite Feed.tsx to use useInfiniteScroll ref instead of useInView
- Update ProfilePage.tsx to use useInfiniteScroll for both feed and likes tabs
- Update useProfileFeed: 5s timeout, placeholderData, cleaner filter construction
- Remove react-intersection-observer dependency (replaced by native hook)

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-18 00:35:54 -06:00
shakespeare.diy 98ff1e09e0 New project created with Shakespeare
Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-16 16:54:01 -06:00