mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 00:42:30 +00:00
add reproducer for repost comment visibility bug
This commit adds a minimal reproducer script that demonstrates a bug where comments on an original video are hidden when viewing that video via a Repost (Kind 6). The issue stems from `normalizeCommentTarget` using the Repost's metadata (Kind 6, Reposter Pubkey) instead of the Original Video's metadata to generate the comment filter descriptor. This causes valid comments (which tag the Original Video) to be filtered out by `isVideoCommentEvent`. Added: - `examples/reproducers/2-repost-comment-visibility-bug/reproduce_issue.js` - `examples/reproducers/2-repost-comment-visibility-bug/README.md`
This commit is contained in:
1 parent
474071e84a
commit
c3f19f4bf5
5 files changed
+106
-113
No files matched your search
@@ -5291,7 +5291,8 @@
|
||||
font-size: var(--font-size-2xs);
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
transition: color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
transition:
|
||||
color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
background var(--motion-duration-fast) var(--motion-ease-out),
|
||||
border-color var(--motion-duration-fast) var(--motion-ease-out);
|
||||
}
|
||||
@@ -5352,7 +5353,8 @@
|
||||
background: var(--surface-sunken);
|
||||
font-size: var(--font-size-xs);
|
||||
text-align: left;
|
||||
transition: border-color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
transition:
|
||||
border-color var(--motion-duration-fast) var(--motion-ease-out),
|
||||
background var(--motion-duration-fast) var(--motion-ease-out);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user