Commit Graph
28 Commits
Author SHA1 Message Date
plebeius e0ed510fc6 perf(react-doctor): fix compiler-blocking patterns, raise score 72→81
Replace sync setState-in-effect with keyed remount and render-derived patterns in app, error-display, topbar-edit-modal, catalog-filters; use useCurrentTime() instead of Date.now() in hot paths; fix conditional hooks, passive scroll listeners, lodash path imports.
2026-02-18 15:31:01 +08:00
plebeius 18cea185e7 refactor: replace default lodash imports with named imports
Replaced `import _ from 'lodash'` with specific named imports (`capitalize`, `lowerCase`, `debounce`, `startCase`) across 18 files. This reduces bundle size and improves tree-shaking efficiency.
2026-02-11 19:01:09 +08:00
plebeius 4a96f88efd feat: add copy user ID menu item and rename copy link to copy direct link
Add 'Copy user ID' button to both desktop and mobile post menus, allowing users to copy the full author address. This provides a way to verify authenticity against the 8-char display ID. Also rename 'Copy link' to 'Copy direct link' for clarity. Update security comments to reflect the new approach and add translations for all 35 languages.
2026-02-10 13:45:55 +08:00
plebeius 63ee8aa168 refactor: rebrand default subplebbits to 5chan directories 2026-01-28 16:51:27 +08: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 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
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) 797a1f23c6 perf(feed): optimize posts rendering via props refactoring, memoizations 2025-03-03 23:47:33 +01:00
Tom (plebeius.eth) c2363fe03b fix(post menu): link to other clients was broken on description post 2024-11-05 14:50:24 +01:00
Tom (plebeius.eth) 6692c65c4b add route validation checks 2024-10-29 17:40:09 +01:00
Tom (plebeius.eth) 2ccec85e56 enable reply link and post menu for description and rules posts 2024-08-30 22:48:17 +02:00
Tom (plebeius.eth) 0cb386cf66 fix(pending post): "[Reply]" button and post menu shouldn't be clickable 2024-08-29 14:25:47 +02:00
Tom (plebeius.eth) f7bab7c83e fix(post menu): 'hide post' button wasn't appearing in thread page on desktop 2024-08-13 21:41:04 +02:00
Tom (plebeius.eth) 25722d74a3 fix(post menu): 'view on (client)' link was broken on multisubs 2024-08-13 15:59:17 +02:00
Tom (plebeius.eth) 4ffd75010d fix(post menu): block button was visible for description and rules 2024-07-15 17:08:08 +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) fcfb4b69f4 fix bug 2024-06-14 18:00:48 +02:00
Tom (plebeius.eth) 3e42947154 chore: add translations 2024-06-14 17:18:48 +02:00
Tom (plebeius.eth) 3206631e89 feat(post): add block options to mobile menu 2024-06-14 16:58:13 +02:00
Tom (plebeius.eth) 67e3bc8d68 feat: hide button for posts soft hides them persistently without blocking the cid 2024-06-13 17:50:05 +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