Commit Graph
106 Commits
Author SHA1 Message Date
plebeius 7fd3e3fd45 chore(media-upload): remove Postimages provider
Postimages cannot support WebView automation (site blocks automated uploads).
Imgur works reliably. Keep only Catbox and Imgur as supported providers.
2026-02-28 19:13:43 +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 216073aee3 fix(quotes): scope post-number lookup by subplebbit, OP quote always navigates to thread
- numberToCid scoped by subplebbit address to fix wrong preview in /all/
- OP quote click navigates to thread page instead of highlighting card
2026-02-26 15:08:33 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius bb027794ee fix(reply modal): keep textarea empty when opened from Post a Reply footer button 2026-02-23 19:33:59 +08:00
plebeius 24d7b3e057 feat(catalog): add reply-count sorting mode 2026-02-23 17:09:26 +08:00
plebeius 4433834c1c refactor(ui): rename topbar to boardsbar and add desktop footer for board, thread, and catalog 2026-02-23 16:47:51 +08:00
plebeius 0cb7b1a970 feat(blotter): replace board stats with changelog-backed blotter
Add static blotter snapshot, route /blotter, compact board blotter (Hide/Show All).
Include yarn blotter tooling and AGENTS rules so every changelog version has a
release line. 4chan-style table UI, subplebbit→board and plebchan→5chan in messages.
2026-02-22 19:37:49 +08:00
plebeius 082076ba83 refactor(feed): gate feed cache to infinite scroll mode 2026-02-21 12:14:10 +08:00
plebeius 60d2f6804d feat(board): default pagination with optional infinite scroll and URL-based page routing 2026-02-20 20:16:11 +08:00
plebeius 981940731b refactor: remove NFT avatar functionality
Removes avatar-settings component, avatar-visibility store, and all
avatar rendering from posts. Strips avatar from account JSON, renames
NFT gateway label to media IPFS gateway, removes Polygon RPC and
hide-avatars toggle. Deletes 6 avatar-related translation keys.
2026-02-19 17:40:10 +08:00
plebeius 1d133b812d refactor(settings): remove Hide threads without images setting
5chan boards enforce requirePostLinkIsMedia/requirePostLink at subplebbit level; client-side filter redundant.
2026-02-19 15:34:13 +08:00
plebeius 96a4aaec0e feat(media-hosting): add multi-provider configurable upload with fallback
Add Random/Preferred/None modes, preferred provider selection, and provider-order fallback. Catbox/Imgur/PostImages on Android via WebView; Electron CDP automation for Imgur/PostImages. Hide upload controls on web runtime.
2026-02-18 18:51:02 +08:00
plebeius 96f11b3e26 feat(settings): add media hosting settings and provider-based upload gating 2026-02-17 18:57:54 +08:00
plebeius 61eb1e80f5 fix(topbar): sync subscription visibility with account subscriptions
Replace per-address visibility tracking with a boolean flag so newly subscribed boards appear immediately in the topbar without requiring a modal reopen.
2026-02-13 14:01:49 +08:00
plebeius 7821f9cd82 perf(post-rendering): reduce quoted backlink rerenders via scoped store subscription
Replaced duplicated quotedByMap construction with useQuotedByMap() hook that subscribes only to post numbers referenced in each thread. Updated registerComments() to skip no-op writes, eliminating unnecessary numberToCid identity changes during feed scrolling.
2026-02-12 18:41:21 +08:00
plebeius 6c4c12c136 fix(reply): replies should always target the OP, not other replies 2026-02-11 18:15:06 +08:00
plebeius c4b6c77d4c feat: render >>{number} as interactive quote links with hover preview
Added bidirectional `usePostNumberStore` for post number ↔ CID mapping, populated from thread views. Preprocesses `>>{number}` into markdown links, renders them via `NumberQuoteLink` and `ReplyQuotePreview`, and deduplicates against `quotedCids` when both refer to the same post.
2026-02-10 16:23:06 +08:00
plebeius db70a9148b fix(reply modal): restore multiline quote insertion 2026-02-10 15:51:58 +08:00
plebeius 8a192b41b4 feat(reply-modal): insert quoted post numbers at textarea caret
Replace single-quote blocking behavior with smooth multi-quote support. When the reply modal is open, clicking another post number now inserts >>number at the current caret position instead of showing an alert. Includes caret tracking across blur events and an infinite-loop guard to prevent recursive `setPublishReplyOptions` calls.
2026-02-10 14:57:47 +08:00
plebeius 14e8c92fa0 feat(mod-queue): add view mode selection and integrate with post components 2026-01-25 16:29:15 +08:00
plebeius 75afd34c6c Fix TypeScript error in mod queue store migrate function 2026-01-11 17:08:32 +01:00
plebeius 4a9f4685cb fix(mod queue): alert threshold returns NaN when migrating from old localStorage format 2026-01-11 16:30:35 +01:00
plebeius 3adb52e2a5 fix warning 2026-01-11 15:40:24 +01:00
plebeius ab353b59f6 feat(mod-queue): add minutes support to alert threshold 2026-01-11 15:20:48 +01:00
plebeius 70ba14591a feat: implement mod queue 2026-01-07 16:03:02 +01:00
plebeius 352466ecf3 Fix search bar navigation and disclaimer modal behavior 2026-01-03 19:02:59 +01:00
plebeius 652385561b feat(all-feed): add NSFW/SFW filter 2025-12-29 16:18:59 +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 756bff4b04 chore: fix various lint warnings 2025-12-26 17:30:55 +01:00
plebeius 80e7af81f3 refactor: remove hide gore boards and hide adult boards functionality 2025-12-15 17:04:26 +01:00
plebeius 896ca4ad13 perf: implement LRU-cached persistent feed mounting to eliminate Virtuoso flash
Keep Board/Catalog feeds mounted outside React Router's control to prevent
Virtuoso from remounting when navigating to/from post pages. The feed is
hidden via CSS when viewing posts and shown again when returning, eliminating
the visible flash/displacement that occurred during scroll restoration.

