feat(favorites): album favorite action is a real toggle everywhere

Follow-through on 6a0c3d5e (state-visible hearts): the card-level
album 'favorite' arm was still add-only — a filled heart re-added and
toasted 'Added to favorites'. It now toggles, mirroring the header
arm: fav_cache-keyed, optimistic set_album_row_favorite + rollback on
error, cache written on success only, reco logging on ADD only (the
Capa B search-interaction record is now gated to adds, like tracks).
AlbumCard's menu item goes state-conditional (Remove from Library +
filled heart), and the now-playing '+' flyout album entry becomes
state-honest through a new NowPlayingState.album-favorite (seeded per
track in refresh_now_playing_meta, flipped live by
set_album_row_favorite — which now also syncs the open album page's
header heart, closing the stale-header undo loop). Favorites' own
intercepted unfavorite (fade + row removal) is untouched, both view
modes. One msgid x8 locales.

cc
This commit is contained in:
vicrodh committed 2026-07-08 09:05:02 -06:00
1 parent 872aaf22f1
commit 860f49ca3e
13 files changed
+126 -27

No files matched your search

@@ -2404,6 +2404,9 @@ msgstr "Toevoegen aan…"
msgid "Add album to collection"
msgstr "Album aan verzameling toevoegen"
msgid "Remove album from collection"
msgstr "Album uit verzameling verwijderen"
msgid "Remove from library"
msgstr "Verwijderen uit bibliotheek"