Commit Graph
71 Commits
Author SHA1 Message Date
plebeius d71d518e27 fix(catalog-row): expand CatalogPost memo comparator to prevent stale renders 2026-01-03 16:13:59 +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 6e9202a604 implement useReplies 2025-12-27 17:47:17 +01:00
plebeius 4cb3bda38c fix: update Plebbit.getShortAddress calls to use object parameter 2025-12-24 13:29:09 +01:00
plebeius 5e79ce91b6 refactor: remove description and rules mock posts
Removed all fake posts for subplebbit description and rules, including dedicated routes, components, and all related logic across the codebase. Board admins can now pin regular posts if they want to provide a description.
2025-12-23 19:14:25 +01:00
plebeius 698df59f19 perf(components): memoize post menus with minimal props 2025-12-05 17:38:17 +01:00
plebeius d78fed1fda refactor(routing): migrate to directory-based board routing 2025-11-07 12:50:58 +01:00
Tom (plebeius.eth) c192e526f5 fix build, fix electron 2025-05-22 13:15:40 +02:00
Tom (plebeius.eth) 9e351c6b9d upgrade plebbit-react-hooks, update electron and scripts 2025-05-12 23:54:44 +02:00
Tom (plebeius.eth) 22b828b3e8 feat(catalog filters): add color highlighting of threads matching pattern 2025-03-07 17:43:09 +01:00
Tom (plebeius.eth) 9013cb02fe fix(catalog): embedded images that 404'd could overflow 2025-03-05 18:20:55 +01:00
Tom (plebeius.eth) 37e325c3d2 refactor replymodal to render it globally 2025-03-05 12:01:48 +01:00
Tom (plebeius.eth) 64f984d2d0 perf(catalog): each post in the feed was loading a comment needlessly 2025-03-04 23:40:16 +01:00
Tom (plebeius.eth) ffe42c35ea upgrade react to v19, migrate from CRA to Vite, add react compiler 2025-03-04 17:53:05 +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) 20da674a1c update catalog 2024-12-24 18:10:16 +01:00
Tom (plebeius.eth) 309f76689f fix(feed): posts could change position causing displacement 2024-12-05 15:37:23 +01:00
Tom (plebeius.eth) 6692c65c4b add route validation checks 2024-10-29 17:40:09 +01:00
Tom (plebeius.eth) 08086012ff add subplebbit address to p/all catalog preview cards 2024-10-13 18:56:16 +02:00
Tom (plebeius.eth) 7e8eb83bf6 refactor thumbnail fetching, add caching 2024-10-13 12:58:29 +02:00
Tom (plebeius.eth) 3556a04280 feat(catalog post): add thumbnail fetching for sites with cors access 2024-10-12 18:10:47 +02:00
Tom (plebeius.eth) eb9c9c9547 fix eslint 2024-09-21 12:42:15 +02:00
Tom (plebeius.eth) 7742e1c9b0 fix(catalog): greentext and markdown styling shouldn't appear 2024-09-17 17:03:59 +02:00
Tom (plebeius.eth) 9191dd7cae fix catalog gifs 2024-09-04 17:29:48 +02:00
Tom (plebeius.eth) 48b55ed972 fix(catalog post preview): special characters were able to overflow 2024-07-27 17:41:09 +02:00
Tom (plebeius.eth) 7253e4d1a0 feat(post): add support for static GIFs 2024-07-20 16:25:20 +02:00
Tom (plebeius.eth) f2e4f14a33 feat(settings): add avatar setting 2024-07-12 20:22:09 +02:00
Tom (plebeius.eth) 9960e400e8 fix(catalog post): it was not possible to scroll past the floating post preview 2024-07-12 16:58:37 +02:00
Tom (plebeius.eth) ff72365151 revert, replyCount should come from api 2024-07-07 14:36:14 +02:00
Tom (plebeius.eth) 6d6187e531 fix: reply count was bugged 2024-07-05 10:53:23 +02:00
Tom (plebeius.eth) 85aeb86047 fix(spoiler): spoiler image wasn't showing for iframes 2024-07-04 21:38:01 +02:00
Tom (plebeius.eth) 38e1c78654 fix(catalog post): floating post preview was not visible on mobile 2024-07-01 19:00:54 +02:00
Tom (plebeius.eth) 7aafd73127 add translations 2024-06-30 12:06:56 +02:00
Tom (plebeius.eth) b5b5c5ca46 fix(catalog): large image size was incorrect 2024-06-21 10:40:51 +02:00
Tom (plebeius.eth) 4cca4a58dd fix: incorrect assets path 2024-06-20 17:02:11 +02:00
Tom (plebeius.eth) 9f5f92f714 feat: add spoiler image 2024-06-19 18:50:24 +02:00
Tom (plebeius.eth) da86c2f17f fix(catalog filter): force show op comment for text-only threads 2024-06-19 14:50:31 +02:00
Tom (plebeius.eth) bf09de98f9 feat(settings): add plebbit options 2024-06-18 11:50:17 +02:00
Tom (plebeius.eth) 7f3630e289 feat(catalog): add 'image size' and 'show OP comment' options 2024-06-17 21:16:31 +02:00
Tom (plebeius.eth) 22c1acdd3d feat(subplebbit): add automatic theme based on nsfw or sfw tags 2024-06-17 12:17:36 +02:00
Tom (plebeius.eth) 9ebf3b79b6 fix(catalog post): display title inline 2024-06-15 18:14:48 +02:00
Tom (plebeius.eth) bdf546f880 refactor(catalog post): fix spoiler image 2024-06-15 13:48:08 +02:00
Tom (plebeius.eth) 914a7dee18 feat(catalog post): add spoiler styling and text, add markdown to content 2024-06-15 13:04:25 +02:00
Tom (plebeius.eth) ca5c08a3f9 style(catalog post): improve hidden thumbnail color 2024-06-15 09:15:07 +02:00
Tom (plebeius.eth) b984f5f48b style(catalog post): hide post by showing black image and hidden label 2024-06-14 21:32:13 +02:00
Tom (plebeius.eth) 8959945722 feat(catalog post): add hidden style 2024-06-14 11:01:06 +02:00
Tom (plebeius.eth) 8e5a5919fa refactor: rename PostPage to Post, export Post component from Post view 2024-06-11 15:49:26 +02:00
Tom (plebeius.eth) 4435ff120b fix bugs 2024-06-11 15:13:04 +02:00
Tom (plebeius.eth) 9090c18652 fix: audio elements were displaced in catalog 2024-06-08 17:25:20 +02:00
Tom (plebeius.eth) 39a48c9515 feat(post): add floating preview of media from link in post content 2024-06-08 16:41:05 +02:00