Commit Graph
410 Commits
Author SHA1 Message Date
plebeius 3799dccd88 perf: prevent unnecessary re-renders from RPC client state changes 2026-01-14 15:05:45 +01:00
plebeius eb8e226ff1 perf: isolate IPFS state updates in board and catalog views to prevent excessive re-renders 2026-01-13 17:21:30 +01:00
plebeius c0c6e9ee31 perf(feeds): use hasMore instead of length check for conditional virtualization 2026-01-13 17:01:51 +01:00
plebeius ab98bd0a87 fix(mod-queue): close CSS breakpoint gap and remove duplicate time-ago rendering 2026-01-13 15:16:30 +01:00
plebeius e3431a9acb add confirmation for mod queue approve/reject actions 2026-01-12 20:11:54 +01:00
plebeius 0cd76c7e62 style(mod queue): adjust mobile design 2026-01-12 20:08:56 +01:00
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 056096aace fix: memory leak in ModQueueButtonContent statusMap 2026-01-12 16:52:15 +01:00
plebeius ce35aa4249 style(mod queue): fix loading string styling 2026-01-12 16:45:24 +01:00
plebeius 410fd541b3 fix(mod-queue): use link as excerpt when post has no title/content and prevent empty strings 2026-01-11 17:44:56 +01:00
plebeius ee2a2b16a5 not needed for now 2026-01-11 17:40:50 +01:00
plebeius acd6514e31 style(mod queue): align title with table when filter by board is not rendered 2026-01-11 17:34:35 +01:00
plebeius 070203b5a7 style(mod queue): use default css for selectors 2026-01-11 17:30:04 +01:00
plebeius ca53fb4728 fix(mod queue): button counter doesn't update when navigating between boards 2026-01-11 17:23:29 +01:00
plebeius 6827aaa141 fix(mod queue): CSS Modules not exporting rowOdd and alert classes 2026-01-11 17:02:19 +01:00
plebeius 4fd0820d94 fix(mod queue): adjust styling 2026-01-11 16:57:09 +01:00
plebeius 823731cb2d fix(mod queue): ModQueueButton shows incomplete pending count without postsPerPage 2026-01-11 16:32:28 +01:00
plebeius a381353290 update translation 2026-01-11 16:29:18 +01:00
plebeius 951a8ffd84 perf(mod queue): conditionally virtualize table for large feeds 2026-01-11 16:26:36 +01:00
plebeius 3251f4e992 Add date tooltips to mod queue timestamps 2026-01-11 16:25:09 +01:00
plebeius 7f05a1593e update mod queue styling 2026-01-11 16:19:51 +01:00
plebeius 2c8e05cd68 Show "ago" timestamp in mod queue only when over alert threshold 2026-01-11 15:42:21 +01:00
plebeius 33943c3de9 perf(mod queue): prevent re-renders from IPFS client state changes 2026-01-11 15:39:46 +01:00
plebeius ab353b59f6 feat(mod-queue): add minutes support to alert threshold 2026-01-11 15:20:48 +01:00
plebeius 49004109f8 perf(mod queue): skip animation sync when no items need blinking 2026-01-11 15:10:13 +01:00
plebeius 2ed3daaa7a Limit mod queue excerpt length to 101 characters 2026-01-11 12:39:36 +01:00
plebeius 02fc6a3171 fix(mod-queue): button counter includes already approved/rejected items 2026-01-11 12:35:59 +01:00
plebeius a33b2e5a9a feat(mod-queue): add number column, improve time display, and use edited comments
- Add 'No.' column displaying post number
- Change 'waiting' to 'submitted' column with formatted date + ago format
- Show blinking relative time in parentheses for items awaiting approval
- Use useEditedComment hook to display pending edits
- Make time column width auto to fit content
- Remove unused translation keys (waiting, mod_queue_alert_threshold_tip, view)
- Add 'submitted' translation key in all languages
2026-01-11 12:28:21 +01:00
plebeius a23f5bc238 fix(mod-queue): alert animation and counter only for pending items 2026-01-10 18:11:38 +01:00
plebeius 5f4856ad3c fix: synchronize blinking animation in moderation queue 2026-01-09 17:20:59 +01:00
plebeius 2d7cfd265d fix styling 2026-01-09 17:03:53 +01:00
plebeius a959f14290 fix(edit-menu): use correct banExpiresAt path in commentModeration.author 2026-01-09 16:43:21 +01:00
plebeius e0fb887bac sort mod queue by timestamp, remove redundant "view" button 2026-01-09 15:47:56 +01:00
plebeius 3f57691255 fix ts errors 2026-01-08 18:56:43 +01:00
plebeius fbdfadc65c fix(mod-queue): style action buttons to match board buttons and make status indicators bold/colored 2026-01-08 18:09:44 +01:00
plebeius 01823caeab Handle already moderated comments in mod queue 2026-01-08 17:59:41 +01:00
plebeius 6a740a8bb9 add approve/reject mod queue functionality, translations 2026-01-08 17:36:47 +01:00
plebeius 404b613b44 perf: Fix unnecessary renders in useCurrentTime hook and ModQueueView footer 2026-01-08 17:16:29 +01:00
plebeius 402313107c feat(post): add pending approval label 2026-01-08 17:09:35 +01:00
plebeius 99596d3a54 fix(mod queue): items shouldn't disappear from feed unless api removes them 2026-01-08 16:46:02 +01:00
plebeius e899ac7fb9 update mod queue 2026-01-08 16:43:14 +01:00
plebeius 70ba14591a feat: implement mod queue 2026-01-07 16:03:02 +01:00
plebeius 5a072a0307 fix type errors 2026-01-06 18:10:58 +01:00
plebeius 352466ecf3 Fix search bar navigation and disclaimer modal behavior 2026-01-03 19:02:59 +01:00
plebeius 9fe31c873b refactor: clean up imports and move inline component definitions after imports 2026-01-03 16:17:48 +01:00
plebeius f5cf263481 fix(popular-threads): update memo comparator to include multisub entry titles 2026-01-03 16:04:37 +01:00
plebeius 4c4e1209aa fix(board): subscribe to transient state and error fields separately 2026-01-03 16:04:33 +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 341e72ad5b fix(error-display): add delay to prevent false positive error displays 2025-12-31 16:00:58 +01:00