Commit Graph
1046 Commits
Author SHA1 Message Date
thePR0M3TH3AN 49adb42e36 Fix logger import path for comments controller 2025-12-12 10:04:30 -05:00
thePR0M3TH3AN 5c08f8771e Add fallback comments disabled placeholder 2025-12-12 09:19:04 -05:00
thePR0M3TH3AN 047a465d66 Refine comments modal disable handling 2025-12-12 09:12:13 -05:00
thePR0M3TH3AN f777ff7049 Add guard for missing video modal comment selectors 2025-12-12 09:06:34 -05:00
thePR0M3TH3AN a4bd71ef78 update 2025-11-19 10:25:01 -05:00
thePR0M3TH3AN 04e72a0b46 Propagate video root identifier from pointer metadata 2025-11-14 09:30:01 -05:00
thePR0M3TH3AN a1ec4c89a6 Merge pull request #1037 from PR0M3TH3AN/codex/update-video-comment-handling-with-videorootid
Add root identifier plumbing to modal comments
2025-11-12 21:00:48 -05:00
thePR0M3TH3AN 8a111d8ee8 Handle lowercase root identifiers when fetching comments 2025-11-12 20:56:15 -05:00
thePR0M3TH3AN ec2da8af20 Allow comment threads without ensurePool 2025-11-12 20:37:51 -05:00
thePR0M3TH3AN f27128b3d3 Handle legacy hashtag preference events 2025-11-12 20:35:49 -05:00
thePR0M3TH3AN 74bbe8e078 Add root identifier plumbing to modal comments 2025-11-12 20:31:43 -05:00
thePR0M3TH3AN 05c8b1a486 Update hashtag preference kind 2025-11-12 20:15:55 -05:00
thePR0M3TH3AN 6331896f6a Sanitize additional Nostr tags 2025-11-12 09:54:34 -05:00
thePR0M3TH3AN 9e969e8120 Sanitize mute tags before publishing block list 2025-11-12 09:28:04 -05:00
thePR0M3TH3AN ad6374de92 update 2025-11-07 16:19:50 -05:00
thePR0M3TH3AN cad9db188e update 2025-11-06 16:15:14 -05:00
thePR0M3TH3AN f60aae282b update 2025-11-06 15:37:17 -05:00
thePR0M3TH3AN 0c011f14b3 update 2025-11-06 13:57:38 -05:00
thePR0M3TH3AN 48de1a3c4e update 2025-11-05 16:41:16 -05:00
thePR0M3TH3AN cdb82e6e72 update 2025-11-05 16:17:56 -05:00
thePR0M3TH3AN 5aa1f8687b update 2025-11-05 15:20:14 -05:00
thePR0M3TH3AN 6025f6e078 update 2025-11-05 14:49:33 -05:00
thePR0M3TH3AN e90f3770ef update 2025-11-05 11:12:38 -05:00
thePR0M3TH3AN c882139e90 Fix comment event matching for uppercase addresses 2025-11-04 16:52:12 -05:00
thePR0M3TH3AN 71df75a8d1 update 2025-11-04 15:19:34 -05:00
thePR0M3TH3AN cac275a220 Normalize root comment keys before rendering 2025-11-04 15:06:17 -05:00
thePR0M3TH3AN a52e1e2a17 update 2025-11-03 22:07:49 -05:00
thePR0M3TH3AN 5a0b35ff60 Merge branch 'unstable' of https://github.com/PR0M3TH3AN/bitvid into unstable 2025-11-03 21:49:18 -05:00
thePR0M3TH3AN 8ad7d82a70 update 2025-11-03 21:49:10 -05:00
thePR0M3TH3AN 8258686f55 Preserve raw video author pubkeys for comment threads 2025-11-03 21:27:30 -05:00
thePR0M3TH3AN b7d63f235c Merge branch 'unstable' of https://github.com/PR0M3TH3AN/bitvid into unstable 2025-11-03 21:05:23 -05:00
thePR0M3TH3AN dc0b6a1f8c update 2025-11-03 21:05:20 -05:00
thePR0M3TH3AN 043648fc62 Refresh WebTorrent tracker defaults 2025-11-03 20:34:40 -05:00
thePR0M3TH3AN 5d31366c79 Restore comment bootstrap and guard admin cache hydration 2025-11-03 20:19:45 -05:00
thePR0M3TH3AN 4a70adcd1c Fix default flags syntax regression 2025-11-03 19:21:18 -05:00
thePR0M3TH3AN ac930abaca Fix nip44 bootstrap import 2025-11-03 19:18:05 -05:00
thePR0M3TH3AN fbc352e460 Fix fallback thumbnail asset paths 2025-11-03 19:15:44 -05:00
thePR0M3TH3AN a9f2c4ec37 update 2025-11-03 18:57:43 -05:00
thePR0M3TH3AN db586727fa update 2025-11-03 18:53:59 -05:00
thePR0M3TH3AN c5eda532df feat: improve comment persistence on reload via union filters and caching
- Introduce FEATURE_IMPROVED_COMMENT_FETCHING flag (default: true in unstable)
- Enhance createVideoCommentFilters to include comprehensive union of legacy (#e/#a) and uppercase (#E/#A/#I/#K/#P) tags for NIP-22 compliance, reducing misses in mixed-relay propagation
- Add localStorage caching (5min TTL) in CommentThreadService.fetchThread for fast loads post-reload; includes getCachedComments, cacheComments, and clearCommentCache
- Force full-history re-fetch in VideoModalCommentController.load with retry logic if low count, plus background refresh after 1s
- Bootstrap cache warm-up for recent videos on bitvidApp init (tracks via localStorage recentVideos list)

Fixes: Comments posted not reloading in video modal (root cause: incomplete filters + no persistence)
Closes: #N/A (internal fix)
QA: Verified post → reload → modal open shows comments via cache/query; no regressions in threading/UI
Rollout: Gated by flag; rollback by setting false + clear localStorage (^comments: keys)
2025-11-03 15:46:12 -05:00
thePR0M3TH3AN a59f214aeb Serialize repost targets when available 2025-11-03 14:35:43 -05:00
thePR0M3TH3AN e704b93287 Fix comment address fallback when video tags missing 2025-11-03 11:36:39 -05:00
thePR0M3TH3AN 3445ef9059 Ensure comment builder always appends root #e tag 2025-11-03 10:45:44 -05:00
thePR0M3TH3AN d9b45ed867 Ensure comment events keep root e tags alongside addresses 2025-11-03 09:56:33 -05:00
thePR0M3TH3AN a107f59221 Merge pull request #1023 from PR0M3TH3AN/codex/update-to-kind-30000-for-subscriptions
Align subscription list events with NIP-51 follow sets
2025-11-03 09:44:10 -05:00
thePR0M3TH3AN 7db78b07f2 Restore legacy subscription list compatibility 2025-11-03 09:42:17 -05:00
thePR0M3TH3AN 318eea15e3 Enhance VideoModal title handling and styling. Added responsive styles for video title in CSS, ensuring proper overflow handling. Updated JavaScript to set video title dynamically, with fallback for missing elements and improved logging for debugging. 2025-11-02 19:30:05 -05:00
thePR0M3TH3AN e496376236 Align subscription lists with NIP-51 follow set kind 2025-10-31 08:33:39 -04:00
thePR0M3TH3AN 3d60d865fa Merge pull request #1022 from PR0M3TH3AN/codex/cap-modal-tag-list-using-tag-strip-helper
Trim video modal tags to container width
2025-10-30 21:02:45 -04:00
thePR0M3TH3AN b4d2370611 Trim video modal tag list to container width 2025-10-30 21:01:37 -04:00