feat(qbz-qt): phase 5 — Library view 1:1 with All grid/list and perf marks
Six live tabs (All/Tracks/Albums/Artists/Playlists/Labels) with real count badges, paged favorites/playlists/purchases loaders, library_all merge semantics, heart routing (Qobuz API vs local store — LocalFavoritesService now initialized at session entry), sort popup with direction carets, grid/list toggle with natively windowed GridView/ListView delegates, id-keyed artwork via signal with hand- rolled eviction. Perf marks on the owner's account: 344 items, fetch wall 2.7-3.4s (97% network, sequential), map+merge ~11ms, JSON serialize 10ms, QML parse 7ms (~20us/item => ~140ms at the 2200-item reference scale), RSS +29MB after publish. km
This commit is contained in:
45 files changed
+2319
-5
No files matched your search
@@ -115,15 +115,20 @@ Rectangle {
|
||||
name: "compass"
|
||||
label: QbzBridge.tr("Discover")
|
||||
visible: !QbzBridge.offline
|
||||
onClicked: root.activeNav = "discover"
|
||||
onClicked: {
|
||||
root.activeNav = "discover"
|
||||
QbzBridge.navigateTo("home")
|
||||
}
|
||||
}
|
||||
NavRow {
|
||||
navId: "library"
|
||||
name: "music-library-2"
|
||||
label: QbzBridge.tr("Library")
|
||||
visible: !QbzBridge.offline
|
||||
// Inert — the view lands in phase 3.
|
||||
onClicked: root.activeNav = "library"
|
||||
onClicked: {
|
||||
root.activeNav = "library"
|
||||
QbzBridge.navigateTo("library")
|
||||
}
|
||||
}
|
||||
NavRow {
|
||||
navId: "local"
|
||||
|
||||
Reference in new issue
Block a user