Commit Graph
39 Commits
Author SHA1 Message Date
plebeius 122b17790a fix(views): display useSubplebbit and useComment errors in board, post, and mod-queue views 2026-01-12 17:59:03 +01:00
plebeius 9fe31c873b refactor: clean up imports and move inline component definitions after imports 2026-01-03 16:17:48 +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 6724f91c79 fix(post): redirect to 404 when thread URL specifies wrong board 2025-12-31 20:14:51 +01:00
plebeius 5aa1eaf13a fix(views): use directory codes in document titles and fix order 2025-12-28 23:13:25 +01:00
plebeius c0e6f5fe5c unused var 2025-12-28 22:18:57 +01:00
plebeius c094786f97 pass threadNumber to reply modal store 2025-12-28 22:16:38 +01:00
plebeius 882b7b4a99 feat: add infinite scroll for replies 2025-12-27 18:07:23 +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 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 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
Tom (plebeius.eth) 9fbfcb3630 fix: errors could be displayed unnecessarily 2025-06-03 22:02:54 +02:00
Tom (plebeius.eth) d8e4a4656e Update post.tsx 2025-03-07 11:29:04 +01:00
Tom (plebeius.eth) dcb05ed3a0 perf: prioritize cached data from API, improving navigation speed and memory consumption 2025-03-06 13:15:33 +01:00
Tom (plebeius.eth) 876af71e65 implement useSubplebbitsPagesStore instead of prop from useReplies 2025-03-05 21:38:01 +01: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) 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) 67dcd7ffd3 Update post.tsx 2025-03-02 15:54:35 +01:00
Tom (plebeius.eth) 0a7cda31bf feat(post): when attempting to reply, alert reply or thread was deleted or removed 2025-03-02 12:10:16 +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) ab85514e9a fix thumbnail performance 2024-11-21 17:23:14 +01:00
Tom (plebeius.eth) fd8b3ea2e9 fix(post): error was displayed incorrectly 2024-11-21 11:30:15 +01:00
Tom (plebeius.eth) 6692c65c4b add route validation checks 2024-10-29 17:40:09 +01:00
Tom (plebeius.eth) d5dcedf3bd fix: p/all description showed "undefined" in window title 2024-09-18 14:23:07 +02:00
Tom (plebeius.eth) dcd970c706 fix replycount of description post 2024-09-18 12:37:39 +02:00
Tom (plebeius.eth) f6548cc2b8 fix(replymodal): replying didn't work from multiboard feeds (p/all, p/subscriptions) 2024-08-14 10:23:47 +02:00
Tom (plebeius.eth) 828e066d3d fix replymodal autofocus 2024-08-09 12:08:22 +02:00
Tom (plebeius.eth) db67a9452c feat(settings): add anon mode - automatically use a different user ID in each thread 2024-08-06 20:12:07 +02:00
Tom (plebeius.eth) a2347769e2 feat(post page): add error line above post 2024-07-07 19:12:12 +02:00
Tom (plebeius.eth) 3f39e1efba fix bugs 2024-07-02 15:39:20 +02:00
Tom (plebeius.eth) d78ce84db4 feat(post): clicking "+" button next to "omitted replies" message shows all replies 2024-07-01 10:26:38 +02:00
Tom (plebeius.eth) cb745ffce6 fix(post): mod and author edits weren't instant 2024-06-21 22:02:56 +02:00
Tom (plebeius.eth) cadddcb4c5 handle undefined values, clarify comment 2024-06-15 12:37:45 +02:00
Tom (plebeius.eth) 8e5a5919fa refactor: rename PostPage to Post, export Post component from Post view 2024-06-11 15:49:26 +02:00