From 03c3e151dcab38b320c995a522e72622aa8381ac Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 22 Oct 2026 15:39:14 -0400 Subject: [PATCH] =?UTF-8?q?feat(audio-player):=20gear-menu=20default=20spe?= =?UTF-8?q?ed=20+=20split=20shortcuts=20into=20Mouse/Touch=20(plan=20?= =?UTF-8?q?=C2=A712)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Player settings popover gains a 'Default playback speed' row beside autoplay — a compact rate select, always visible (the Speed ▾ footer hides when current == default, which made the setting undiscoverable at 1x/1×); same setDefaultSpeed PUT. The shortcuts dialog splits its pointer section into MOUSE (click/drag/shift/wheel) and TOUCH (drag/pull-away) — the bar has two scrub systems and the sections now say so. --- templates/audio_reader.templ | 34 ++++++++++++-- templates/audio_reader_templ.go | 81 ++++++++++++++++++++++++++------- web/src/audio-keys.ts | 19 ++++++-- web/src/audio.ts | 13 ++++-- 4 files changed, 119 insertions(+), 28 deletions(-) diff --git a/templates/audio_reader.templ b/templates/audio_reader.templ index f3951570..875d3563 100644 --- a/templates/audio_reader.templ +++ b/templates/audio_reader.templ @@ -145,6 +145,25 @@ templ AudioReader(user User, metadata ReaderMetadata) { + +
+ Default playback speed + +
@@ -689,10 +708,17 @@ templ AudioReader(user User, metadata ReaderMetadata) { - -
Mouse & touch
-