Commit Graph
499 Commits
Author SHA1 Message Date
plebeius a20f131201 fix(mod-queue): preserve pending reject state after refresh 2026-03-09 19:05:29 +08:00
plebeius 417482060d refactor: org name changed from bitsocialhq to bitsocialnet 2026-03-09 17:01:35 +08:00
plebeius 3b341922c4 fix(tests): mock board-buttons and style-selector to avoid Solana import crash 2026-03-09 16:31:06 +08:00
plebeius 9f2fd12200 chore: update footer links 2026-03-09 15:46:13 +08:00
plebeius c3cfc7d63a feat(catalog): add mobile footer with Return, Archive, Top, Refresh buttons 2026-03-09 15:17:39 +08:00
plebeius 04b98b84a4 feat(popular-threads): show actual feed state string instead of generic loading 2026-03-08 16:50:27 +08:00
plebeius 824c14f538 fix(home): stabilize initial popular threads box
Keep usePopularPosts() keyed to the requested board list, wait to reveal the box until the first result set is stable, and limit the grid to one thread per board. Freeze the first revealed threads until refresh or filter changes so later board loads cannot displace visible cards.
2026-03-08 16:48:38 +08:00
plebeius 90a01057f2 chore(knip): trim dead exports and tool noise 2026-03-08 16:37:34 +08:00
plebeius 9444d3e01a test: cover comment rendering and edge-route states 2026-03-08 16:00:54 +08:00
plebeius 29b6c85541 test: cover board actions, pagination, and thread routes
Core browsing flows around board controls, pagination, and thread pages were still largely unmeasured in the honest whole-repo report. That left route mismatches, cached-thread hydration, board action wiring, and mod-queue control regressions underprotected in CI.
2026-03-08 14:37:35 +08:00
plebeius 1fbf715aa9 test: cover board, catalog, and publish flows
Board browsing, catalog filtering, post publishing, and reply publishing had little or no honest whole-repo coverage, which let route-level regressions and duplicated form side effects slip through. This pass adds targeted tests for those user flows and fixes the duplicate `PostFormTable` mounting bug they exposed.
2026-03-08 14:29:47 +08:00
plebeius 7da0df9466 test: expand interface settings and account editor coverage
Added coverage for version check button states, language selector, fit-expanded-images toggle, and account editor warning gate, continue flow, save/reset, and JSON validation.
2026-03-08 13:19:06 +08:00
plebeius a1423b8c5f fix missing button styling 2026-03-07 20:48:53 +08:00
plebeius 8414fac15c style(mod queue): flatten feed items, add View Thread button for replies 2026-03-07 20:33:08 +08:00
plebeius 38614e39e9 style(mod queue): add missing footer, improve mobile UI 2026-03-07 18:50:24 +08:00
plebeius e80a73663f feat(subscriptions): use useAccountSubplebbitAddresses for deduplicated addresses
Integrate bitsocial-react-hooks#16: replace raw useAccountsStore access with
useAccountSubplebbitAddresses so .eth/.bso aliases are deduplicated under .bso.
2026-03-07 16:50:24 +08:00
plebeius 95088300bd refactor(routing): namespace board mod queue under board mod routes
Updated the canonical board mod queue URL to /:boardIdentifier/mod/queue and made legacy /:boardIdentifier/modqueue paths resolve to not found. Tightened route helpers so board-scoped mod URLs no longer fall through as generic board pages.
2026-03-07 16:02:19 +08:00
plebeius 1b9f69839d fix(routing): canonicalize board aliases in thread routes 2026-03-07 13:48:18 +08:00
plebeius ae744d0f78 feat(posts): add purge UI feedback for mods
Show Purged author/ID, red content message, and file-deleted media when
post.commentModeration.purged is true. Mirrors removal UI pattern.
2026-03-06 21:44:33 +08:00
plebeius 91615dbf47 feat(markdown): use BBCode-style [spoiler][/spoiler] tags 2026-03-06 20:54:11 +08:00
plebeius 14262fe887 chore: improve wording, translations 2026-03-06 19:19:05 +08:00
plebeius 65731ceb3a fix(markdown): handle unavailable reply quote links 2026-03-06 14:55:40 +08:00
plebeius 59851a4b01 fix(publishing): abandon challenge close and clean failed local posts 2026-03-05 19:30:50 +08:00
plebeius 4508f589dd chore(deps): migrate from pkc-react-hooks to bitsocial-react-hooks 2026-03-05 17:14:23 +08:00
plebeius 5fe2024a49 feat(home): clarify 5chan is serverless app, use current hostname for share links
- Homepage infobox: merged copy into single line explaining app nature and download link
- Share links (Copy direct link): use window.location.origin instead of hardcoded 5chan.app
- Settings version link: use current origin
- FAQ: add 'Is 5chan just this website?' entry under Basics
- Remove pleb.bz from CHAN_5_HOSTNAMES
2026-03-04 18:49:06 +08:00
plebeius 84e6057bb8 feat(post): add mobile footer to thread view
Post a Reply, Return/Catalog/Top, Update/Auto buttons, stats row (Replies/Images/Page), and license footer links. Matches mobile board view styling.
2026-03-03 15:07:14 +08:00
plebeius 1a4e8a624b feat(board): add mobile footer with Start a New Thread, Top, Refresh, pagination, Catalog, Load More 2026-03-01 20:45:26 +08:00
plebeius 79fd6bacd3 fix(board): prevent cached Board from stripping accountCommentIndex on /pending/N 2026-02-28 21:04:44 +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 8d36673ad1 update FAQs 2026-02-27 20:21:26 +08:00
plebeius fd6ca36acc feat(mod-queue): redesign with multiboard summary, boardsbar-style links, and board-aware rows 2026-02-27 17:38:36 +08:00
plebeius 386607a59b Update rules.tsx 2026-02-27 17:14:31 +08:00
plebeius 062f5b2ff1 Update faq.tsx 2026-02-27 17:14:10 +08:00
plebeius b813c38f7a Replace footer token link with Sponsors 2026-02-27 14:00:34 +08:00
plebeius 13abea916d chore: rephrase 5chan description 2026-02-27 13:56:29 +08:00
plebeius ca0391f557 Update pending-post.tsx 2026-02-26 18:30:36 +08:00
plebeius 6e08203ce6 perf(feed): reduce Virtuoso overscan and memoize itemContent for multiboard views 2026-02-26 17:27:58 +08:00
plebeius 4bdee0362d perf(bundle): replace plebbit-js imports with local utility, split chunks, fix CLS and rerenders
Eliminate direct @plebbit/plebbit-js (8.7MB) imports from all UI components by replacing
Plebbit.getShortAddress() with a local get-short-address utility. Add Vite manual chunks for
plebbit-js, plebbit-react-hooks, and react-spring/use-gesture. Fix catalog CLS by matching
skeleton to wrapper dimensions. Lazy-load ChallengeModal and ReplyModal. Add failed-URL cache
to useFetchGifFirstFrame, optimize useHide selector, and memoize useFeed options in mod-queue.
2026-02-26 16:42:36 +08:00
plebeius 9b538f324d perf(board): disable Virtuoso when single-board pagination is on 2026-02-25 19:16:00 +08:00
plebeius e12743f783 fix(account-data-editor): resolve Ace editor loading failure
Load react-ace before mode/theme to avoid 'ace is not defined' race.
Unwrap Vite CJS double-default export for correct component reference.
Use save_changes translation key for Save button.
2026-02-25 19:10:47 +08:00
plebeius 13dba00778 fix(catalog): cap single-board catalog to maxGuiPages to prevent page 11+ posts 2026-02-25 17:39:07 +08:00
plebeius 7a516cfbf9 fix(popular-threads): pass linkWidth/linkHeight to CatalogPostMedia for correct aspect ratio 2026-02-25 17:11:50 +08:00
plebeius 8cef8ce2a0 fix(popular-threads): adaptive ranking with grow-only stability 2026-02-25 16:49:43 +08:00
plebeius f6906e1ff8 feat(home): add Boards You Moderate link to Multiboards in boards box 2026-02-25 16:43:51 +08:00
plebeius 15d8103391 fix(board-pagination): hide pagelist in multiboards, right-align style selector 2026-02-24 21:18:51 +08:00
plebeius fb9443a0f8 feat(settings): move account json editing to dedicated full editor route 2026-02-24 20:33:07 +08:00
plebeius 0e1421fff7 fix styling 2026-02-24 16:36:13 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 925297bc3a refactor footer 2026-02-23 20:50:30 +08:00
plebeius 849ff18a8b fix(board): add computeItemKey to Virtuoso to prevent media flash on page change
Without `computeItemKey`, Virtuoso uses index-based keys so React reuses DOM nodes across pages, causing `<img>` elements to briefly flash old media before loading new sources.
2026-02-23 20:24:37 +08:00