shakespeare.diy 0d8176834a fix: proper mobile action bar layout and pagination stats/author stability
Action bar (NoteCard):
- Left-aligned buttons with consistent ml-2 spacing between them
- More button pushed to the far right with ml-auto
- Stat counts use text-xs so they never blow out the row width
- No artificial max-width cap — works naturally on any screen size

Pagination stats/authors (useAuthors + useBatchEventStats):
- Both batch hooks now filter out already-cached IDs before building
  the query key and firing the request
- When page 2 loads, only genuinely new pubkeys/event IDs are fetched;
  page 1's data is untouched in cache
- The query key stabilises to an empty string once all items are cached,
  so no more cascading re-fetches as the feed grows
- useAuthor: return {} instead of throwing when no kind-0 event is found,
  eliminating the retry storm when many cards mount simultaneously

Also removes the usePageBatch hack introduced in the previous attempt.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-18 09:49:34 -06:00
2026-02-16 16:54:01 -06:00
2026-02-16 16:54:01 -06:00
S
Description
Activist social network and fundraising platform on Nostr
AGPL-3.0 43 MiB
Languages
TypeScript 95.7%
Java 1.5%
JavaScript 0.9%
Swift 0.9%
CSS 0.5%
Other 0.4%