fix(traefik): request chart redraws once the dashboard has placed it, and refreshes every 5 min (#5214)
CI / lint (push) Successful in 3s
CI / integration (push) Successful in 53s
CI / unit (push) Successful in 1m22s
CI / publish (push) Successful in 1m26s

A chart built while its cell was still being laid out could stay blank until
a window resize; it now measures and draws again after layout settles. Each
refresh rebuilds the chart (the flash), and its buckets are minutes wide, so
the widget refreshes every 5 minutes instead of every poll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 15:24:29 -04:00
co-authored by Claude Opus 5.5
parent da79c43891
commit eaf9f1bcb8
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -131,6 +131,7 @@ WIDGET_REGISTRY: dict[str, dict] = {
"detail_url": "/plugins/traefik/",
"plugin": "traefik",
"poll": True,
"poll_seconds": 300, # buckets are minutes wide; each refresh redraws the chart
"params": [
{
"key": "hours",