fix(scheduler): show progress for any running job with reliable live updates
The dashboard now renders a progress bar for any running job — determinate when counts are reported, an indeterminate "working" sliver otherwise — so a scheduled run is as visible as a manual one (progress was never manual-only; the wiring is shared, but only some jobs reported and the display gated on counts). Poll faster (1.5s) while any job runs, easing back to 4s when idle, derived from the freshest data by react-query's functional refetchInterval. The earlier React-state approach to this stalled the live updates (the row froze on the first sampled value); useLiveQuery now accepts a function of the data. Trilingual phase labels for the newly-reporting jobs.
This commit is contained in:
parent
6eb552fa04
commit
cd026aaf79
5 changed files with 45 additions and 12 deletions
|
|
@ -38,7 +38,12 @@
|
|||
"enrich": "Enriching videos",
|
||||
"backfill_recent": "Backfilling recent uploads",
|
||||
"backfill_deep": "Backfilling full history",
|
||||
"probe": "Classifying Shorts"
|
||||
"probe": "Classifying Shorts",
|
||||
"rss_poll": "Checking for new uploads",
|
||||
"subscriptions": "Syncing subscriptions",
|
||||
"autotag": "Auto-tagging channels",
|
||||
"playlist_sync": "Syncing playlists",
|
||||
"working": "Working…"
|
||||
},
|
||||
"maintenance": {
|
||||
"title": "Maintenance",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue