Commit Graph
52 Commits
Author SHA1 Message Date
Tommaso Casaburi 719005e935 fix(markdown): allow repeated greentext markers 2026-05-11 14:33:00 +07:00
Tommaso CasaburiandGitHub 556973a445 Improve React Doctor score and badge (#1127)
* fix(react doctor): improve quality score and badge

* fix(react doctor): address review feedback

* fix(review): address final bot feedback
2026-05-10 18:25:13 +07:00
Tommaso Casaburi c046c542b6 chore(deps): use published bitsocial react hooks 2026-04-20 22:11:36 +07:00
Tommaso Casaburi e366dac25c fix(quotes): keep same-thread board previews local 2026-04-16 15:33:12 +07:00
Tommaso CasaburiandGitHub d7703953fb refactor: migrate 5chan to the community hooks API (#1073)
* refactor(community-api): migrate 5chan to community hooks

* fix(review): address PR feedback

* fix(review): preserve legacy board context fallbacks

* fix(review): address latest bot feedback

* fix(review): use communityAddress in edit menu privileges
2026-03-13 13:25:10 +08:00
Tommaso CasaburiandGitHub fe55e6f332 fix(quotes): resolve external quote links across boards (#1064) 2026-03-12 17:41:11 +08:00
plebeius 417482060d refactor: org name changed from bitsocialhq to bitsocialnet 2026-03-09 17:01:35 +08:00
plebeius cf55eaa781 feat(markdown): make spoiler tags case-insensitive like BBCode 2026-03-09 15:31:53 +08:00
plebeius 91615dbf47 feat(markdown): use BBCode-style [spoiler][/spoiler] tags 2026-03-06 20:54:11 +08:00
plebeius ec404569e7 fix(quotes): avoid striking unresolved quote links 2026-03-06 19:24:49 +08:00
plebeius 65731ceb3a fix(markdown): handle unavailable reply quote links 2026-03-06 14:55:40 +08:00
plebeius 4508f589dd chore(deps): migrate from pkc-react-hooks to bitsocial-react-hooks 2026-03-05 17:14:23 +08:00
plebeius e6afb041ae refactor(markdown): replace react-markdown with custom imageboard-style text parser 2026-03-04 15:20:06 +08:00
plebeius 27b2d6fd8a fix(markdown): preserve full URL display text for autolinked 5chan links 2026-03-01 18:25:20 +08:00
plebeius e556a9e662 chore(deps): replace plebbit/plebbit-react-hooks with bitsocialhq/pkc-react-hooks
bitsocialhq/pkc-react-hooks is a fork of plebbit-react-hooks that we're maintaining temporarily as an attempt to modernize the original repository using AI tools, possibly merging changes back into plebbit-react-hooks, which should also be rebranded to pkc-react-hooks eventually, under the org pkcprotocol.
2026-02-28 15:02:56 +08:00
plebeius 216073aee3 fix(quotes): scope post-number lookup by subplebbit, OP quote always navigates to thread
- numberToCid scoped by subplebbit address to fix wrong preview in /all/
- OP quote click navigates to thread page instead of highlighting card
2026-02-26 15:08:33 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 3d2dbbf75c perf: remove reply backlink subscription churn
Replaced per-reply useReplies subscriptions in backlink rendering with a precomputed directRepliesByParentCid map from thread-level filteredReplies. Also optimized quote link rendering in comment-content with scoped store subscription, reduced edit menu state churn, and improved DOM lookups with memoization to keep all backlink rendering data-local and eliminate repeated backend-state-driven reference churn during board scroll.
2026-02-12 20:00:32 +08:00
plebeius 378242cdde fix(replies): prevent inline quote links from forcing line breaks 2026-02-12 16:17:44 +08:00
plebeius 35783ff627 style(markdown): align markdown number-quote links with reply quote styling 2026-02-10 16:28:04 +08:00
plebeius 223ec4c494 fix: show OP badge for number-based quote links
`NumberQuoteLink` now receives thread context from `Markdown` and forwards `isOP` to `ReplyQuotePreview` when the resolved quote CID matches the thread `postCid`. This makes `>>14` render as `>>14 (OP)` consistently with existing `quotedCids` links.
2026-02-10 16:23:15 +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 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
Tom (plebeius.eth) b3bcd5896c feat(markdown): render plebchan links as internal links, so the user doesn't have to leave the app 2025-06-04 12:55:55 +02:00
Tom (plebeius.eth) 45e9482241 fix(markdown): use rehype-raw for spoiler tag parsing instead of string replacement
typing spoiler text syntax in code block would render incorrect internal syntax
2025-03-21 00:04:30 +01:00
Tom (plebeius.eth) 9a08b9572b feat(markdown): add spoiler text 2025-01-28 15:12:39 +01:00
Tom (plebeius.eth) 73bab13e34 fix(markdown): invalid urls in content could crash the app 2024-11-17 15:59:59 +01:00
Tom (plebeius.eth) 8c91219134 style(markdown): render headers as paragraphs 2024-09-17 17:02:58 +02:00
Tom (plebeius.eth) 09a14416c8 feat(post): show embed of link in post content even if it doesn't have a thumbnail 2024-08-31 14:22:02 +02:00
Tom (plebeius.eth) c521ccbc2e feat(markdown): when the user is publishing a comment, automatically format it to follow markdown rules 2024-08-27 18:46:42 +02:00
Tom (plebeius.eth) 31abe908e3 Update markdown.tsx 2024-08-26 17:37:31 +02:00
Tom (plebeius.eth) 2a1b2729fc fix greentext, escape from blockquotes correctly 2024-08-26 14:14:09 +02:00
Tom (plebeius.eth) 38790a2596 fix(markdown): users couldn't include empty lines in the post content 2024-08-26 13:52:00 +02:00
Tom (plebeius.eth) 1eb64ede3d fix(markdown): don't allow horizontal lines, they look confusing inside of post content 2024-08-26 11:45:27 +02:00
Tom (plebeius.eth) 495e9e25b5 fix(markdown): single returns would be rendered as spaces 2024-08-26 11:10:57 +02:00
Tom (plebeius.eth) 85aeb86047 fix(spoiler): spoiler image wasn't showing for iframes 2024-07-04 21:38:01 +02:00
Tom (plebeius.eth) 77ccf0c849 chore(package.json): upgrade plebbit-react-hooks 2024-06-15 21:53:02 +02:00
Tom (plebeius.eth) 31081079bc fix(markdown): remove spoiler text, there's no syntax for it yet 2024-06-15 21:02:53 +02:00
Tom (plebeius.eth) 9ebf3b79b6 fix(catalog post): display title inline 2024-06-15 18:14:48 +02:00
Tom (plebeius.eth) 05f7977467 fix(catalog post): don't render markdown embeds and hr 2024-06-15 16:02:24 +02:00
Tom (plebeius.eth) 5f792f40f0 feat: add '(You)' in quote links 2024-06-08 17:19:52 +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) 70a20450bb feat: add spoiler text 2024-06-03 13:59:46 +02:00
plebeius.eth 6bfa899722 feat(post): add embed button and media to links in post content detected as valid embed links 2024-05-08 11:10:43 +02:00
plebeius.eth 53aa4ef878 revert markdown.tsx 2024-04-15 21:32:52 +02:00
plebeius.eth 967f781cfd fix(markdown): show single break 2024-04-13 21:34:36 +02:00
plebeius.eth af5a5443a7 perf(markdown): memoize 2024-04-07 17:19:59 +02:00
plebeius.eth b3353a28f5 fix undefined 2024-03-28 09:31:28 +01:00
plebeius.eth 311896d122 perf(app): optimize subs loading as much as possible 2024-03-27 15:10:58 +01:00