- Add FeedCacheContainer to manage LRU cache of 2 feeds
- Modify Board/Catalog to accept cache props and visibility state
- Add route utilities for feed/post route detection
2025-12-08 22:40:16 +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
plebeius c0a1b671c8 feat(reply modal): add alert when attempting multiple quotes 2025-11-08 17:00:28 +01:00
plebeius 669bb5b181 feat(topbar): add customizable visibility controls for directories and subscriptions 2025-11-07 18:20:11 +01:00
plebeius d78fed1fda refactor(routing): migrate to directory-based board routing 2025-11-07 12:50:58 +01:00
plebeius 79dcc73556 refactor(modals): split directory modal into separate create board modal
Separate DirectoryModal (for home view placeholders) and CreateBoardModal (for board view create button) into distinct components with their own stores, allowing independent styling and cleaner separation of concerns.
2025-11-06 22:20:46 +01:00
plebeius 5f06fdf461 feat(ui): add context-aware directory modal with different content for placeholder vs create board
Add modal context tracking to show different content when opened from placeholder board clicks vs create board button. Include information about Subscribe button and pubsub voting discovery pages. Update README with comprehensive explanation of 5chan's competitive directory system and value proposition.
2025-11-06 17:07:26 +01:00
plebeius e627b6b619 feat(directory-modal): add modal explaining how to submit boards to directories 2025-11-06 16:23:55 +01:00
plebeius a9690ac0be feat(home): redesign boards list to match 4chan with filtering and catalog support 2025-11-05 19:50:31 +01:00
plebeius 2a25d7353c feat(home): add disclaimer modal for board navigation 2025-11-04 17:20:01 +01:00
plebeius bae6faa929 feat: implement 5chan-specific default board list 2025-11-03 22:06:18 +01:00
Tom (plebeius.eth) 22b828b3e8 feat(catalog filters): add color highlighting of threads matching pattern 2025-03-07 17:43:09 +01:00
Tom (plebeius.eth) d7a9c1640b feat(catalog filter): add filtering with complex patterns, including regex, help modal 2025-03-06 23:48:17 +01:00
Tom (plebeius.eth) ad60404792 fix catalog filter counts persistence between subplebbits and page refreshes 2025-03-06 18:07:44 +01:00
Tom (plebeius.eth) 0faaa4982a fix catalog filter count per subplebbit address 2025-03-06 17:24:56 +01:00
Tom (plebeius.eth) a8f7de7d85 feat(catalog): add search 2025-03-06 16:27:09 +01:00
Tom (plebeius.eth) cf183393a4 update board buttons UI, add catalog search UI 2025-03-06 15:44:26 +01:00
Tom (plebeius.eth) b127876ce4 feat(catalog): add catalog filters 2025-03-06 00:07:08 +01:00