feat(slint): extend cortinilla with Local Library + Plex + per-source artwork
Add local albums/artists/tracks sections to the main header cortinilla (below the Qobuz results) and local albums to the immersive cortinilla, derived by grouping the on-device track rows. Merge the Plex cache into the local search so Plex-only content surfaces (db.search is local_tracks-only). Route each cover by source via spawn_search_loads (Qobuz http / Plex /library PlexThumb / local file). Widen the local section caps when offline or signed out. Rename the section lore from "on this device" to "on Local Library". Also clear the search input after a cortinilla element is activated (row click / View more / Enter) so lingering text can no longer re-invoke the dropdown when focus returns to the field; replicated in the immersive search field via a dedicated raw-text property. cc
This commit is contained in:
6 files changed
+563
-92
No files matched your search
@@ -824,6 +824,11 @@ component ImmersiveSearchPlaceholder inherits Rectangle {
|
||||
vertical-alignment: center;
|
||||
horizontal-alignment: center;
|
||||
single-line: true;
|
||||
// Two-way bound to a DEDICATED raw-text property so the controller can
|
||||
// clear the field after a result is activated (consistency with the
|
||||
// main cortinilla). Separate from the trimmed `search-query`. Typing
|
||||
// still flows through `edited`.
|
||||
text <=> ImmersiveState.search-input-text;
|
||||
accepted => { search-scope.on-enter(); }
|
||||
edited => { ImmersiveSearchActions.live(self.text); }
|
||||
// On focus-IN: route focus to the wrapping scope (so its key-pressed
|
||||
|
||||
Reference in new issue
Block a user