Web UI: Most Played hover fix, narrower seek bar, Android-parity track kebab #99

Merged
bvandeusen merged 5 commits from dev into main 2026-06-14 22:26:52 -04:00
Showing only changes of commit 773275e916 - Show all commits
+15 -1
View File
@@ -3,6 +3,7 @@
MoreVertical,
ListPlus,
Plus,
Radio,
Heart,
HeartOff,
ListMusic,
@@ -24,7 +25,7 @@
import { createLikedIdsQuery, likeEntity, unlikeEntity } from '$lib/api/likes';
import { createMyQuarantineQuery, unflagTrack } from '$lib/api/quarantine';
import { qk } from '$lib/api/queries';
import { playNext, enqueueTrack } from '$lib/player/store.svelte';
import { playNext, enqueueTrack, playRadio } from '$lib/player/store.svelte';
import type { TrackRef } from '$lib/api/types';
let {
@@ -87,6 +88,11 @@
closeAll();
}
function onStartRadio() {
playRadio(track.id);
closeAll();
}
async function onToggleLike() {
closeAll();
if (liked) {
@@ -168,6 +174,14 @@
<TrackMenuDivider />
{/if}
<!-- Start radio is always offered, even on the now-playing surfaces
(hideQueueActions) — reseeding the queue as a radio station from
the current track is meaningful where "play next" / "add to queue"
are not. Mirrors TrackRow's inline 📻 button via playRadio(). -->
<TrackMenuItem icon={Radio} label="Start radio" onclick={onStartRadio} />
<TrackMenuDivider />
<TrackMenuItem
icon={liked ? HeartOff : Heart}
label={liked ? 'Unlike' : 'Like'}