fix(header): show sync activity only while a job is actually running
The header's sync indicator spun "fetching history" whenever any channel still lacked full history — i.e. perpetually, even when the scheduler was idle between its periodic runs. It now spins only while a channel-sync job (backfill or RSS poll) is actually running; otherwise pending deep-history work shows as the calm, static "N without full history" link, and recent work queued for the next run shows a static "N queued". This makes the header coherent with the Scheduler dashboard's live state. Backend exposes running_job_ids() from the scheduler activity and a derived sync_active flag on /api/sync/my-status.
This commit is contained in:
parent
a004fa4107
commit
f69e34e3a6
7 changed files with 48 additions and 18 deletions
|
|
@ -31,6 +31,8 @@
|
|||
"paused": "pausiert",
|
||||
"syncing": "{{count}} werden synchronisiert",
|
||||
"backfillingHistory": "Verlauf wird geladen",
|
||||
"working": "Synchronisierung…",
|
||||
"recentQueued": "{{count}} in Warteschlange",
|
||||
"allSynced": "alles synchronisiert",
|
||||
"withoutFullHistory": "{{count}} ohne vollständigen Verlauf",
|
||||
"fullHistoryTooltip": "Einige deiner Kanäle haben nur ihre neuesten Uploads. Klicke, um die Kanalverwaltung (auf diese gefiltert) zu öffnen und ihren vollständigen Katalog anzufordern.",
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@
|
|||
"paused": "paused",
|
||||
"syncing": "{{count}} syncing",
|
||||
"backfillingHistory": "fetching history",
|
||||
"working": "syncing…",
|
||||
"recentQueued": "{{count}} queued",
|
||||
"allSynced": "all synced",
|
||||
"withoutFullHistory": "{{count}} without full history",
|
||||
"fullHistoryTooltip": "Some of your channels only have their recent uploads. Click to open the channel manager (filtered to these) and request their full back-catalog.",
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@
|
|||
"paused": "szüneteltetve",
|
||||
"syncing": "{{count}} szinkronizálás alatt",
|
||||
"backfillingHistory": "előzmény letöltése",
|
||||
"working": "szinkronizálás…",
|
||||
"recentQueued": "{{count}} sorban",
|
||||
"allSynced": "minden szinkronban",
|
||||
"withoutFullHistory": "{{count}} teljes előzmény nélkül",
|
||||
"fullHistoryTooltip": "Néhány csatornádnak csak a legutóbbi feltöltései vannak meg. Kattints a csatornakezelő megnyitásához (ezekre szűrve), és kérd le a teljes archívumukat.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue