feat(blacklist): album-block context menu + manager Albums tab; albumview polish

Phase 2 (Slint UI + wiring) for album-level blocking, plus the album-view
enhancements that share these files.

Album blacklist UI:
- "Block this album" in all three album menus: the page-header menu as a
  Block/Unblock toggle (gated to Qobuz via AlbumState), and the AlbumCard +
  AlbumListRow grid menus (one-way, drop-on-reload; local/Plex excluded).
  Menu heights bumped for the extra item.
- Blacklist Manager gains an Artists | Albums tab bar (segmented, ADR-008);
  an AlbumRow with a cover thumbnail (blind-eye fallback) + title + artist +
  "Added {date}"; tab-aware controls (shared enable toggle, per-tab search /
  Clear-All / count) and confirm modal. Settings row retitled "Blacklist",
  status shows both counts.
- state.slint: BlacklistedAlbumItem + album-items/album-count/active-tab on
  BlacklistState; set-tab/album-select/remove-album/clear-all-albums/
  block-album on BlacklistActions; AlbumState.is-album-blocked.
- main.rs: ("album","block"/"unblock") arm (header, resolves display fields
  from AlbumState); 5 album BlacklistActions callbacks; seed_blacklist_status
  pushes album_count.
- blacklist_manager.rs: album build/push + set_tab/block_album/remove_album/
  clear_all_albums; covers resolve async via a new ArtworkTarget::BlacklistAlbum
  through spawn_loads.

Album-view enhancements (same files):
- E1: full credited-artist header line with localized roles, each name a
  clickable artist link (Album.artists drove this; was interpreter-only).
- E3: classical work-header composer name is now a clickable artist link
  (work title + composer id/name split through TrackData/TrackItem).

i18n: es (Mexican) for all new strings; de/fr/pt/ru/ja fall back to English
pending a translator pass.

cargo check -p qbz green (Slint codegen + bin).

cc
This commit is contained in:
vicrodh committed 2026-06-30 00:06:05 -06:00
1 parent c85ad5f661
commit 66889af421
21 files changed
+930 -65

No files matched your search

@@ -4134,3 +4134,60 @@ msgstr "Un cliente nativo de streaming de música para Linux, diseñado para aud
msgid "Built with Slint, and powered by Rodio and Symphonia. With thanks to Qobuz, MusicBrainz, Song.link/Odesli, LRCLIB, lyrics.ovh, Lucide, and Kawarp."
msgstr "Construido con Slint, e impulsado por Rodio y Symphonia. Con agradecimientos a Qobuz, MusicBrainz, Song.link/Odesli, LRCLIB, lyrics.ovh, Lucide y Kawarp."
# Album blacklist (album-level blocking)
msgid "Block this album"
msgstr "Bloquear este álbum"
msgid "Unblock album"
msgstr "Desbloquear álbum"
msgid "Album \"{}\" blocked"
msgstr "Álbum \"{}\" bloqueado"
msgid "Album \"{}\" unblocked"
msgstr "Álbum \"{}\" desbloqueado"
msgid "Failed to block album"
msgstr "No se pudo bloquear el álbum"
msgid "Failed to unblock album"
msgstr "No se pudo desbloquear el álbum"
msgid "{} albums"
msgstr "{} álbumes"
msgid "No blocked albums"
msgstr "No hay álbumes bloqueados"
msgid "To block an album, open its menu and choose Block this album."
msgstr "Para bloquear un álbum, abre su menú y elige Bloquear este álbum."
msgid "Blocked albums are hidden from search, discovery, and listings — even when their artist is allowed."
msgstr "Los álbumes bloqueados se ocultan de la búsqueda, el descubrimiento y los listados, aunque su artista esté permitido."
msgid "This will remove all {} blocked albums. This cannot be undone."
msgstr "Esto quitará los {} álbumes bloqueados. No se puede deshacer."
msgid "{} artists, {} albums blocked"
msgstr "{} artistas, {} álbumes bloqueados"
msgid "{} artists, {} albums blocked (disabled)"
msgstr "{} artistas, {} álbumes bloqueados (desactivado)"
msgid "Failed to clear album blacklist"
msgstr "No se pudo limpiar la lista de álbumes bloqueados"
msgid "Conductor"
msgstr "Director"
msgid "Orchestra"
msgstr "Orquesta"
msgid "Featured Artist"
msgstr "Artista invitado"
msgid "Removed {} album from blacklist"
msgid_plural "Removed {} albums from blacklist"
msgstr[0] "Se eliminó {} álbum de la lista negra"
msgstr[1] "Se eliminaron {} álbumes de la lista negra"