Commit Graph
100 Commits
Author SHA1 Message Date
plebeius 64ef0ddccf fix(subplebbit-stats): revert broken useStableSubplebbitStats hook 2026-01-14 15:14:33 +01:00
plebeius 3799dccd88 perf: prevent unnecessary re-renders from RPC client state changes 2026-01-14 15:05:45 +01:00
plebeius 91cd84819d Update test.yml 2026-01-14 15:03:22 +01:00
plebeius 46f0f494e9 fix(ci): macOS test builds fail with hdiutil "Resource busy" error 2026-01-14 14:36:13 +01:00
plebeius 58e5b59c9f Update README.md 2026-01-14 14:32:01 +01:00
plebeius 4f55d3f632 chore(deps): upgrade rolldown-vite 2026-01-14 13:09:01 +01:00
TomandGitHub 70be8235bd Merge pull request #854 from plebbit/development
Development
2026-01-13 17:24:13 +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
TomandGitHub 80100fa54d Merge pull request #851 from plebbit/master
Merge pull request #849 from plebbit/development
2026-01-13 16:25:58 +01:00
plebeius 96a3068928 fix(ci): remove redundant electron-rebuild from build scripts 2026-01-13 16:00:07 +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
TomandGitHub c2127c3958 Merge pull request #849 from plebbit/development
Development
2026-01-12 20:12:38 +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 1459363024 missing translation 2026-01-12 17:01:52 +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 6f9e3b2330 fix(mod queue): show mod queue button in /mod/ multiboard view 2026-01-11 17:25:49 +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 75afd34c6c Fix TypeScript error in mod queue store migrate function 2026-01-11 17:08:32 +01:00
plebeius 236bb7edb0 Merge branch 'development' of github.com:plebbit/plebchan into development 2026-01-11 17:07:04 +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
TomandGitHub 0052e9d289 Merge pull request #847 from plebbit/master
Merge pull request #846 from plebbit/development
2026-01-11 16:36:01 +01:00
plebeius 823731cb2d fix(mod queue): ModQueueButton shows incomplete pending count without postsPerPage 2026-01-11 16:32:28 +01:00
plebeius 4a9f4685cb fix(mod queue): alert threshold returns NaN when migrating from old localStorage format 2026-01-11 16:30:35 +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 3adb52e2a5 fix warning 2026-01-11 15:40:24 +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
TomandGitHub 97c32bbfd6 Merge pull request #846 from plebbit/development
Development
2026-01-09 17:40:41 +01:00
plebeius fec46cfa86 Update app.tsx 2026-01-09 17:34:47 +01:00
plebeius f6348f0e66 Fix ban duration change updating ban expiration when ban checkbox is unchecked 2026-01-09 17:22:05 +01:00
plebeius 5f4856ad3c fix: synchronize blinking animation in moderation queue 2026-01-09 17:20:59 +01:00
plebeius 500e4db88a hide PostForm and SubplebbitStats in mod queue view 2026-01-09 17:18:09 +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 ac850ca830 fix key warning 2026-01-09 16:34:27 +01:00
plebeius 476681c689 fix(comment-content): use correct banExpiresAt path for ban visibility 2026-01-09 16:28:17 +01:00
plebeius e0fb887bac sort mod queue by timestamp, remove redundant "view" button 2026-01-09 15:47:56 +01:00
plebeius 013c4535ad chore: clear dependabot alerts 2026-01-09 14:23:07 +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 10836b29fa upgrade package 2026-01-08 17:46:47 +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 4e13efca5f Merge branch 'development' of github.com:plebbit/plebchan into development 2026-01-08 16:21:00 +01:00
plebeius dd5bd529ab chore(package.json): upgrade plebbit-react-hooks 2026-01-08 14:46:00 +01:00
plebeius d71d3a5971 remove unnecessary comments 2026-01-08 14:34:52 +01:00
plebeius bf2a930270 clear dependabot alert 2026-01-08 14:03:56 +01:00
TomandGitHub e4a953bbd8 Merge pull request #845 from plebbit/master
Merge pull request #844 from plebbit/development
2026-01-08 13:55:22 +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 eb7a92932e chore(package.json): remove unused dependencies 2026-01-04 13:05:00 +01:00
plebeius 7ce9fc3558 Update AGENTS.md 2026-01-04 12:29:50 +01:00
TomandGitHub dfcb4b756d Merge pull request #844 from plebbit/development
Development
2026-01-03 19:10:07 +01:00
plebeius f8f1435fe3 Merge branch 'development' of github.com:plebbit/plebchan into development 2026-01-03 19:09:40 +01:00
TomandGitHub 5060f6b0fb Merge pull request #843 from plebbit/master
Merge pull request #838 from plebbit/development
2026-01-03 19:05:03 +01:00
plebeius 352466ecf3 Fix search bar navigation and disclaimer modal behavior 2026-01-03 19:02:59 +01:00
plebeius 7cb74304fb fix translation 2026-01-03 18:05:40 +01:00
plebeius 8340953203 fix(deps): upgrade sharp to 0.34.5 to address security vulnerabilities 2026-01-03 18:05:27 +01:00
plebeius ec2fb14cad fix(electron): upgrade cacache for Node.js 22 compatibility 2026-01-03 17:57:42 +01:00
plebeius 96c5dff794 feat(update-translations.js): remove unused translations, add translation cleanup audit with dynamic key safety 2026-01-03 17:39:21 +01:00
plebeius e77dd53e0e fix(topbar): didn't update when subscribing to a board 2026-01-03 17:25: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 a7614db743 fix(hooks): fix usePopularPosts loading state and change detection 2026-01-03 16:14:08 +01:00
plebeius d71d518e27 fix(catalog-row): expand CatalogPost memo comparator to prevent stale renders 2026-01-03 16:13:59 +01:00
plebeius c28faaddfb fix deps conflict 2026-01-03 16:06:02 +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 647139c0ec fix(hooks): use structural equality for roles comparison in useStableSubplebbit 2026-01-03 16:04:29 +01:00
plebeius 52fea3851e fix(p2p-options): correct Solana chainId from 1 to 101 2026-01-03 16:04:24 +01:00
plebeius db413baa1d fix(translations): move purge keys to end of EN locale file 2026-01-03 16:04:18 +01:00
plebeius ad161e6c61 Update .gitignore 2026-01-03 15:38:27 +01:00
plebeius b93890b3bc fix(deps): resolve dependabot security alerts via yarn resolutions 2026-01-03 13:03:00 +01:00
plebeius f3629a47c2 Update update-translations.js 2026-01-03 00:01:32 +01:00
plebeius 1abc8410cd feat(moderation): add purge action to edit menu 2026-01-02 17:06:25 +01:00
plebeius 3d676062af feat(p2p options): add http routers field 2026-01-02 16:48:21 +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 764b4258e6 refactor(settings): rebrand plebbit options to P2P options 2026-01-02 15:53:02 +01:00
plebeius dd3bdf24ab style(p2p options settings): adjust textarea heights and dynamic rows 2026-01-02 15:43:01 +01:00