From de4c4b487fa4230fb3e770fdcda6c47d2bc7ac5e Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Mon, 31 Aug 2026 11:12:58 -0600 Subject: [PATCH] feat(qt): Create Artist Collection on the artist card menu Same Discography Builder seam ArtistView's overflow uses; QbzDisco.open takes the artist id, so no open view is required. cc --- crates/qbz-qt/qml/cards/ArtistCard.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/qbz-qt/qml/cards/ArtistCard.qml b/crates/qbz-qt/qml/cards/ArtistCard.qml index eb3ecb2b7..9191bf9d6 100644 --- a/crates/qbz-qt/qml/cards/ArtistCard.qml +++ b/crates/qbz-qt/qml/cards/ArtistCard.qml @@ -333,6 +333,10 @@ Rectangle { if (root.showFollow) m.push({ "label": root.following ? t("Following", r) : t("Follow", r), "icon": root.following ? "check" : "user-plus", "action": "follow" }) + // QoL round: the Discography Builder, reachable from the card — the + // same seam ArtistView's ⋯ overflow uses (`QbzDisco.open` takes the + // artist id, no open view required). + m.push({ "label": t("Create Artist Collection", r), "icon": "library-big", "action": "disco" }) // Reco-scoped dismissal (NOT the blacklist) — the artist leaves the // Recommendations rails only. if (root.hasNotInterestedSeam) @@ -344,6 +348,7 @@ Rectangle { if (a === "open") QbzArtist.openArtist(root.item.id) else if (a === "play") QbzPlayer.playArtistCard(root.item.id) else if (a === "follow") root.toggleFollow() + else if (a === "disco") QbzDisco.open(root.item.id) // THREE args: the store persists (id, name, image_url) and only // backfills a field that is EMPTY, so a blank first write can never be // repaired later. `artworkUrl` first because that is the host-