Commit Graph
144 Commits
Author SHA1 Message Date
plebeius 64a5a6a526 chore: add missing key, fix translation 2026-02-15 20:40:06 +08:00
plebeius c667657e96 Update boards-list.tsx 2026-02-15 14:50:17 +08:00
plebeius e47727c074 fix(home): derive board link state from directory availability
Replaced one-off /biz/ and /pol/ checks with a single board-name-to-address resolver built from useDirectories() data. The homepage boards list now consistently colors and links any available directory board without manual hardcoding.
2026-02-15 14:32:14 +08:00
plebeius 9c1879045d update links 2026-02-11 21:27:18 +08:00
plebeius 18cea185e7 refactor: replace default lodash imports with named imports
Replaced `import _ from 'lodash'` with specific named imports (`capitalize`, `lowerCase`, `debounce`, `startCase`) across 18 files. This reduces bundle size and improves tree-shaking efficiency.
2026-02-11 19:01:09 +08:00
plebeius 63ee8aa168 refactor: rebrand default subplebbits to 5chan directories 2026-01-28 16:51:27 +08:00
plebeius afb7521e09 revert refactoring for rpc state rerenders, fix home stats 2026-01-14 22:23:11 +01:00
plebeius 3799dccd88 perf: prevent unnecessary re-renders from RPC client state changes 2026-01-14 15:05:45 +01:00
plebeius 352466ecf3 Fix search bar navigation and disclaimer modal behavior 2026-01-03 19:02:59 +01:00
plebeius f5cf263481 fix(popular-threads): update memo comparator to include multisub entry titles 2026-01-03 16:04:37 +01:00
plebeius fa32833b2a perf(components): prevent rerenders from updatingState
Use Zustand selectors with custom equality functions to only subscribe to specific fields needed by components, avoiding unnecessary rerenders when transient state like updatingState changes. Extract offline indicators into separate components to isolate rerenders. Memoize card components in catalog and popular threads views.
2026-01-02 16:42:16 +01:00
plebeius 48f7fe6dc4 style(home): update 5chan description links 2025-12-31 15:45:04 +01:00
plebeius 790c341976 refactor(views): remove redundant DOM and CSS declarations 2025-12-29 15:59:32 +01:00
plebeius d800ee9817 feat(rules): add rules page with board selector 2025-12-29 00:26:15 +01:00
plebeius 92c801c154 update directory title 2025-12-17 13:12:02 +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 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 f3941c7fb0 style(boards list): add mobile design 2025-11-18 16:38:11 +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 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 1360dd8348 feat: rename plebchan to 5chan 2025-10-17 23:30:35 +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) 8557ebb3a7 perf(app): optimize loading times by using stored values of subplebbits and comments instead of fetching them multiple times 2025-03-05 17:10:26 +01:00
Tom (plebeius.eth) ffe42c35ea upgrade react to v19, migrate from CRA to Vite, add react compiler 2025-03-04 17:53:05 +01:00
Tom (plebeius.eth) 0748673bad fix key warnings 2025-03-04 16:45:34 +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) d4b1699469 improve home footer 2025-02-28 23:36:52 +01:00
Tom (plebeius.eth) ea11cb4f6e implement MultisubSubplebbit.lowUptime 2025-02-28 22:42:48 +01:00
Tom (plebeius.eth) 95532cb58b more accurate and user-friendly loading strings 2025-02-23 16:17:33 +01:00
Tom (plebeius.eth) 5147099cbe refactor css 2025-02-23 15:30:09 +01:00
Tom (plebeius.eth) 4e8dd7edb2 style(homepage): display '?' as title while it's loading, if there's no title display shortAddress without tld 2025-02-22 22:33:50 +01:00
Tom (plebeius.eth) 5e5cfd60c7 fix tooltips 2025-02-21 17:31:16 +01:00
Tom (plebeius.eth) 03d738468e update search bar 2025-02-21 16:26:46 +01:00
Tom (plebeius.eth) 869610c8a0 add missing loading states 2025-02-20 15:51:29 +01:00