v3: fixed search in prod, lots of UI fixes across the app
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 46s

This commit is contained in:
khannurien
2026-04-09 21:54:07 +00:00
parent ed7695663e
commit 9c889a9531
18 changed files with 459 additions and 334 deletions

View File

@@ -232,24 +232,27 @@ export function Dump() {
{/* Post header */}
<div className="dump-post-header">
<div className="dump-header-block">
<VoteButton
dumpId={dump.id}
count={voteCounts[dump.id] ?? dump.voteCount}
voted={myVotes.has(dump.id)}
disabled={!user}
onCast={castVote}
onRemove={removeVote}
/>
<div className="dump-header-left">
<VoteButton
dumpId={dump.id}
count={voteCounts[dump.id] ?? dump.voteCount}
voted={myVotes.has(dump.id)}
disabled={!user}
onCast={castVote}
onRemove={removeVote}
/>
{user && (
<button
type="button"
className="btn-add-playlist"
onClick={() => setPlaylistModalOpen(true)}
>
<Trans>+ Playlist</Trans>
</button>
)}
</div>
<div className="dump-header-right">
<h1 className="dump-title">{dump.title}</h1>
{user && (
<button
type="button"
className="btn-add-playlist"
onClick={() => setPlaylistModalOpen(true)}
>
<Trans>+ Playlist</Trans>
</button>
)}
<div className="dump-op">
<Avatar
userId={dump.userId}
@@ -285,6 +288,7 @@ export function Dump() {
</span>
)}
</div>
</div>
</div>
{dump.comment && (