Add a "date added" sort wherever it makes sense #46

Open
opened 2026-08-18 05:57:03 +00:00 by logan · 0 comments
Collaborator

Report

There should be a "date added" sort option on the views where it is relevant.

Findings

  • Sorting is driven by <page-header>'s sortOptions per host, so this is one option added to several hosts rather than one change.
  • The column has to exist and be populated: check that audio_files carries a created/added timestamp and that album/artist rollups can derive one (an album's date added = the earliest/latest of its files — pick one and write it down).
  • The Artists view currently has no keys but name at all (separate issue) and library.Artist carries no counts or dates, so it needs the query extending either way.

Direction

Add it to Tracks, Albums, Artists and Genres, plus the playlist views where a track's "added to playlist" date is a different thing worth distinguishing in the label. Default direction should be newest-first, since "what did I just add" is the reason anyone wants it.

**Report** There should be a "date added" sort option on the views where it is relevant. **Findings** - Sorting is driven by `<page-header>`'s `sortOptions` per host, so this is one option added to several hosts rather than one change. - The column has to exist and be populated: check that `audio_files` carries a created/added timestamp and that album/artist rollups can derive one (an album's date added = the earliest/latest of its files — pick one and write it down). - The Artists view currently has no keys but name at all (separate issue) and `library.Artist` carries no counts or dates, so it needs the query extending either way. **Direction** Add it to Tracks, Albums, Artists and Genres, plus the playlist views where a track's "added to playlist" date is a *different* thing worth distinguishing in the label. Default direction should be newest-first, since "what did I just add" is the reason anyone wants it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yonlu/yellowjacket#46