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:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user