feat(qbz-qt): phase 15 — search 1:1 (cortinilla + full page with filters)
Intelligent search engine reused from qbz_app (SWR cache, interaction recording, rank_within, top_for_query; app-menu kill switch on the shared pref). Header field fully live: 220ms debounce, keyboard semantics (arrows/Enter/Esc), clear, idle-close. Cortinilla as a plain overlay (pointer stays on the field — Slint's exact reason): top result, spec-ordered sections with View more, skeleton, row activation dispatches (album/artist views, track play). Search page: 5 searchType filter radios (Main Artist/Performer/Composer/Label/Release Name), 5 scope tabs, Most-popular hero, carousels, per-type grids/lists with paged Load more. Perf: cortinilla 245ms cached / 1.1s cold. Fixed an artwork attach bug the screenshots exposed (url/path slot mixup). 18/18 tests. km
This commit is contained in:
10 files changed
+2936
-5
No files matched your search
@@ -145,7 +145,15 @@ Rectangle {
|
||||
: QbzBridge.currentView === "library" ? "LibraryView.qml"
|
||||
: QbzBridge.currentView === "album" ? "AlbumView.qml"
|
||||
: QbzBridge.currentView === "artist" ? "ArtistView.qml"
|
||||
: QbzBridge.currentView === "settings" ? "SettingsView.qml" : ""
|
||||
: QbzBridge.currentView === "settings" ? "SettingsView.qml"
|
||||
: QbzBridge.currentView === "search" ? "SearchView.qml" : ""
|
||||
}
|
||||
}
|
||||
|
||||
// Search cortinilla (phase 15): the live-search dropdown overlay, LAST
|
||||
// child so it renders above every surface (Cortinilla.slint's mount).
|
||||
Cortinilla {
|
||||
anchors.fill: parent
|
||||
headerBar: header
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user