Commit Graph
39 Commits
Author SHA1 Message Date
plebeius 34e2c2bc4d fix: hold gif thumbnails until first frame is ready
Distinguish GIF frame loading from GIF frame failure in useFetchGifFirstFrame(), so thread and catalog thumbnails no longer render animated GIFs before the still frame arrives. Keep the existing animated fallback when the first-frame fetch actually fails.
2026-03-07 21:16:13 +08:00
plebeius ae744d0f78 feat(posts): add purge UI feedback for mods
Show Purged author/ID, red content message, and file-deleted media when
post.commentModeration.purged is true. Mirrors removal UI pattern.
2026-03-06 21:44:33 +08:00
plebeius 7644d59599 perf(media): restrict gif frame extraction to gif media types 2026-03-04 16:04:49 +08:00
plebeius 6ac9ac0ee7 fix(media): reserve stable post media space before thumbnails resolve 2026-02-26 17:27:54 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 0fbb3bef38 Update comment-media.tsx 2026-02-23 19:29:50 +08:00
plebeius 91667966f8 perf(feeds): defer useReplies, Virtuoso for all paths, CLS fixes, memo
Defer useReplies to hover-only in CatalogPost. Memo CatalogRow and Post. Remove useWindowWidth and autoUpdate from CatalogPost. Replace display:none with opacity for images. Add width/height to img tags in catalog-row and comment-media. Use Virtuoso for all rendering paths (infinite, finite, pagination). Optimize filteredComments with Set lookup. Add Vite manual chunks for markdown, virtuoso, floating-ui.
2026-02-23 18:51:42 +08:00
plebeius fcd8838045 fix(markdown): embedded media in comment.content shouldn't be expandable and should be already expanded 2025-12-31 15:23:56 +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
Tom (plebeius.eth) 974a10442e update comment media 2025-03-07 19:42:30 +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) 6e60360033 fix(post): image marked as spoiler was visible 2025-02-21 12:43:14 +01:00
Tom (plebeius.eth) d3e11bd48c refactor, don't allow click to enlarge on 404'd images 2024-12-12 16:41:18 +01:00
Tom (plebeius.eth) 309f76689f fix(feed): posts could change position causing displacement 2024-12-05 15:37:23 +01:00
Tom (plebeius.eth) f7da51259e fix board logo in description 2024-11-29 21:53:53 +01:00
Tom (plebeius.eth) 077b3bc9ef fix(post): image could flicker when clicking it to expand it 2024-11-23 18:37:13 +01:00
Tom (plebeius.eth) ba54d70421 feat(interface settings): add 'Fit expanded images to screen' setting 2024-10-31 12:55:38 +01:00
Tom (plebeius.eth) 4664206e77 feat(post): show media dimensions if available 2024-09-07 14:11:33 +02:00
Tom (plebeius.eth) 5a56016c85 fix(post): some gifs would appear animated before expanded 2024-09-04 17:15:11 +02:00
Tom (plebeius.eth) 7253e4d1a0 feat(post): add support for static GIFs 2024-07-20 16:25:20 +02:00
Tom (plebeius.eth) c8f62a754d fix undefined 2024-06-26 18:10:51 +02:00
Tom (plebeius.eth) 4cca4a58dd fix: incorrect assets path 2024-06-20 17:02:11 +02:00
Tom (plebeius.eth) 092c25bb0c fix eslint 2024-06-20 15:00:31 +02:00
Tom (plebeius.eth) 9f5f92f714 feat: add spoiler image 2024-06-19 18:50:24 +02:00
Tom (plebeius.eth) aaa13324f5 Update comment-media.tsx 2024-06-08 19:46:37 +02:00
Tom (plebeius.eth) 39a48c9515 feat(post): add floating preview of media from link in post content 2024-06-08 16:41:05 +02:00
Tom (plebeius.eth) 052476ad1a feat: hide media if spoiler 2024-06-03 13:52:55 +02:00
Tom (plebeius.eth) 05a8e91331 feat(post): add deleted and removed styling, mod reason, file deleted 2024-05-31 10:14:44 +02:00
Tom (plebeius.eth) fd092f1bee feat: add "hidden threads" counter and button in catalog and board view, store and hook 2024-05-30 18:01:37 +02:00
Tom (plebeius.eth) 856616eeec add comments 2024-05-29 21:08:03 +02:00
Tom (plebeius.eth) 0701f82174 refactor: add hook use-is-mobile for use-window-width calls 2024-05-29 16:17:37 +02:00
Tom (plebeius.eth) 18824468d4 feat(post): add "file deleted" img on error 2024-05-29 15:45:54 +02:00
Tom (plebeius.eth) 2859baf9c2 style(comment media): fix subplebbit avatar size 2024-05-28 16:11:25 +02:00
plebeius.eth a949b5096a style(post): translate link types, anonymous displayName 2024-04-28 17:40:05 +02:00
plebeius.eth b778b88708 fix(comment media): only show link if valid, show webpage links on mobile 2024-04-16 21:37:42 +02:00
plebeius.eth 7dba08ca00 feat(embed): add support for soundcloud embeds, show webpage links on mobile, adjust audio embeds 2024-04-16 17:39:33 +02:00
plebeius.eth 21c180913d refactor(comment media): use hook instead of prop 2024-04-16 13:10:25 +02:00
plebeius.eth 65c99ab188 feat(catalog): add media, styling 2024-04-12 17:47:30 +02:00
plebeius.eth e8c60fc5be fix(comment media): rename, refactor, fix performance 2024-04-09 19:04:21 +02:00