Playlist sort + filter #57
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SBDeveloper/medley#57
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Agent Brief
Category: enhancement
Summary: Add a Playlist lens (sort + free-text filter) to the Playlist page, including an "Added on" sort backed by a new optional entry-level
added_atfrom Sources.Current behavior:
A Playlist page shows entries in stored (manual, drag-reorderable) order only. There is no sort or filter. Entries carry no timestamp, and the plugin-api has no added-at on Source playlist tracks. Play, play-from-row and Add to queue operate on the stored order.
Desired behavior:
The Playlist page gains a Playlist lens (see
GLOSSARY.md): a sort key + direction and a filter text. It is a view over the stored order and never changes it, including on Linked Playlists (nothing is mirrored to the Source).Key interfaces:
PlaylistEntry(core and its UIcore.tsmirror): optionaladded_at(timestamp).Track, since it describes Playlist membership). Additive and optional so existing plugins keep working.Core::play_playlist/play_playlistcommand andadd_playlist_to_queue: must accept an ordered subset of entry ids (or equivalent) so the shown order and filter drive playback while the Queue context stays the Playlist.Acceptance criteria:
added_atand playing an ordered subset; vitest covers the lens function.Out of scope: