This commit is contained in:
Цвылев Александр Вадимович
2026-07-28 22:15:47 +03:00
parent e45ef785cf
commit e0603c9f42
12 changed files with 254 additions and 1 deletions
+11 -1
View File
@@ -36,6 +36,7 @@ import {
clearQueue,
toggleShuffle,
toggleLoop,
setExploration,
type QueueEntry,
} from '../../store/slices/queue';
import { toggleQueue } from '../../store/slices/player';
@@ -148,7 +149,8 @@ export function QueuePanel() {
min={0}
max={100}
step={1}
defaultValue={[42]}
value={[Math.round((queue.radio?.exploration ?? 0.25) * 100)]}
onValueChange={([v]) => dispatch(setExploration(v / 100))}
aria-label="Exploration"
/>
<span className="lab">{t('queue.new')}</span>
@@ -277,6 +279,14 @@ function QueueRow({
className="r"
text={resolved?.artistName ?? entry.artistName}
/>
{entry.reason && (
<span
style={{ fontSize: 11, color: 'var(--color-accent)' }}
title={t('queue.whyPlaying')}
>
{t(`queue.reason.${entry.reason}`)}
</span>
)}
</div>
<Menu>
<MenuTrigger asChild>