feat(watchlist): add watchlist toggle to library context menus

Watchlist membership was only reachable from Explore cards and the
detail screen's action row, which drops the bookmark first on narrow
screens with no fallback in the overflow menu. Add an entry to
MediaContextMenu for movies and shows whenever a connected catalog
source can hold the item, covering card long-press everywhere and the
detail screen's overflow.

External-id resolution is session-cached per item on
CatalogSourcesProvider and shared with the detail screen. A cold cache
labels the entry "Add to Watchlist" and always adds (idempotent), so a
press can never turn into a surprise removal; "Remove" is offered once
cached membership proves it. Several capable sources open the same
per-source chooser the detail screen uses.

close #1822
This commit is contained in:
edde746
2026-08-09 17:14:48 +02:00
parent 9d13584c00
commit 716fe9b51b
34 changed files with 936 additions and 72 deletions
+3
View File
@@ -1080,7 +1080,10 @@
"characters": "Qahramonlar",
"addToWatchlist": "Tomosha roʻyxatiga qoʻshish",
"removeFromWatchlist": "Tomosha roʻyxatidan oʻchirish",
"addedToWatchlist": "",
"removedFromWatchlist": "",
"watchlistUpdateFailed": "Tomosha roʻyxatini yangilab boʻlmadi",
"watchlistNoMatch": "",
"notInLibrary": "Kutubxonangizda yoʻq",
"inTheseLibraries": "Ushbu kutubxonalarda bor",
"checkingLibrary": "Kutubxona tekshirilmoqda...",