Commit Graph
2890 Commits
Author SHA1 Message Date
plebeius 76f655cc8c chore: release v0.6.5 v0.6.5 2026-02-11 19:17:36 +08:00
TomandGitHub 5dd2ca47d1 Merge pull request #894 from bitsocialhq/development
Development
2026-02-11 19:16:03 +08:00
plebeius 6271d15dae Update release-body.js 2026-02-11 19:15:42 +08:00
plebeius 25375612a9 fix(post): show OP backlinks in board feed cards 2026-02-11 19:06:29 +08:00
plebeius 18cea185e7 refactor: replace default lodash imports with named imports
Replaced `import _ from 'lodash'` with specific named imports (`capitalize`, `lowerCase`, `debounce`, `startCase`) across 18 files. This reduces bundle size and improves tree-shaking efficiency.
2026-02-11 19:01:09 +08:00
plebeius d862550132 fix(post): render OP backlinks from replies quoting OP 2026-02-11 18:52:10 +08:00
plebeius 716c782d1a fix: scroll OP quote to thread card on same-route click 2026-02-11 18:43:39 +08:00
plebeius 6c4c12c136 fix(reply): replies should always target the OP, not other replies 2026-02-11 18:15:06 +08:00
plebeius af259ad032 fix(reply modal): make parent reply quote editable 2026-02-11 16:38:40 +08:00
plebeius 9f14a63268 feat: populate quotedCids when publishing replies with quote references
Parse reply content for >>{postNumber} references, resolve post numbers to CIDs via usePostNumberStore, and include resolved CIDs in publishCommentOptions when publishing. Extracted quote handling into reply-quote-utils.ts for testability and clarity.
2026-02-11 16:07:01 +08:00
plebeius e9558a618a chore(deps): upgrade plebbit-react-hooks 2026-02-11 16:06:09 +08:00
plebeius 7827405460 Update AGENTS.md 2026-02-11 15:46:06 +08:00
plebeius 4898b5aa4f Update .gitignore 2026-02-11 15:30:25 +08:00
plebeius 50f373eb83 fix(deps): resolve dependabot alert 2026-02-11 13:43:17 +08:00
TomandGitHub a6cf257b78 Merge pull request #888 from bitsocialhq/master
Development
2026-02-10 21:47:09 +08:00
plebeius 11b713ce10 chore: release v0.6.4 v0.6.4 2026-02-10 21:36:39 +08:00
plebeius 702816f99b fix: include manual post-number quotes in reply backlinks
Backlink map generation now merges protocol-level quotedCids with parsed >>number references from reply content. Manual quotes are resolved through numberToCid from usePostNumberStore and deduplicated using Set. Centralized QUOTE_NUMBER_REGEX in url-utils to keep markdown conversion and backlink detection aligned.
2026-02-10 16:53:34 +08:00
plebeius 35783ff627 style(markdown): align markdown number-quote links with reply quote styling 2026-02-10 16:28:04 +08:00
plebeius b8546a86c5 fix(post): prevent quote hover highlight on op cards 2026-02-10 16:26:05 +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 c4b6c77d4c feat: render >>{number} as interactive quote links with hover preview
Added bidirectional `usePostNumberStore` for post number ↔ CID mapping, populated from thread views. Preprocesses `>>{number}` into markdown links, renders them via `NumberQuoteLink` and `ReplyQuotePreview`, and deduplicates against `quotedCids` when both refer to the same post.
2026-02-10 16:23:06 +08:00
plebeius db70a9148b fix(reply modal): restore multiline quote insertion 2026-02-10 15:51:58 +08:00
plebeius 8a192b41b4 feat(reply-modal): insert quoted post numbers at textarea caret
Replace single-quote blocking behavior with smooth multi-quote support. When the reply modal is open, clicking another post number now inserts >>number at the current caret position instead of showing an alert. Includes caret tracking across blur events and an infinite-loop guard to prevent recursive `setPublishReplyOptions` calls.
2026-02-10 14:57:47 +08:00
plebeius 9d17213e66 fix(post): improve user ID display with domain detection and length limits 2026-02-10 14:06:43 +08:00
plebeius 3be78393d1 feat(release): extract one-liner release description 2026-02-10 14:01:44 +08:00
plebeius 1bd8aa34eb fix translation 2026-02-10 14:00:45 +08:00
plebeius a581bf5760 add missing translations 2026-02-10 13:48:34 +08:00
plebeius 4a96f88efd feat: add copy user ID menu item and rename copy link to copy direct link
Add 'Copy user ID' button to both desktop and mobile post menus, allowing users to copy the full author address. This provides a way to verify authenticity against the 8-char display ID. Also rename 'Copy link' to 'Copy direct link' for clarity. Update security comments to reflect the new approach and add translations for all 35 languages.
2026-02-10 13:45:55 +08:00
plebeius 24d329a329 fix: shorten rendered user ID display from 12 to 8 characters 2026-02-10 13:23:46 +08:00
plebeius cdd6be915e fix(release): restore 5chan html zip artifact in tag releases 2026-02-10 12:38:12 +08:00
plebeius 1bd1d34fee fix(components): remove redundant instant scroll from quote links 2026-02-09 19:57:44 +08:00
plebeius c7c8c46557 feat(post): add backlinks for quotedCids 2026-02-09 19:56:07 +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 41b7fee439 refactor(mod queue): rename routes from /queue to /modqueue 2026-02-09 17:42:23 +08:00
plebeius 1704686a6f Update mod-queue.tsx 2026-02-09 17:17:14 +08:00
plebeius 8636005f12 fix: update subscriptions subtitle to present tense 2026-02-09 17:11:32 +08:00
plebeius c1b0d13bb7 feat(posts): support pseudonymityMode per-reply hiding
Hide user ID display in posts and replies when subplebbit.features.pseudonymityMode is 'per-reply'. Uses useSubplebbitField to avoid unnecessary rerenders.
2026-02-09 16:22:18 +08:00
plebeius 6192095bd4 Update generate-asset-manifest.js 2026-02-08 18:29:27 +08:00
plebeius b30eb150d0 fix(release): remove duplicate architecture suffixes from artifact names
Remove unnecessary rename steps that were adding duplicate architecture suffixes to AppImage and ZIP filenames. Electron Forge already includes architecture in AppImage filenames, and ZIPs include it in the darwin-arch pattern.
2026-01-30 16:52:58 +08:00
plebeius eec5ba559c fix release workflow v0.6.3 2026-01-30 16:23:08 +08:00
plebeius 6231debb4e make sure yarn.lock is always synced 2026-01-30 15:39:11 +08:00
plebeius 01bda3bffb fix(release): resolve build failures for v0.6.3
Fix Android Capacitor compatibility by downgrading tar to 6.2.1. Add Windows-specific icon file for Squirrel installer. Update electron-forge to 7.8.0 and change DMG format to ULFO for macOS Sequoia compatibility. Add retry logic for transient SSL errors on Mac Intel runners.
2026-01-30 15:26:17 +08:00
plebeius 50ee10cbc9 fix: resolve PR 877 issues - route params, artifact paths, and build configs
Fix route parameter name in use-initial-theme hook (communityAddress -> boardIdentifier), correct release workflow artifact paths (dist -> out/make), add BUILD_ARCH env var for Linux arm64 builds, fix macOS app name dev check, and update capacitor webDir to match vite output.
2026-01-30 14:33:45 +08:00
plebeius d4f16c707f chore(package.json): v0.6.3 2026-01-30 14:04:53 +08:00
TomandGitHub 802b1443fc Merge pull request #877 from bitsocialhq/development
Development
2026-01-30 14:02:33 +08:00
plebeius c4e2f753e3 fix(forge.config.js): remove malformed iconUrl from Squirrel config 2026-01-30 14:01:29 +08:00
plebeius a2d0869904 fix(electron-forge): add app icon configuration for all platforms 2026-01-30 13:50:17 +08:00
plebeius 0c6e03d039 fix(package.json): remove unneeded var 2026-01-30 13:35:53 +08:00
plebeius fce46615f1 bonfida resolutions shouldn't be needed 2026-01-30 13:23:15 +08:00
plebeius 01aac36cfa fix electron builds 2026-01-30 13:21:41 +08:00