Commit Graph
35 Commits
Author SHA1 Message Date
plebeius 3d2dbbf75c perf: remove reply backlink subscription churn
Replaced per-reply useReplies subscriptions in backlink rendering with a precomputed directRepliesByParentCid map from thread-level filteredReplies. Also optimized quote link rendering in comment-content with scoped store subscription, reduced edit menu state churn, and improved DOM lookups with memoization to keep all backlink rendering data-local and eliminate repeated backend-state-driven reference churn during board scroll.
2026-02-12 20:00:32 +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 f6348f0e66 Fix ban duration change updating ban expiration when ban checkbox is unchecked 2026-01-09 17:22:05 +01:00
plebeius a959f14290 fix(edit-menu): use correct banExpiresAt path in commentModeration.author 2026-01-09 16:43:21 +01:00
plebeius ac850ca830 fix key warning 2026-01-09 16:34:27 +01:00
plebeius 1abc8410cd feat(moderation): add purge action to edit menu 2026-01-02 17:06:25 +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 f037a669c0 refactor: remove broken anon mode feature
- delete the anon mode hook/store and stop wiring publish flows through alternate signers
  - strip the settings UI, avatar warning, reply indicators, and FAQ text that referenced the toggle
  - drop the anon mode translation keys via scripts/update-translations.js
2025-11-25 13:13:38 +01:00
Tom (plebeius.eth) 377d8cdffa feat(edit menu): alert "you cannot edit this thread/reply" if without permission 2025-02-24 22:41:16 +01:00
Tom (plebeius.eth) e9fc47be20 fix(moderation): update to use new API schema 2024-11-10 12:44:00 +01:00
Tom (plebeius.eth) a81b159bd0 style(edit menu): font color was too dark in tomorrow theme 2024-09-18 17:04:06 +02:00
Tom (plebeius.eth) fcd1ce65fb fix edit menu logic 2024-09-04 16:15:47 +02:00
Tom (plebeius.eth) 14f3f04137 enable editing comments published in anon mode 2024-09-03 22:06:07 +02:00
Tom (plebeius.eth) d52c29f781 fix(edit menu): textarea to edit content was too small 2024-09-03 11:12:19 +02:00
Tom (plebeius.eth) 9543f16f68 fix(edit menu): couldn't edit post content if post was just published 2024-08-29 15:00:21 +02:00
Tom (plebeius.eth) 4e390a9fc5 fix(theme): theme changed incorrectly in pending post page 2024-08-28 22:05:20 +02:00
Tom (plebeius.eth) e04eb3bb5c don't help user format markdown when editing content that was already published 2024-08-28 21:50:31 +02:00
Tom (plebeius.eth) 30220af7c0 Update edit-menu.tsx 2024-08-28 14:23:16 +02:00
Tom (plebeius.eth) 4858ceadc9 fix(edit menu): modal position would bug out when resizing textarea to edit post content 2024-08-28 11:15:04 +02:00
Tom (plebeius.eth) 45fd7fc82c Update edit-menu.tsx 2024-08-27 21:37:00 +02:00
Tom (plebeius.eth) c521ccbc2e feat(markdown): when the user is publishing a comment, automatically format it to follow markdown rules 2024-08-27 18:46:42 +02:00
Tom (plebeius.eth) e9c7e868f2 fix(edit menu): remove autofocus, it caused auto scroll 2024-08-27 17:26:55 +02:00
Tom (plebeius.eth) c354d72e0a fix(edit menu): checkbox would appear dark in floating post from quote 2024-08-13 18:41:04 +02:00
Tom (plebeius.eth) 15462f14ed fix(edit menu): reason field would reset at menu close 2024-07-10 19:10:32 +02:00
Tom (plebeius.eth) 9ee2c6c00e fix(edit menu): banning wasn't working properly 2024-07-03 15:35:45 +02:00
Tom (plebeius.eth) ed393d0c72 Update edit-menu.tsx 2024-06-30 15:38:34 +02:00
Tom (plebeius.eth) 6d07ea2e3c update styling, count/highlight logic depending on params and post id 2024-06-29 11:55:36 +02:00
Tom (plebeius.eth) a992520984 style(edit menu): adjust padding 2024-06-24 17:53:44 +02:00
Tom (plebeius.eth) 9052b0f4f6 fix(reply): edit menu checkbox was displaced on mobile 2024-06-21 22:32:00 +02:00
Tom (plebeius.eth) bf882d1890 wrong spacing 2024-06-21 22:12:59 +02:00
Tom (plebeius.eth) cb745ffce6 fix(post): mod and author edits weren't instant 2024-06-21 22:02:56 +02:00
Tom (plebeius.eth) 77ccf0c849 chore(package.json): upgrade plebbit-react-hooks 2024-06-15 21:53:02 +02:00
Tom (plebeius.eth) efc9a98f47 fix(edit menu): mod and author edits were conflicting 2024-06-15 12:35:09 +02:00
Tom (plebeius.eth) f20a5f21f9 fix(edit menu): fix input value warning 2024-06-12 10:46:14 +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