Commit Graph
45 Commits
Author SHA1 Message Date
Tommaso Casaburi 404a464310 feat: use s.5chan.app share links and remove report menu items
Copy share links as path-based s.5chan.app URLs so the share server can render social previews, rename the menu label, remove the stub report action, and update the FAQ.
2026-06-06 19:06:04 +07:00
Tommaso CasaburiandGitHub e082c7b428 fix(react): address Doctor findings (#1143)
Accessibility/semantics pass aligned with React Doctor: role-based spans/divs become real buttons, role=status becomes <output>, modals use native <dialog>, author/peer flags render as <img>, and embed/challenge iframes are sandboxed. Includes review follow-ups: correct button chrome/centering/themed dialog colors and focus rings, the missing aria-label i18n keys (all languages), the Yandex image-search URL, clearer .bso setup steps, a keyboard-accessible image-search dropdown, and removal of the post-edit ('comment edited') display (mod edits unchanged).
2026-05-29 17:09:07 +07:00
Tommaso Casaburi 8217bad735 fix(catalog): hide threads across board catalogs 2026-05-14 16:59:55 +07:00
Tommaso CasaburiandGitHub 556973a445 Improve React Doctor score and badge (#1127)
* fix(react doctor): improve quality score and badge

* fix(react doctor): address review feedback

* fix(review): address final bot feedback
2026-05-10 18:25:13 +07:00
Tommaso CasaburiandGitHub 5dc5408a15 fix(codebase audit): preserve cleanup without regressions
Fix codebase audit regressions while preserving UI/UX behavior and adding review-driven hardening.
2026-04-24 15:48:07 +07:00
Tommaso Casaburi 42021fe9ff fix(post menu): update Yandex reverse image parameter 2026-04-23 16:27:21 +07:00
Tommaso Casaburi c046c542b6 chore(deps): use published bitsocial react hooks 2026-04-20 22:11:36 +07:00
Tommaso Casaburi ee7a5b5778 refactor(core): remove legacy plebbit terminology 2026-04-17 10:48:27 +07: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 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 b2137c7f91 test: expand markdown and post menu coverage
Adds focused regression coverage for quote previews, markdown link rendering, embed toggles, and desktop/mobile post-menu actions. It also fixes the undefined feed-state crash in use-state-string.ts and removes unnecessary runtime imports with import type.
2026-03-08 16:30:02 +08:00
plebeius 4508f589dd chore(deps): migrate from pkc-react-hooks to bitsocial-react-hooks 2026-03-05 17:14:23 +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 e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 11697db1ec refactor(settings): remove blocked addresses setting and block user/board feature
Obsolete with pseudonymity mode (user IDs randomized per board) and custom boards
requiring explicit search/subscribe. Unsubscribe suffices for boards.
2026-02-19 15:30:55 +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 0b573acf1d fix: resolve typescript errors in post menu components 2025-12-26 17:33:00 +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 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 a1de352da0 feat(post-menu): add copy content ID button 2025-12-06 15:47:32 +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) 41c8f9dff8 style(post): collapse reply if it's deleted or removed 2024-09-18 16:38:19 +02:00
Tom (plebeius.eth) 2390238a10 fix(post menu mobile): "view on" links were broken 2024-09-17 18:03:44 +02:00
Tom (plebeius.eth) fcd1ce65fb fix edit menu logic 2024-09-04 16:15:47 +02: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) 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) 9052b0f4f6 fix(reply): edit menu checkbox was displaced on mobile 2024-06-21 22:32:00 +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) bbc3f30e18 fix(post menu mobile): close after hiding reply 2024-06-15 17:00:50 +02:00
Tom (plebeius.eth) fcfb4b69f4 fix bug 2024-06-14 18:00: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) 0c02a6b9b6 feat(post mobile): add hide and unhide posts and replies 2024-06-14 12:51:43 +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