0d8176834aaa078cfbdf33ce66a6d55b2cc854c0
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>
Description
Languages
TypeScript
95.7%
Java
1.5%
JavaScript
0.9%
Swift
0.9%
CSS
0.5%
Other
0.4%