Commit Graph
42 Commits
Author SHA1 Message Date
Tommaso Casaburi c046c542b6 chore(deps): use published bitsocial react hooks 2026-04-20 22:11:36 +07:00
Tommaso Casaburi f6ce2ba018 fix(reply-quote-preview): keep floating OP previews at desktop width 2026-04-16 15:20:49 +07:00
Tommaso CasaburiandGitHub c2e8e169c2 fix(accounts): adapt 5chan to compact account history hooks (#1118)
* chore(cursor): use composer-2 for subagents

* fix(accounts): adapt 5chan to compact account history hooks

* fix(accounts): address 5chan account-history review findings
2026-03-20 21:25:57 +08:00
Tommaso CasaburiandGitHub 3a7400e4a8 fix(reply-quote-preview): restore (You) for pseudonymous quotes (#1084)
* fix(reply-quote-preview): restore (You) for pseudonymous quotes

* test(reply-quote-preview): mock account comments hook
2026-03-16 14:26:08 +08: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 6c03253cb4 fix(post): stop thread navigation from forcing OP alignment (#1052)
* Update README.md

* fix(post): stop thread navigation from forcing OP alignment

Route-driven thread opens now use the normal top-of-page behavior, while explicit OP permalink intents carry a scrollThreadContainerCid state and resolve against the visible thread container only. The old spacer injection path is removed.

* fix(post): address PR review follow-ups
2026-03-11 18:43:36 +08:00
Tommaso CasaburiandGitHub 6ed3708322 fix(post): align op permalinks to the outer thread container (#1050)
* fix(post): align op permalinks to the outer thread container

* perf(scroll-to-reply): stop interval when max attempts/duration reached
2026-03-10 18:08:20 +08:00
plebeius 417482060d refactor: org name changed from bitsocialhq to bitsocialnet 2026-03-09 17:01:35 +08:00
plebeius b2137c7f91 test: expand markdown and post menu coverage
Adds focused regression coverage for quote previews, markdown link rendering, embed toggles, and desktop/mobile post-menu actions. It also fixes the undefined feed-state crash in use-state-string.ts and removes unnecessary runtime imports with import type.
2026-03-08 16:30:02 +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 ec9ee6ff43 fix(reply-quote-preview): add trailing break to mobile quotelinks so each >>N appears on its own line 2026-02-28 20:05:01 +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 326b40300f fix(reply-quote-preview): only scroll to reply when on thread page 2026-02-27 14:54:11 +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 e57f94c614 Update reply-quote-preview.tsx 2026-02-25 19:33:30 +08:00
plebeius 41f07124c6 fix(backlinks): scroll to reply and persist highlight when clicking OP backlink 2026-02-25 16:18:16 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 378242cdde fix(replies): prevent inline quote links from forcing line breaks 2026-02-12 16:17:44 +08:00
plebeius 716c782d1a fix: scroll OP quote to thread card on same-route click 2026-02-11 18:43:39 +08:00
plebeius b8546a86c5 fix(post): prevent quote hover highlight on op cards 2026-02-10 16:26:05 +08:00
plebeius 1bd1d34fee fix(components): remove redundant instant scroll from quote links 2026-02-09 19:57:44 +08:00
plebeius 0fb14e653c Added QuotedCidLink component in comment-content.tsx to render multiple quote links when quotedCids array exists. Updated ReplyQuotePreview to accept and display isOP prop, showing "(OP)" label for original post quotes in both desktop and mobile views. Prefers useComment hook over store when number property is available for deeper nested replies.
Added `QuotedCidLink` component in `comment-content.tsx` to render multiple quote links when `quotedCids` array exists. Updated `ReplyQuotePreview` to accept and display `isOP` prop, showing "(OP)" label for original post quotes in both desktop and mobile views. Prefers `useComment` hook over store when `number` property is available for deeper nested replies.
2026-02-09 19:23:15 +08:00
plebeius 63ee8aa168 refactor: rebrand default subplebbits to 5chan directories 2026-01-28 16:51:27 +08:00
plebeius bf2c7ae61b refactor: use post number instead of shortCid in reply modal and quote previews 2025-12-28 11:53:02 +01:00
plebeius f037a669c0 refactor: remove broken anon mode feature
- delete the anon mode hook/store and stop wiring publish flows through alternate signers
  - strip the settings UI, avatar warning, reply indicators, and FAQ text that referenced the toggle
  - drop the anon mode translation keys via scripts/update-translations.js
2025-11-25 13:13:38 +01:00
plebeius 93859ec2f1 fix(routes): prevent malformed routes and fix cache invalidation 2025-11-07 18:34:06 +01:00
plebeius d78fed1fda refactor(routing): migrate to directory-based board routing 2025-11-07 12:50:58 +01:00
plebeius eedb0fa08e fix: prevent memory leak from unbounded setInterval in use-time-filter 2025-11-06 11:23:06 +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) bc1271d8f1 style(post): quotes should be preceded by '>>', not 'c/' 2025-02-23 16:34:19 +01:00
Tom (plebeius.eth) 6ab52d6e00 remove logs 2025-01-21 20:19:57 +01:00
Tom (plebeius.eth) 5a498cbcb6 feat(post): enable highlighting an already highlighted post by using a different color 2024-12-21 16:32:14 +01:00
Tom (plebeius.eth) 965c6f846a fix(post): some quotes to replies wouldn't show quoted posts on hover 2024-11-09 20:46:27 +01:00
Tom (plebeius.eth) 7d2bd38f58 fix(post): "(You)" wasn't appearing for comments published in anon mode by user 2024-09-08 16:58:25 +02:00
Tom (plebeius.eth) e1422d0054 fix(post): clicking the quotelink or backlink to a reply wouldn't scroll to the reply more than once in a row 2024-08-31 15:19:43 +02:00
Tom (plebeius.eth) 0f6b922516 fix(post): reply backlink didn't appear in post info immediately after replying to it 2024-08-31 14:57:11 +02:00
Tom (plebeius.eth) 6d07ea2e3c update styling, count/highlight logic depending on params and post id 2024-06-29 11:55:36 +02:00
Tom (plebeius.eth) a6a41edd76 feat(post): add post count and highlight functionality to u/address 2024-06-28 22:09:11 +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