Commit Graph
157 Commits
Author SHA1 Message Date
plebeius 5e1114e087 fix(post): OP thumbnail overlaps with replies when image has unusual dimensions 2026-01-18 18:41:05 +01:00
plebeius 4b0402996f Change 'CID:' label to 'No.' in post info components 2026-01-18 18:13:35 +01:00
plebeius c0c6e9ee31 perf(feeds): use hasMore instead of length check for conditional virtualization 2026-01-13 17:01:51 +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 c094786f97 pass threadNumber to reply modal store 2025-12-28 22:16:38 +01:00
plebeius bf2c7ae61b refactor: use post number instead of shortCid in reply modal and quote previews 2025-12-28 11:53:02 +01:00
plebeius 2b8d6f4fce perf: only virtualize replies when count exceeds first page size 2025-12-27 18:25:35 +01:00
plebeius 882b7b4a99 feat: add infinite scroll for replies 2025-12-27 18:07:23 +01:00
plebeius 6e9202a604 implement useReplies 2025-12-27 17:47:17 +01:00
plebeius 76845412e8 feat: implement post numbers 2025-12-24 18:07:14 +01:00
plebeius e56ba3d050 add comment 2025-12-24 18:06:56 +01:00
plebeius 4cb3bda38c fix: update Plebbit.getShortAddress calls to use object parameter 2025-12-24 13:29:09 +01:00
plebeius e4a3c0504e prevent type error 2025-12-23 19:33:46 +01:00
plebeius 34bebda4f7 fix eslint warnings 2025-12-23 19:21:48 +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 55dc396120 fix: resolve TypeScript overload error in CopyLinkButton 2025-12-18 17:57:43 +01:00
plebeius e14c755208 update loading string 2025-12-14 16:36:14 +01:00
plebeius 23f245145c fix: validate thread share link cid
Ensure thread share links throw when cid is missing and require a cid in caller props so we never build /thread/undefined URLs.
2025-12-08 23:44:38 +01:00
plebeius 6f1fcafc2c fix(post-menu): await clipboard copy before closing menu 2025-12-06 16:46:29 +01:00
plebeius 1b22711776 fix(post-menu): add copy link and hide block board for /all description 2025-12-06 16:19:30 +01:00
plebeius a1de352da0 feat(post-menu): add copy content ID button 2025-12-06 15:47:32 +01:00
plebeius 9d3b7473f1 Update post-menu-desktop.tsx 2025-12-05 18:16:37 +01:00
plebeius 698df59f19 perf(components): memoize post menus with minimal props 2025-12-05 17:38:17 +01:00
plebeius 41ffd2f65b feat(share-link): add description and rules link types 2025-11-30 22:43:48 +01:00
plebeius 09116e1284 Update post-desktop.tsx 2025-11-30 22:33:06 +01:00
plebeius 5de2587cf4 feat(post): add moderator and administrator role indicators 2025-11-28 13:29:31 +01:00
plebeius de7043c77d remove duplicate function, remove unused variables 2025-11-14 14:52:13 +01:00
plebeius 1b38335118 refactor: move board display from post info to media row in multiboard views 2025-11-14 14:32:59 +01:00
plebeius 7bdcc252c0 style: update CID label and reply modal prefix 2025-11-08 21:19:36 +01:00
plebeius 93859ec2f1 fix(routes): prevent malformed routes and fix cache invalidation 2025-11-07 18:34:06 +01:00
plebeius d78fed1fda refactor(routing): migrate to directory-based board routing 2025-11-07 12:50:58 +01:00
plebeius e1f1f280cc fix(post): don't render empty avatar space when image url is invalid 2025-10-16 23:37:58 +02:00
Tom (plebeius.eth) f233da9806 fix(reply): no need to render deleted replies that have no children 2025-06-03 22:18:32 +02:00
Tom (plebeius.eth) d1f364dfc1 remove links to other clients
Each client should have its own default list of subs, creating its own userbase and culture. This way, they can be interoperable with other clients without contaminating their own environment.
2025-06-03 17:58:53 +02: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) 876af71e65 implement useSubplebbitsPagesStore instead of prop from useReplies 2025-03-05 21:38:01 +01:00
Tom (plebeius.eth) 42e21c8ee9 fix key warning 2025-03-05 18:30:41 +01:00
Tom (plebeius.eth) 8557ebb3a7 perf(app): optimize loading times by using stored values of subplebbits and comments instead of fetching them multiple times 2025-03-05 17:10:26 +01:00
Tom (plebeius.eth) 37e325c3d2 refactor replymodal to render it globally 2025-03-05 12:01:48 +01:00
Tom (plebeius.eth) 0748673bad fix key warnings 2025-03-04 16:45:34 +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) 0a7cda31bf feat(post): when attempting to reply, alert reply or thread was deleted or removed 2025-03-02 12:10:16 +01:00
Tom (plebeius.eth) 319d374810 fix(board): loading state wasn't showing in description page 2025-02-24 22:59:17 +01:00
Tom (plebeius.eth) 9d454b489c fix(post): loading string could appear in floating posts from out-of-view quotes 2025-02-23 16:24:31 +01:00
Tom (plebeius.eth) d42092b1a0 Update post-desktop.tsx 2025-02-22 23:04:01 +01:00
Tom (plebeius.eth) cc0ba49c5f refactor comment content 2025-02-22 22:22:42 +01:00
Tom (plebeius.eth) 68a2d301f1 update loading strings 2025-02-20 13:54:55 +01:00
Tom (plebeius.eth) 684ca25a65 display state strings from backend, but with user friendly wording 2025-02-20 13:29:24 +01:00
Tom (plebeius.eth) 0e6796002c fix(post): title would wrap incorrectly in posts with no image/thumbnail 2025-02-05 15:55:08 +01:00