Commit Graph
50 Commits
Author SHA1 Message Date
Tommaso Casaburi ee7a5b5778 refactor(core): remove legacy plebbit terminology 2026-04-17 10:48:27 +07:00
Tommaso Casaburi ce2ad82c8c fix: allow edit modal saves after delete toggles 2026-03-20 16:20:04 +08:00
Tommaso CasaburiandGitHub f4ff7a23f7 feat(post-menu): add Report/Delete, reorder buttons, edit-only-for-mods, copy link 5chan.app (#1089)
* Update crypto address UI for .bso accounts

* feat(post-menu): add Report/Delete, reorder buttons, edit-only-for-mods, copy link 5chan.app

- Remove redundant reason field from edit menu (purged posts unreachable)
- Add Report post (placeholder alert) and Delete post (mobile) to post menus
- Reorder: Report, Hide, Delete, Copy x3, Image search
- Mobile edit checkbox only for mods; authors use Delete in post menu
- Copy direct link always uses 5chan.app domain
- 10px margin-top on mod menu save button

* fix(post-menu): add confirmation before delete post (Bugbot)
2026-03-16 17:54:17 +08:00
Tommaso CasaburiandGitHub 726522586c fix(edit-menu): allow pseudonymous reply deletion (#1076)
* fix(edit-menu): allow pseudonymous reply deletion

* fix(edit-menu): ignore non-pseudonymous mode
2026-03-13 16:37:44 +08:00
Tommaso CasaburiandGitHub aedee9fb83 feat(archive): implement comment.archived and add archive page (#1074)
* feat(archive): implement comment.archived and add archive page

Add isCommentArchived() utility, /board/:boardIdentifier/archive route,
archive view with filtered feed, and UI integration (board buttons, edit
menu, catalog row, post). Archived indicator on catalog and posts.

* fix(archive): address review feedback from Bugbot and CodeRabbit

Add missing i18n keys (archived, thread_archived, view, loading_archive),
add /archive/settings route, replace hardcoded English in archive.tsx, and
fix mobile test state.
2026-03-13 16:06:36 +08:00
Tommaso CasaburiandGitHub d7703953fb refactor: migrate 5chan to the community hooks API (#1073)
* refactor(community-api): migrate 5chan to community hooks

* fix(review): address PR feedback

* fix(review): preserve legacy board context fallbacks

* fix(review): address latest bot feedback

* fix(review): use communityAddress in edit menu privileges
2026-03-13 13:25:10 +08:00
plebeius 417482060d refactor: org name changed from bitsocialhq to bitsocialnet 2026-03-09 17:01:35 +08:00
plebeius 2b32866b6b test: cover edit, challenge, advanced settings, and gif preview flows 2026-03-08 16:48:01 +08:00
plebeius 4508f589dd chore(deps): migrate from pkc-react-hooks to bitsocial-react-hooks 2026-03-05 17:14:23 +08:00
plebeius 17afdc7502 fix(edit-menu): remove redundant double confirm for purge 2026-03-03 15:51:20 +08:00
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 f19ebe5f33 fix(edit-menu): render mod edit modal in FloatingPortal to escape reply card containment 2026-02-27 15:00:39 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 5bd1dc0e71 chore(cleanup): remove dead code and add android build to gitignore 2026-02-24 15:15:38 +08:00
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 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