Sync detail: label wing-it rows 'Unmatched', not '→ Wishlist'

A wing-it fallback track shows download_status='wishlist' (the sync stamps that on
every unmatched track) but was never actually added — the sync skips wing_it_* for
the wishlist. Showing '→ Wishlist' implied it was wishlisted. Now those rows read a
muted, non-actionable 'Unmatched' instead. Real wishlisted tracks keep the amber
'→ Wishlist' re-add button.
This commit is contained in:
BoulderBadgeDad 2026-06-24 18:30:49 -07:00
parent 5b7f99c30b
commit 79101e1847
2 changed files with 8 additions and 1 deletions

View file

@ -2275,7 +2275,7 @@ async function openSyncDetailModal(entryId) {
// wishlisted by the sync — show them as plain, non-clickable.
const isWingIt = String(t.source_track_id || '').startsWith('wing_it_');
if (isWingIt) {
dlDisplay = `<span class="sync-dl-wishlist" title="No metadata — this track couldn't be resolved, so it can't be added to the wishlist">&rarr; Wishlist</span>`;
dlDisplay = `<span class="sync-dl-unmatched" title="Couldn't be resolved to real metadata (wing-it fallback), so it was never added to the wishlist">Unmatched</span>`;
} else {
// Clickable: re-add this exact track to the wishlist with the
// same context the sync originally used.

View file

@ -58023,6 +58023,13 @@ tr.tag-diff-same {
font-weight: 600;
white-space: nowrap;
}
/* unmatched (wing-it fallback) — never wishlisted; muted, non-actionable */
.sync-dl-unmatched {
font-size: 9px;
color: rgba(255, 255, 255, 0.4);
font-weight: 600;
white-space: nowrap;
}
/* clickable variant — re-add to wishlist */
.sync-dl-wishlist-btn {
border: 1px solid rgba(255, 183, 77, 0.35);