From 452fbfa6071eb222e59c446c289af746e2aa90cc Mon Sep 17 00:00:00 2001 From: Kyle Date: Mon, 20 Jul 2026 23:46:47 -0400 Subject: [PATCH] Remove hover-preview; delegate to song_preview plugin Folder Library now uses the standard data-fn/data-v3-play markup so the song_preview plugin handles hover-previews, the same way it does for grid and list views. Removes ~200 lines of preview-specific code: dedicated audio element, indicator rendering, toolbar toggle, and backend manifest checking. The preview experience is now unified across all library surfaces. --- CHANGELOG.md | 12 +- plugins/folder_library/CLAUDE.md | 18 +-- plugins/folder_library/README.md | 4 +- plugins/folder_library/routes.py | 16 +- plugins/folder_library/screen.js | 150 ++---------------- .../folder_library/tests/preview_url.test.js | 71 --------- .../tests/song_preview_markup.test.js | 116 ++++++++++++++ 7 files changed, 146 insertions(+), 241 deletions(-) delete mode 100644 plugins/folder_library/tests/preview_url.test.js create mode 100644 plugins/folder_library/tests/song_preview_markup.test.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 99d1954..123bde7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,13 +82,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 renderer is selected. The whole group also greys out while the Venue scene override is active, since none of the three controls reach a mounted style in that mode. -- **Folder Library — preview song on hover.** The Folders library view gains a - toolbar toggle (on by default): hovering a song ~0.8s previews its audio in - place, with a waveform indicator over the artwork, and stops on leave. Uses a - dedicated `