feat(slint): add SearchState globals and search ContentView

SearchState/SearchActions globals, SearchTrackItem/SearchPlaylistItem
structs, and a search variant on ContentView. Re-exported from app.slint
so the Rust layer can populate them. Nothing consumes them yet.

cc
This commit is contained in:
vicrodh committed 2026-05-19 11:18:16 -06:00
1 parent 9365eb450d
commit b040a1d359
2 files changed
+61 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ import { LoginScreen } from "login/LoginScreen.slint";
import { AppShell } from "shell/AppShell.slint";
// Re-export the state globals so the Rust layer can populate them.
export { HomeState, AlbumState, ArtistState, NavState, SessionState, SettingsState, AlbumActions, NowPlayingState, QueueState } from "state.slint";
export { HomeState, AlbumState, ArtistState, NavState, SessionState, SettingsState, AlbumActions, NowPlayingState, QueueState, SearchState, SearchActions } from "state.slint";
// Which top-level screen is shown. The app starts on `splash` while it
// restores a saved session, then resolves to `shell` or `login`.