Expand description
Albums landing page with Recent / Owned / Shared sections.
Fetches album cover thumbnails and renders them as clickable tiles in a responsive flow layout. Selecting a tile navigates the main grid to that albumβs contents.
StructsΒ§
- Albums
View Parts - Contains references to individual grid widgets of the albums overview display.
EnumsΒ§
- Albums
Sort - Sort modes available for the albums landing page.
FunctionsΒ§
- album_
tile π - Build a clickable tile representing an individual album complete with cover art.
- build_
albums_ view - Construct the hierarchical panels and containers for the albums listing page.
- build_
section π - Build a single category grid section with a text label and a flow box layout.
- clear π
- Remove all child widgets from the specified flow box.
- populate_
albums - Populate the album list grids grouped by ownership status.
- project_
albums π - Pure projection over the cached album list. Returns the (recent, owned,
shared) buckets that drive the three Albums-view rows after applying the
active search filter and sort mode. Extracted from
render_albumsso the ordering rules can be unit-tested without GTK. - render_
albums π - set_
search_ filter - Set the current search filter and re-render. Empty string clears the filter.
- set_
sort_ mode - Set the current sort mode and re-render.
- spawn_
thumbnail π - Asynchronously load and set the thumbnail for an album cover art picture widget.