Commit Graph
90 Commits
Author SHA1 Message Date
plebeius 652385561b feat(all-feed): add NSFW/SFW filter 2025-12-29 16:18:59 +01:00
plebeius 5aa1eaf13a fix(views): use directory codes in document titles and fix order 2025-12-28 23:13:25 +01:00
plebeius 34bebda4f7 fix eslint warnings 2025-12-23 19:21:48 +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 198b6135da fix: show cached feed time filter in UI 2025-12-08 23:52:13 +01:00
plebeius 1a6ac4a2be fix: use stable time filter for virtuoso state key in cached feeds 2025-12-08 23:32:42 +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 9e13292ae3 fix: reset board scroll on link nav
Force scroll-to-top on link navigation while keeping POP restores, and scope Virtuoso keys per pathname to avoid cross-board scroll leakage.
2025-12-08 13:03:25 +01:00
plebeius 12101fe75e feat: add Multiboards category with /subs/ and /all/ 2025-11-12 16:35:38 +01:00
plebeius e3e25995d6 feat(board): add more_threads_last_year suggestion 2025-11-08 15:56:32 +01:00
plebeius b886cbdf3b fix(routing): handle empty boardPath and resolve directory codes 2025-11-07 18:54:45 +01:00
plebeius d78fed1fda refactor(routing): migrate to directory-based board routing 2025-11-07 12:50:58 +01:00
plebeius 1360dd8348 feat: rename plebchan to 5chan 2025-10-17 23:30:35 +02:00
plebeius b10ada55e7 perf: eliminate redundant derived state in board and post views 2025-10-16 23:13:18 +02:00
Tom (plebeius.eth) 9fbfcb3630 fix: errors could be displayed unnecessarily 2025-06-03 22:02:54 +02:00
Tom (plebeius.eth) 64c857fb9d chore(package.json): upgrade plebbit-react-hooks 2025-03-05 22:05:20 +01:00
Tom (plebeius.eth) ba5753d85e feat: add p/mod feed for all subs the user moderates 2025-03-05 17:38:34 +01:00
Tom (plebeius.eth) b686ca3dd0 refactor settingsmodal to render it globally 2025-03-05 12:06:27 +01:00
Tom (plebeius.eth) 37e325c3d2 refactor replymodal to render it globally 2025-03-05 12:01:48 +01: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) b85568654e centralize state hooks 2025-02-28 23:36:33 +01:00
Tom (plebeius.eth) 0e0e7c22cb unnecessary memoization 2025-02-26 23:10:55 +01:00
Tom (plebeius.eth) 588d9fbdb0 fix(feed): "no posts" could appear in an empty board after the user published to it 2025-02-23 16:30:13 +01:00
Tom (plebeius.eth) 869610c8a0 add missing loading states 2025-02-20 15:51:29 +01:00
Tom (plebeius.eth) 06988e354a use backend states by default 2025-02-20 15:34:30 +01:00
Tom (plebeius.eth) 882703b00d feat: auto subscribe new accounts to specific default subplebbits 2025-02-20 15:15:19 +01:00
Tom (plebeius.eth) 68a2d301f1 update loading strings 2025-02-20 13:54:55 +01:00
Tom (plebeius.eth) 684ca25a65 display state strings from backend, but with user friendly wording 2025-02-20 13:29:24 +01:00
Tom (plebeius.eth) 273f62f285 add translation 2025-02-11 12:27:03 +01:00
Tom (plebeius.eth) ced1189c49 refactor 2025-01-23 22:55:22 +01:00
Tom (plebeius.eth) eb3a630cc3 feat: add christmas theme 2024-12-24 17:13:12 +01:00
Tom (plebeius.eth) 53638b023d update translations 2024-12-21 00:55:18 +01:00
Tom (plebeius.eth) 439654e388 fix eslint 2024-11-12 23:26:14 +01:00
Tom (plebeius.eth) 1cc8d9acbe feat(p/all): improve design of "show more posts" button in feed footer 2024-11-12 18:52:40 +01:00
Tom (plebeius.eth) 0b92c60f34 fix(board): account comments couldn't appear instantly in feed
Date.now() is in milliseconds, timestamp is in seconds
2024-11-05 18:06:26 +01:00
Tom (plebeius.eth) 4f25e0fbc6 small fixes 2024-11-05 12:48:28 +01:00
Tom (plebeius.eth) 82217a726c fix(p/all): empty 24h feed would not show 'show more posts since last week' 2024-11-05 11:25:08 +01:00
Tom (plebeius.eth) 634f1ceb24 remove log 2024-11-04 15:04:18 +01:00
Tom (plebeius.eth) c6e301af0f style(interface settings): add description to each UI setting 2024-10-31 12:48:01 +01:00
Tom (plebeius.eth) 6692c65c4b add route validation checks 2024-10-29 17:40:09 +01:00
Tom (plebeius.eth) 0705bd9dbd fix: color missing, translation missing 2024-10-15 13:10:47 +02:00
Tom (plebeius.eth) c2aa9cad49 fix(feed): old account comments could appear at the top of the feed 2024-10-15 12:11:56 +02:00
Tom (plebeius.eth) ba9496ca42 feat(catalog): add warning to switch filter if there aren't enough posts in p/all and p/subscriptions 2024-10-12 15:35:27 +02:00
Tom (plebeius.eth) eac0a0150c feat(board): suggest user to switch time filter on p/all and p/subscription if there aren't enough posts 2024-10-09 22:30:31 +02:00
Tom (plebeius.eth) dcd970c706 fix replycount of description post 2024-09-18 12:37:39 +02:00
Tom (plebeius.eth) 7497daa4d0 fix eslint 2024-09-15 21:38:16 +02:00
Tom (plebeius.eth) b363c27108 style(board): show rules under description 2024-09-15 21:27:32 +02:00
Tom (plebeius.eth) 88e459b5c1 Update board.tsx 2024-09-13 15:06:10 +02:00
Tom (plebeius.eth) 664a33482f move filters to interface settings, enable for all feeds 2024-09-12 21:22:22 +02:00
Tom (plebeius.eth) 72f0c79922 fix(board): show description even if there are no posts 2024-09-07 18:11:38 +02:00