From b130ba4e1be07436abe4f17a95b7681845619a6c Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 5 Apr 2026 23:42:49 +0500 Subject: [PATCH] feat(player): refactor chapter picker to full-screen overlay like voice picker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both ListeningMode and the standard AudioPlayer now open chapters via a full-screen overlay (same UX as the voice selector) — header + search bar + rows with circular chapter-number badge, title, and active indicator. Removes the cramped inline card from the bottom of ListeningMode. Co-Authored-By: Claude Sonnet 4.6 --- ui/src/lib/components/AudioPlayer.svelte | 118 +++++++++++++- ui/src/lib/components/ListeningMode.svelte | 176 +++++++++++++-------- 2 files changed, 227 insertions(+), 67 deletions(-) diff --git a/ui/src/lib/components/AudioPlayer.svelte b/ui/src/lib/components/AudioPlayer.svelte index d94d02e..c53cc21 100644 --- a/ui/src/lib/components/AudioPlayer.svelte +++ b/ui/src/lib/components/AudioPlayer.svelte @@ -49,6 +49,7 @@ */ import { audioStore } from '$lib/audio.svelte'; + import { goto } from '$app/navigation'; import { Button } from '$lib/components/ui/button'; import { cn } from '$lib/utils'; import type { Voice } from '$lib/types'; @@ -98,6 +99,27 @@ /** Currently active sample