fix(ui): keep local album source badges visible across surfaces
Carry the physical source list through Discover pins and Library feeds, including logical albums with multiple origins. Reuse the Local Library badge vocabulary and shared AlbumCard rendering so local origins remain visible in Discover, Library and MyQBZ. Validated with 738 Qt tests and the six QML audits. cx
This commit is contained in:
9 files changed
+130
-42
No files matched your search
@@ -601,6 +601,8 @@ Rectangle {
|
||||
|
||||
AlbumCard {
|
||||
albumId: modelData.id
|
||||
source: modelData.source || ""
|
||||
sources: modelData.sources || []
|
||||
title: modelData.title
|
||||
artist: modelData.artist
|
||||
artistId: modelData.artistId
|
||||
@@ -882,6 +884,8 @@ Rectangle {
|
||||
readonly property bool localPinned:
|
||||
modelData.isLocalAlbum === true
|
||||
localMode: localPinned
|
||||
source: modelData.source || ""
|
||||
sources: modelData.sources || []
|
||||
quickViewAffordance: true
|
||||
pinAffordance: true
|
||||
albumId: modelData.id
|
||||
@@ -1260,6 +1264,8 @@ Rectangle {
|
||||
id: albumCardComp
|
||||
AlbumCard {
|
||||
albumId: modelData.album.id
|
||||
source: modelData.album.source || ""
|
||||
sources: modelData.album.sources || []
|
||||
title: modelData.album.title
|
||||
artist: modelData.album.artist
|
||||
artistId: modelData.album.artistId
|
||||
|
||||
Reference in new issue
Block a user