From 62b28bd30e2defe979012181fac29db590fe3b05 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sun, 1 Nov 2026 19:33:49 +0100 Subject: [PATCH] Redesign the bar, sheets and cards, and add likes queue, history and sleep timer Feed modes move into tabs in the bar; likes, history, filters and settings, and account open as one kind of sheet: a drawer on wide screens, a bottom sheet with a drag handle on phones, with a scrim, Esc, a focus trap and focus restore. Cards get an artist avatar, follow and radio pills, a "new" chip, counts under round action buttons, an up-next pill and a redrawn waveform with rounded bars, a reflection and the buffered range. The start overlay names the track behind a big round play button. New: undo on dislike, a searchable likes list that plays as a queue (in order or shuffled), a local history of what played, deep links to a track (?t=handle/slug), a sleep timer, adjustable crossfade, bass boost, wheel up (w or a long press on the drop) and more keys. --- web/index.html | 138 ++++++--- web/src/api.ts | 7 +- web/src/blob/spin.ts | 5 + web/src/cards.ts | 67 ++++- web/src/history.ts | 35 +++ web/src/main.ts | 645 ++++++++++++++++++++++++++++++++----------- web/src/player.ts | 102 ++++++- web/src/sheet.ts | 140 ++++++++++ web/src/style.css | 495 +++++++++++++++++++++++++-------- web/src/visual.ts | 17 +- 10 files changed, 1312 insertions(+), 339 deletions(-) create mode 100644 web/src/history.ts create mode 100644 web/src/sheet.ts diff --git a/web/index.html b/web/index.html index db91e99..1c3a456 100644 --- a/web/index.html +++ b/web/index.html @@ -29,23 +29,36 @@ + + + + + + -