feat(widgets): Overview verdict, pending monitors' age, fullest filesystems first (#5810)
- Overview: a verdict line when something is wrong ('1 alert firing, 1
monitor down.'); its picker description now says what it lists (alerts,
monitors down, anomalies). Host figures have their home in Hosts.
Comments no longer name the Status page that was folded into Monitors.
- Monitors widget: a monitor not checked yet says when it was added.
- Host page: filesystems fullest first, by the worse of space and inodes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,9 @@ async def test_the_overview_labels_its_counts_and_lists_what_is_wrong(app):
|
||||
assert '<span class="badge badge-crit">Down</span>' in page and "2h ago" in page
|
||||
assert page.index("nas disk full") < page.index("ssh-nas") # alerts, then monitors
|
||||
assert ">pending<" not in page # a zero pending count is not shown
|
||||
# #5810: a verdict says what is wrong before the list says where.
|
||||
assert '<div class="w-verdict tone-crit">1 alert firing, 1 monitor down.</div>' in page
|
||||
assert page.index("1 alert firing, 1 monitor down.") < page.index("nas disk full")
|
||||
assert not hex_colours(page), hex_colours(page)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user