v0.161.0 — R-70: truthful hub-managed offsite empty state (kiépítve/automatikus banner replaces igényelhető + nincs beállítva in the pre-apply window)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NKSN3gSg4TKVBBqkwW2djR
This commit is contained in:
2026-07-23 12:54:59 +02:00
parent 0eba37d5cd
commit ce8531426c
7 changed files with 153 additions and 89 deletions
+5
View File
@@ -671,6 +671,11 @@ func (s *Server) backupsOffboxData(data map[string]interface{}) {
offboxTgt := s.settings.GetOffboxTarget()
data["Offbox"] = offboxTgt
data["OffboxConfigured"] = s.backupMgr != nil && s.backupMgr.OffboxConfigured()
// R-70 (v0.161.0): hub-managed offsite is enabled in controller.yaml — the descriptor exists
// and the apply-bridge WILL configure the target automatically. The empty state must say so
// instead of the bare "nincs beállítva" (a box stuck pre-apply looked identical to one that
// was never provisioned — DIAG-f10: that ambiguity hid a burned credential for 2 days).
data["OffsiteHubEnabled"] = s.cfg != nil && s.cfg.Offsite.Enabled
offboxApps := s.buildOffboxApps()
data["OffboxApps"] = offboxApps
// Zero-toggle hint (take-two obs.): configured + escrowed but no app selected — nothing is