From 26073c4e7b3af2eab2b0a6d06c4d510ef6811496 Mon Sep 17 00:00:00 2001 From: astar76 Date: Thu, 19 Nov 2026 00:11:52 -0600 Subject: [PATCH] S023: quick player bar with waveform seek bar Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 1 + Plans/08 Audio player/S023-player-ui.md | 8 +- Plans/INDEX.md | 2 +- crates/tunal/Cargo.toml | 1 + crates/tunal/src/actions.rs | 42 ++- crates/tunal/src/config.rs | 3 + crates/tunal/src/folder/mod.rs | 15 + crates/tunal/src/main.rs | 5 + crates/tunal/src/menus.rs | 2 + crates/tunal/src/player_bridge.rs | 479 ++++++++++++++++++++++++ crates/tunal/src/settings.rs | 2 + crates/tunal/src/shell/mod.rs | 16 +- crates/tunal/ui/app.slint | 44 +++ crates/tunal/ui/components/icon.slint | 4 + crates/tunal/ui/dialogs/settings.slint | 13 + crates/tunal/ui/shell/player-bar.slint | 325 ++++++++++++++++ docs/PROGRESS.md | 9 + 17 files changed, 960 insertions(+), 11 deletions(-) create mode 100644 crates/tunal/src/player_bridge.rs create mode 100644 crates/tunal/ui/shell/player-bar.slint diff --git a/CLAUDE.md b/CLAUDE.md index 8df6cb6..d850d73 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -92,6 +92,7 @@ Never modify: `PROMPT.md` (the user's brief), the user's other projects under `~ | `TUNAL_SETTINGS=<0-4> cargo run -p tunal -- --screenshot --size 1000x700` (`XDG_CONFIG_HOME=`) | settings dialog page over a folder | S013 | | `TUNAL_DRAG=x1,y1,x2,y2[,hold] TUNAL_REDUCED_MOTION=1 cargo run -p tunal -- --screenshot --size 1200x760` (`XDG_CONFIG_HOME=`) | drags between window points and drops (drop menu) or holds (glow + drag image) before the frame | S014 | | `TUNAL_APPEARANCE=1 XDG_CONFIG_HOME= cargo run -p tunal -- --screenshot --size 1000x760` | folder appearance dialog for `` (theme icons looked up at once); `cargo run -p tunal-dirmeta --example roundtrip -- ` sets `Icon` in `/.directory` and prints the old values | S015 | +| `TUNAL_PLAY=