Commit Graph
14 Commits
Author SHA1 Message Date
plebeius e556a9e662 chore(deps): replace plebbit/plebbit-react-hooks with bitsocialhq/pkc-react-hooks
bitsocialhq/pkc-react-hooks is a fork of plebbit-react-hooks that we're maintaining temporarily as an attempt to modernize the original repository using AI tools, possibly merging changes back into plebbit-react-hooks, which should also be rebranded to pkc-react-hooks eventually, under the org pkcprotocol.
2026-02-28 15:02:56 +08:00
plebeius 8cef8ce2a0 fix(popular-threads): adaptive ranking with grow-only stability 2026-02-25 16:49:43 +08:00
plebeius 2f563b441a fix(popular-posts): base quota on loaded boards instead of total directories
The postsPerSub quota is now calculated from boards with actually loaded hot comments, not total filtered directories. This prevents the list from collapsing to a single post when many boards are empty or unavailable.
2026-02-15 14:52:27 +08:00
plebeius a7614db743 fix(hooks): fix usePopularPosts loading state and change detection 2026-01-03 16:14:08 +01:00
plebeius fa32833b2a perf(components): prevent rerenders from updatingState
Use Zustand selectors with custom equality functions to only subscribe to specific fields needed by components, avoiding unnecessary rerenders when transient state like updatingState changes. Extract offline indicators into separate components to isolate rerenders. Memoize card components in catalog and popular threads views.
2026-01-02 16:42:16 +01:00
plebeius bae6faa929 feat: implement 5chan-specific default board list 2025-11-03 22:06:18 +01:00
Tom (plebeius.eth) 797a1f23c6 perf(feed): optimize posts rendering via props refactoring, memoizations 2025-03-03 23:47:33 +01:00
Tom (plebeius.eth) 088ec8428b fix popular posts 2024-10-12 17:09:23 +02:00
Tom (plebeius.eth) c6a1283b56 fix(popular threads box): default to worksafe content and show 8 posts for single subplebbit 2024-06-12 16:50:39 +02:00
Tom (plebeius.eth) 387ae35904 fix eslint, styling 2024-06-06 20:44:53 +02:00
Tom (plebeius.eth) 83a3eeccaa Update use-popular-posts.ts 2024-06-03 17:56:04 +02:00
Tom (plebeius.eth) 82de50b88a refactor home component 2024-06-03 17:55:29 +02:00
Tom (plebeius.eth) 98c52e65da feat(home): in popular threads box, show more posts per sub depending on available subs 2024-06-03 17:26:47 +02:00
plebeius.eth 4d0baffd09 refactor(home): use hook to fetch popular posts 2024-05-10 21:47:00 +02:00