Commit Graph
53 Commits
Author SHA1 Message Date
plebeius 61eb1e80f5 fix(topbar): sync subscription visibility with account subscriptions
Replace per-address visibility tracking with a boolean flag so newly subscribed boards appear immediately in the topbar without requiring a modal reopen.
2026-02-13 14:01:49 +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 d71d3a5971 remove unnecessary comments 2026-01-08 14:34:52 +01:00
plebeius e77dd53e0e fix(topbar): didn't update when subscribing to a board 2026-01-03 17:25:03 +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 4cb3bda38c fix: update Plebbit.getShortAddress calls to use object parameter 2025-12-24 13:29:09 +01:00
plebeius de7043c77d remove duplicate function, remove unused variables 2025-11-14 14:52:13 +01:00
plebeius 723ad9fb58 fix(topbar): correct mobile topbar select values for directory boards 2025-11-14 14:39:48 +01:00
plebeius 12101fe75e feat: add Multiboards category with /subs/ and /all/ 2025-11-12 16:35:38 +01:00
plebeius 5792fcd31e feat(topbar): add temporary show-all button for hidden directories 2025-11-07 22:18:55 +01:00
plebeius 669bb5b181 feat(topbar): add customizable visibility controls for directories and subscriptions 2025-11-07 18:20:11 +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 e627b6b619 feat(directory-modal): add modal explaining how to submit boards to directories 2025-11-06 16:23:55 +01:00
plebeius 1360dd8348 feat: rename plebchan to 5chan 2025-10-17 23:30:35 +02:00
plebeius 47b33787eb fix autosubscribe 2025-06-07 18:41:16 +02:00
Tom (plebeius.eth) b49216b555 update links 2025-06-03 22:11:27 +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) 23f70c96b8 Update topbar.tsx 2025-03-06 15:40:11 +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) 03d738468e update search bar 2025-02-21 16:26:46 +01:00
Tom (plebeius.eth) 57fc2bbfc2 feat(topbar): add temporary links to "create board" and "vote" buttons 2025-02-20 19:24:58 +01:00
Tom (plebeius.eth) 869610c8a0 add missing loading states 2025-02-20 15:51:29 +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) 31c3482831 perf(topbar): optimize scroll up/down animation with GPU acceleration 2025-02-20 00:12:06 +01:00
Tom (plebeius.eth) 0716aac9e2 feat(boards list): add filter by tag 2025-02-03 22:12:00 +01:00
Tom (plebeius.eth) cf849bab70 feat(boards list): show 15 boards at a time + p/all, add load more button 2025-02-03 13:33:11 +01:00
Tom (plebeius.eth) 0488a6c629 fix(topbar): only display the top 15 subs in the default list
the default list will be curated by PLEB token holders via gasless pubsub voting, so the highest voted subs will be at the top
2025-02-03 13:12:02 +01:00
Tom (plebeius.eth) a569ff8e10 Update topbar.tsx 2025-01-31 12:33:52 +01:00
Tom (plebeius.eth) c898a6d622 add missing translations 2024-11-05 12:12:55 +01:00
Tom (plebeius.eth) 6692c65c4b add route validation checks 2024-10-29 17:40:09 +01:00
Tom (plebeius.eth) 5429fafebe style(topbar): don't show '.eth'/'.sol' for every address 2024-10-27 16:37:21 +01:00
Tom (plebeius.eth) 3918d231c6 fix animation 2024-10-14 11:57:17 +02:00
Tom (plebeius.eth) 8e245a4759 fix(topbar): mobile animation on scroll was too slow 2024-10-14 11:51:49 +02:00
Tom (plebeius.eth) fa86c3631f remove ugly alerts 2024-09-16 16:57:08 +02:00
Tom (plebeius.eth) f9c82bccfd add 'coming soon' alert to inactive buttons 2024-09-12 11:57:24 +02:00
Tom (plebeius.eth) a7839e4e25 style(topbar): add Create and Vote for clarity, with "disabled" styling 2024-09-08 10:41:39 +02:00
Tom (plebeius.eth) defd56f5f8 hide create and vote buttons, they are low priority 2024-08-30 22:44:49 +02:00
Tom (plebeius.eth) a31beee631 fix(topbar): empty brackets would show for sub category if empty 2024-07-10 17:42:38 +02:00
Tom (plebeius.eth) a662bb6718 fix(topbar): time filter would redirect to board home on mobile 2024-07-02 16:01:17 +02:00
Tom (plebeius.eth) 713739b02f feat(post): clicking "+" button next to "omitted replies" message shows all replies 2024-07-01 10:33:11 +02:00
Tom (plebeius.eth) f0bd9e9e9b update ui 2024-06-29 12:15:10 +02:00
Tom (plebeius.eth) 21794384be style: add create board button and edit boards button 2024-06-28 21:21:21 +02:00
Tom (plebeius.eth) 22c1acdd3d feat(subplebbit): add automatic theme based on nsfw or sfw tags 2024-06-17 12:17:36 +02:00
Tom (plebeius.eth) d66d5b5d39 update time filter for subscriptions feed 2024-06-09 16:50:51 +02:00
Tom (plebeius.eth) 15bffe89bf feat: add time filter to p/all and p/subscriptions 2024-06-09 16:40:32 +02:00
Tom (plebeius.eth) 8d4c4404c3 feat(home): add filter options to boards box 2024-06-03 16:38:16 +02:00
Tom (plebeius.eth) e39c171eac feat(topbar): add search bar 2024-06-03 11:19:48 +02:00