Commit Graph
2874 Commits
Author SHA1 Message Date
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
plebeius 388a120c8e fix(electron): fix production build crashes 2026-01-30 13:12:02 +08:00
plebeius 16012b4239 fix(find-forge-executable): make appName preference effective
Added fallback variable to track valid candidates that don't match appName. Now returns immediately on exact match, otherwise continues searching and falls back to any valid executable. Applied fix consistently across Windows, Darwin, and Linux branches including .app directories and .AppImage files.
2026-01-30 12:57:52 +08:00
plebeius 815f618320 refactor: migrate from electron-rebuild to electron-forge 2026-01-30 12:28:41 +08:00
plebeius 7b4d7b6b9a Update .gitignore 2026-01-30 12:22:11 +08:00
plebeius 431e171049 Add Bonfida import fix script and improve release workflow 2026-01-30 11:50:20 +08:00
plebeius 7020dfb17b Update package.json 2026-01-29 16:39:30 +08:00
plebeius 6a7078c1fd Update AGENTS.md 2026-01-28 17:25:39 +08:00
plebeius 63ee8aa168 refactor: rebrand default subplebbits to 5chan directories 2026-01-28 16:51:27 +08:00
plebeius 7c8a7b8df8 Update AGENTS.md 2026-01-28 16:40:30 +08:00
plebeius 74946b875d Update AGENTS.md 2026-01-28 16:18:20 +08:00
plebeius ad8e3262db Update AGENTS.md 2026-01-28 15:49:36 +08:00
plebeius 149d1a411f chore(deps): patch dependabot security alerts via resolutions 2026-01-28 13:23:32 +08:00
plebeius 629b12a4a4 chore(deps): upgrade plebbit-react-hooks 2026-01-28 12:41:08 +08:00
plebeius 6163ee930b typo 2026-01-27 15:08:56 +08:00
plebeius 2457f6a314 Update AGENTS.md 2026-01-27 14:33:28 +08:00
TomandGitHub 40183e405d Merge pull request #874 from bitsocialhq/master
Development
2026-01-27 13:36:08 +08:00