Commit Graph
2983 Commits
Author SHA1 Message Date
plebeius 445b271982 feat(board-buttons): add Bottom button when infinite scroll is disabled 2026-02-21 20:31:17 +08:00
plebeius a055117d19 chore: update translations 2026-02-21 20:28:35 +08:00
plebeius 035ffd6414 Update board.tsx 2026-02-21 19:47:58 +08:00
plebeius 1067ff39e8 fix(catalog): align pagination and postsPerPage with board view
Use useBoardFeedPageSize and useDirectoryByAddress so catalog respects
directory postsPerPage, caps feed to guiPostsPerPage * 10 in non-infinite
mode, and conditionally renders Virtuoso based on enableInfiniteScroll.
2026-02-21 13:14:50 +08:00
plebeius 082076ba83 refactor(feed): gate feed cache to infinite scroll mode 2026-02-21 12:14:10 +08:00
plebeius eee1df749b chore(deps): upgrade react-doctor 2026-02-21 11:02:05 +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 f660d1a814 fix(android-build): keep tar@7 and patch Capacitor CLI extractor compatibility 2026-02-20 17:51:24 +08:00
plebeius b20aae8244 fix(upload-automation): harden android and electron failure handling
Updated Android/Electron upload paths to fail deterministically and report consistent stage details, while removing unsafe stage casting and path/package mismatches. This keeps postimages automation behavior intact and makes failures easier to diagnose.
2026-02-20 16:52:35 +08:00
plebeius 15d608764b fix: chain providers, i18n, dedup isWebRuntime, and a11y label
Conditionally build `chainProviders` so empty `urls` arrays are never passed downstream. Replace hardcoded "Chain ticker: " with `capitalize(t('chain_ticker'))` and add the translation key to all locales. Remove the duplicate `isWebRuntime` in `media-hosting-settings.tsx` in favor of the shared implementation in `show-upload-controls`. Add `aria-label` to the directory codes input in `TopbarEditModal`.
2026-02-20 16:23:09 +08:00
plebeius 291dbf125d Update AGENTS.md 2026-02-20 16:14:33 +08:00
plebeius 7e7e715810 chore: improve translations 2026-02-20 16:14:09 +08:00
plebeius 64c89533f0 feat(rules): add URL params for direct links to board rules
Support /rules/:boardIdentifier (e.g. /rules/pol, /rules/somedomain.eth).
Selection updates URL; rules page always uses yotsuba theme.
2026-02-20 16:12:52 +08:00
plebeius cb0ab3a698 feat(rules): render markdown in board rules display 2026-02-20 16:07:00 +08:00
plebeius 967a2cbc31 fix(use-state-string): sanitize board feed loading wording
Never show 'Downloading thread...' in board feed footer. Backend can surface
thread-level state; sanitize to 'Downloading board' on single-board feeds.
2026-02-20 14:51:39 +08:00
plebeius ebb5ae464f fix(post): ensure OP user ID tooltip shows at least 1 post in board view 2026-02-20 14:46:41 +08:00
plebeius 21d214685d fix(post): show Pending for user ID when reply pending on pseudonymity boards 2026-02-20 14:38:18 +08:00
plebeius b5546fa000 fix: resolve Dependabot alerts for tar and qs 2026-02-20 14:29:06 +08:00
plebeius 6eac2bff71 Update default.json 2026-02-20 14:27:09 +08:00
plebeius c06ae27301 update translation 2026-02-19 19:06:39 +08:00
plebeius ee5b7ffd23 fix spacing 2026-02-19 18:38:12 +08:00
plebeius 274cb6a22c refactor(settings-modal): move crypto settings under Bitsocial Account section 2026-02-19 18:37:43 +08:00
plebeius d1f7f92353 Merge branch 'refactor/remove-nft-avatar' into development 2026-02-19 17:53:05 +08:00
plebeius 7cd46cb49b chore(scripts): add live postimages emulator test and smoke scripts 2026-02-19 17:49:35 +08:00
plebeius e26da8463a feat(android): multi-provider WebView upload with postimages chooser contract 2026-02-19 17:49:31 +08:00
plebeius b3e8df318c feat(media-upload): Electron recipe parity and diagnostics 2026-02-19 17:49:27 +08:00
plebeius bbddb9ce17 feat(file-upload): normalize Android Capacitor rejection and surface attempt details in UI 2026-02-19 17:49:23 +08:00
plebeius f1f5789118 feat(media-hosting): extend ProviderAttempt with stage/elapsedMs/matchedSelectors and parse plugin errors 2026-02-19 17:49:18 +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 b6e7e283a3 update translation 2026-02-19 15:31:59 +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 137241705a refactor(settings): rename subscriptions setting to board subscriptions 2026-02-19 15:25:46 +08:00
plebeius 410b988fbd fix(upload): resolve electron file-path fallback and android provider automation stalls 2026-02-19 13:18:15 +08:00
plebeius afdf129c3e fix: resolve android plugin registration and electron upload runtime detection regressions 2026-02-18 20:13:28 +08:00
plebeius 4cdbf8c6bc fix: upgrade react-i18next to resolve key prop warning 2026-02-18 20:03:15 +08:00
plebeius a39fafa08f fix(electron): make macOS dev dock icon setup non-fatal 2026-02-18 19:52:09 +08:00
plebeius 023adccddf fix: compute click center from full box model quad 2026-02-18 18:58:36 +08:00
plebeius 5fbddcd1ac Update default.json 2026-02-18 18:56:46 +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 72b70915fd Update .gitignore 2026-02-18 18:13:38 +08:00
plebeius 2669c9ab09 refactor(settings): rename p2p options to advanced settings 2026-02-18 17:29:41 +08:00
plebeius f5eba9adbe fix(error-display): reset showAfterDelay when error clears 2026-02-18 16:19:50 +08:00
plebeius 91752206f6 Update AGENTS.md 2026-02-18 16:06:36 +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 afb50ad02d Update AGENTS.md 2026-02-18 15:29:30 +08:00
plebeiusandCursor 0ed95ed6e2 chore: add advisory react-doctor workflow for contributors
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-18 14:11:01 +08:00
plebeius 255f170b8b chore: add translations 2026-02-17 19:34:03 +08:00
plebeius 96f11b3e26 feat(settings): add media hosting settings and provider-based upload gating 2026-02-17 18:57:54 +08:00
plebeius 45a6ff0bab feat(directories): implement features.noSpoilers and features.noSpoilerReplies for board-specific spoiler checkbox 2026-02-17 17:35:53 +08:00