thePR0M3TH3AN and Claude Opus 4.8
6f5da76d30
[comments] align count with displayed kinds + preserve multi-line content
...
- 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] >
2026-06-18 12:15:46 -04:00
..
2026-06-18 12:15:27 -04:00
2026-01-19 12:51:34 -05:00
2026-02-08 00:33:13 +00:00
2026-02-05 20:31:23 +00:00
2025-10-15 14:37:25 -04:00
2026-06-14 16:57:05 -04:00
2026-06-17 14:49:40 -04:00
2026-02-11 03:27:26 +00:00
2026-01-24 20:28:53 +00:00
2026-06-18 12:15:46 -04:00
2026-02-11 03:27:26 +00:00
2026-06-16 20:15:17 -04:00
2026-06-18 12:15:27 -04:00
2026-06-17 06:13:38 -04:00
2026-02-05 17:00:13 +00:00
2026-06-12 14:31:38 -04:00
2026-06-12 09:44:36 -04:00
2026-06-16 22:09:57 -04:00
2025-10-03 21:10:22 -04:00
2026-02-08 03:44:38 +00:00
2026-01-07 17:30:22 +00:00
2026-02-17 10:55:28 +00:00
2026-02-11 04:05:36 +00:00
2026-06-16 20:36:27 -04:00
2026-01-24 20:28:53 +00:00
2026-06-14 09:52:41 -04:00
2026-02-07 21:52:51 +00:00
2026-06-16 15:40:06 -04:00
2026-06-13 18:48:09 -04:00
2026-02-16 21:47:01 +00:00
2026-02-08 03:44:38 +00:00
2026-01-24 22:29:18 +00:00
2026-01-22 19:27:40 -05:00
2026-01-21 17:48:01 +00:00
2026-02-11 03:27:26 +00:00
2026-02-08 00:22:16 +00:00
2026-02-07 21:59:37 +00:00
2026-01-23 04:19:40 +00:00
2026-06-12 21:21:16 -04:00
2026-06-16 15:40:06 -04:00
2026-01-23 02:09:08 -05:00
2026-01-24 20:28:53 +00:00
2026-01-30 17:04:15 -05:00
2026-02-09 23:22:49 -05:00
2026-01-26 21:49:18 -05:00
2026-01-28 23:49:33 +00:00
2026-02-09 21:32:29 +00:00
2026-02-20 21:14:39 +00:00
2026-06-16 20:28:27 -04:00
2026-02-09 02:24:53 +00:00
2025-10-22 22:17:30 -04:00
2025-10-22 22:17:30 -04:00
2026-02-07 21:52:51 +00:00
2025-09-24 15:23:24 -04:00
2026-06-16 16:56:12 -04:00
2026-01-19 20:46:47 +00:00
2026-02-22 15:56:05 -05:00
2026-02-12 16:56:06 +00:00
2026-01-19 02:13:59 +00:00
2025-10-01 13:42:50 -04:00
2026-06-17 12:13:58 -04:00
2026-06-16 09:17:47 -04:00
2026-01-30 16:51:01 -05:00
2026-01-19 20:46:47 +00:00
2026-06-17 12:13:58 -04:00
2026-01-19 20:46:47 +00:00
2026-06-14 15:49:50 -04:00
2026-02-10 01:10:19 -05:00
2025-10-15 14:37:25 -04:00
2026-06-17 18:23:10 -04:00
2025-10-15 12:49:46 -04:00
2026-06-18 12:15:27 -04:00
2026-02-17 07:01:18 +00:00
2025-02-05 16:54:40 -05:00