R-522: a disconnected tunnel is told on the dashboard row

Since v0.292.0 (R-841) cloudflared's health check asks /ready, so a lost
connection reads unhealthy; the cloudflared row now also carries the tag
"Kivulrol nem erheto el" with a plain title, in hu+en. New parity case
dashboard_tunnel_offline (born as a key).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-05 22:32:39 +02:00
parent 1991c742a3
commit b36a85ac04
6 changed files with 642 additions and 1 deletions
@@ -67,6 +67,22 @@ func i18nCasesA() []i18nCase {
d["Stacks"] = []stacks.Stack{}
return d
}},
// R-522: a disconnected tunnel (cloudflared unhealthy) carries the „Kívülről nem érhető el" tag. Born as a
// key — its fixture was captured from this render, never from an unconverted template.
{"dashboard_tunnel_offline", "dashboard", func() map[string]interface{} {
d := i18nLayoutData("dashboard", "Vezérlőpult")
d["RunningCount"], d["StoppedCount"], d["TotalCount"] = 0, 0, 1
d["SystemInfo"] = map[string]interface{}{"TotalMemMB": uint64(0)}
d["BackupEnabled"] = false
cf := i18nStack("cloudflared", "Cloudflared", stacks.StateUnhealthy, true)
cf.Protected = true
d["Stacks"] = []stacks.Stack{cf}
d["MissingStorage"] = map[string]string{}
d["NetworkStubs"] = map[string]string{}
d["NetworkWarnings"] = map[string]string{}
d["Subdomains"] = map[string]string{}
return d
}},
{"dashboard_diskcrit", "dashboard", func() map[string]interface{} {
d := i18nLayoutData("dashboard", "Vezérlőpult")
d["RunningCount"], d["StoppedCount"], d["TotalCount"] = 1, 0, 1