fix(errors): surface four mutations that failed silently (C-3.23)

House policy: user actions must report failure. Added onError to:
- ChannelPage block + unsubscribe → notifyYouTubeActionError (a 403 = missing YT
  scope shows the connect message; else the translated fallback);
- SettingsPanel PlexWatchSync toggle + reimport → a plain error notify (these are
  Plex, not YouTube, so notifyYouTubeActionError's "connect YouTube" would mislead);
- DownloadCenter job action (pause/resume/cancel/delete) → a plain error notify.
New keys (HU+EN): channels.notify.blockFailed, settings.plexSync.failed,
downloads.actionFailed.
This commit is contained in:
2026-07-21 23:13:53 +02:00
parent b769439229
commit d3e466774c
9 changed files with 16 additions and 4 deletions
+2 -1
View File
@@ -14,7 +14,8 @@
"imported": "Imported from Plex: {{watched}} watched, {{in_progress}} in progress.",
"lastSync": "Last import: {{when}}",
"never": "Not imported yet",
"importing": "Importing your Plex watch history…"
"importing": "Importing your Plex watch history…",
"failed": "Plex watch sync failed"
},
"save": {
"saving": "Saving…",