NET blip flashes, clears itself after 5 minutes, hold NET clears it; Restart page is now page 20
- The remembered network blip is a flashing amber warning (new "notice" level, not counted as DOWN): press NET to stop the flashing, hold NET 2 s to clear it, otherwise it goes by itself after 5 minutes (was 3, solid). - The user moved the Restart page to page 20: config, the RESTART PAGE key on page 19 and both pages re-pushed. A scan of all pages finds no other button pointing at the old page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -166,8 +166,10 @@ def button(tid, tile, cfg):
|
||||
press = "ack " + tid
|
||||
fixable = "members" in tile or any((c["type"] in RESTARTABLE and c.get("conn")) or c.get("fix")
|
||||
for c in tile.get("checks", []))
|
||||
hold = ("restart " + tid) if fixable or tile.get("hold_always") else None
|
||||
if tile.get("hold_always"):
|
||||
hold = ("restart " + tid) if fixable or tile.get("hold_always") or kind == "network" else None
|
||||
if kind == "network":
|
||||
note = "Press: stop the flashing. Hold 2 s: clear a network blip (it also clears itself after 5 minutes)."
|
||||
elif tile.get("hold_always"):
|
||||
note = "Press: acknowledge. Hold 2 s: %s." % cfg["fixes"][tile["hold_always"]]["label"]
|
||||
else:
|
||||
note = "Press: acknowledge." + (" Hold 2 s: fix what this button is failing on (nothing if it is green)."
|
||||
|
||||
Reference in New Issue
Block a user