Commit Graph
351 Commits
Author SHA1 Message Date
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 92c801c154 update directory title 2025-12-17 13:12:02 +01:00
plebeius 80e7af81f3 refactor: remove hide gore boards and hide adult boards functionality 2025-12-15 17:04:26 +01:00
plebeius 0d488389a5 feat(footer): add feedback and contact links and update styling 2025-12-14 17:54:21 +01:00
plebeius 5f00be5b23 update homepage footer 2025-12-14 16:03:13 +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 c1a66ca61e refactor(home): prevent layout shift in popular threads loading
Remove boards list loading state since default data is available synchronously. Add min-height to popular threads loading state to reserve space and prevent container resize. Left-align loading text in popular threads.
2025-12-06 16:39:22 +01:00
plebeius 5de2587cf4 feat(post): add moderator and administrator role indicators 2025-11-28 13:29:31 +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 f3941c7fb0 style(boards list): add mobile design 2025-11-18 16:38:11 +01:00
plebeius ad1a017c57 missing color 2025-11-13 21:15:47 +01:00
plebeius 594be88210 fix(boards-list): hide Multiboards section when filtering for worksafe boards 2025-11-13 12:23:59 +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 128b6b1986 style: replace strikethrough with gray color for unassigned board directories 2025-11-07 18:53:15 +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 ace4b0c8db fix(directory-modal): move to global layout and close on navigation 2025-11-06 16:37:09 +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 36bd9c5c0f feat(boards-list): mark Flash, Oekaki, Artwork/Critique, Wallpapers/General as NSFW 2025-11-06 15:52:45 +01:00
plebeius c5c364faea adjust styling 2025-11-06 11:43:31 +01:00
plebeius cc88d805f4 fix body font size 2025-11-05 22:33:50 +01:00
plebeius 43a46be904 refactor(home): make boards list layout identical to 4chan 2025-11-05 20:14:11 +01:00
plebeius 8de4fba9ed fix: remove duplicate .filterModal .separator CSS rule 2025-11-05 19:55:11 +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 7f5eebdd53 boards titles shouldn't include directories 2025-11-03 22:16:25 +01:00
plebeius bae6faa929 feat: implement 5chan-specific default board list 2025-11-03 22:06:18 +01:00
plebeius f26da13c77 refactor: implement scalable asset manifest system for dynamic images
Created build-time script to generate TypeScript manifest from public/assets, avoiding import.meta.glob limitations. Images stay in public/ for scalability (supports hundreds), while components get type-safe auto-discovery. Manifest auto-regenerates before builds.
2025-11-01 19:39:22 +01:00
plebeius 3291950312 refactor(not-found page: use dynamic discovery for not-found images 2025-11-01 19:11:30 +01:00
plebeius 1360dd8348 feat: rename plebchan to 5chan 2025-10-17 23:30:35 +02:00
plebeius 760e8d900e fix: remove unused variables from catalog and post views
- catalog.tsx: Remove unused 'coloredFeed' variable assignment in useMemo
- post.tsx: Remove unused 'useState' import

The useMemo in catalog.tsx still executes its side effects (applying filter
colors to the store) without needing to assign the return value.
2025-10-16 23:16:38 +02:00
plebeius b10ada55e7 perf: eliminate redundant derived state in board and post views 2025-10-16 23:13:18 +02:00
plebeius d9b8b00374 Update pending-post.tsx 2025-07-29 16:59:43 +02:00
plebeius 7374465c4f fix(pending post page): prevent crash and ensure redirect to "not found" on invalid URL 2025-06-12 17:51:08 +02:00
plebeius 3f2a8a3790 missing padding 2025-06-07 18:41:22 +02:00
Tom (plebeius.eth) 339a9bc18a fix(mod multisub): mod page was missing post form 2025-06-04 16:37:17 +02:00
Tom (plebeius.eth) 9fbfcb3630 fix: errors could be displayed unnecessarily 2025-06-03 22:02:54 +02:00
Tom (plebeius.eth) 9e351c6b9d upgrade plebbit-react-hooks, update electron and scripts 2025-05-12 23:54:44 +02:00
Tom (plebeius.eth) b50df69cf3 fix(pending post): page could redirect to "not found" if pending post failed 2025-03-12 15:55:04 +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) d8e4a4656e Update post.tsx 2025-03-07 11:29:04 +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