mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- discussionCountService now counts getAllowedCommentKinds() (NIP-22 kind 1111 + legacy kind 1) instead of 1111-only, so the discussion badge no longer undercounts threads that contain legacy comments. The count filters are derived from the same source the thread display uses, so they can't drift. - Add white-space: pre-wrap to .comment-thread__body so comments with line breaks/paragraphs preserve them instead of collapsing into one run-on line (long lines still wrap via word-break: break-word). Test: spec-corrected discussion-count-service to assert the count filters use getAllowedCommentKinds() (reverting to 1111-only fails the deepEqual). Co-Authored-By: Claude Opus 4.8 <[email protected]>