v3: the dump page's "In collections" list only shows the owner's private badge — every card there said "public", which says nothing on a list of playlists holding the dump. PlaylistCard takes privateBadgeOnly, passed through PlaylistCardList, which hides the visibility badge except on a private playlist of the signed-in user's; the other lists of playlists keep both badges. 5 PlaylistCard tests pass (new: privateBadgeOnly), and tsc, eslint, doc:lint and deno fmt are clean.
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 53s
Build and Deploy Static Documentation Site / build-and-push (push) Successful in 22s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
khannurien
2026-09-30 21:19:06 +00:00
parent f3f07ed1e3
commit 5f0cf86fe6
4 changed files with 45 additions and 12 deletions

View File

@@ -569,7 +569,7 @@ export function Dump(): React.JSX.Element {
<h2 className="related-section-title">
<Trans>In collections</Trans>
</h2>
<PlaylistCardList playlists={collections} />
<PlaylistCardList playlists={collections} privateBadgeOnly />
</section>
)}