Small fixes from a page-by-page audit (dark, light and phone) on preview data.
Changes
Active alerts on phones: the dashboard table squeezed every column to a few letters ("c r i t i c a l" one letter per line). It now shows one card per alert, using the same card mode as other tables (lt-table-responsive with data-labels), in both the server and JS renderers.
Quieter section badges: counts like "History 0", "Active suppressions 0", the cutsheet counts and the rack count were drawn in alarm red. Badges are now neutral, and red is kept (g-section-badge-alert) for active alerts and tickets to follow up.
Host cards: the orange "prometheus" tag was on every card. It now appears only when the source is something else (a ping-only host).
WAN / Fiber: the BGW320 never reports uptime here, so "Uptime -" was permanent. The panel now shows the last restart instead, or nothing if none is known.
Footer: CFG and HELP were grey browser-default buttons in a larger font. They now read like the keyboard hints beside them. The footer also sits at the bottom of the window on short pages instead of halfway up.
Fields: the alert filter and the suppression form fields are wide enough for their hints, and the Apply button keeps its size.
Times: "just now" instead of a negative age ("-12s ago") when the server clock is a little ahead.
Before and after
Phone, active alerts:
Before
After
Short page (footer):
Suppressions (field widths, neutral badges):
Host cards:
Checks
526 tests pass (new: source tag only for non node_exporter hosts; alert table card mode markup).
flake8 and bandit are clean; eslint is at the 21-warning baseline.
No console errors and no horizontal scroll on any page at 390 px.
Small fixes from a page-by-page audit (dark, light and phone) on preview data.
## Changes
- **Active alerts on phones**: the dashboard table squeezed every column to a few letters ("c r i t i c a l" one letter per line). It now shows one card per alert, using the same card mode as other tables (`lt-table-responsive` with `data-label`s), in both the server and JS renderers.
- **Quieter section badges**: counts like "History 0", "Active suppressions 0", the cutsheet counts and the rack count were drawn in alarm red. Badges are now neutral, and red is kept (`g-section-badge-alert`) for active alerts and tickets to follow up.
- **Host cards**: the orange "prometheus" tag was on every card. It now appears only when the source is something else (a ping-only host).
- **WAN / Fiber**: the BGW320 never reports uptime here, so "Uptime -" was permanent. The panel now shows the last restart instead, or nothing if none is known.
- **Footer**: CFG and HELP were grey browser-default buttons in a larger font. They now read like the keyboard hints beside them. The footer also sits at the bottom of the window on short pages instead of halfway up.
- **Fields**: the alert filter and the suppression form fields are wide enough for their hints, and the Apply button keeps its size.
- **Times**: "just now" instead of a negative age ("-12s ago") when the server clock is a little ahead.
## Before and after
Phone, active alerts:
| Before | After |
|---|---|
|  |  |
Short page (footer):


Suppressions (field widths, neutral badges):


Host cards:


## Checks
- 526 tests pass (new: source tag only for non node_exporter hosts; alert table card mode markup).
- flake8 and bandit are clean; eslint is at the 21-warning baseline.
- No console errors and no horizontal scroll on any page at 390 px.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Active alerts on the dashboard become one card per alert on phones
instead of a table squeezed to a letter per line.
- Section count badges are neutral; red is kept for active alerts and
tickets to follow up, so "History 0" no longer looks like a problem.
- Host cards only tag the data source when it isn't node_exporter
(a ping-only host), instead of "prometheus" on every card.
- WAN / Fiber: the BGW320 doesn't report uptime here, so show the last
restart instead of a permanent "Uptime -".
- Footer: CFG and HELP read like the hints beside them rather than grey
browser buttons, and the footer sits at the bottom of short pages.
- Wider alert filter and suppression name fields so their hints fit.
- "just now" instead of a negative age when a clock runs a little ahead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared
scheduled this pull request to auto merge when all checks succeed 2026-11-18 01:49:32 -05:00
jared
merged commit 4ad331ddfe into main2026-11-18 01:49:35 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Small fixes from a page-by-page audit (dark, light and phone) on preview data.
Changes
lt-table-responsivewithdata-labels), in both the server and JS renderers.g-section-badge-alert) for active alerts and tickets to follow up.Before and after
Phone, active alerts:
Short page (footer):


Suppressions (field widths, neutral badges):


Host cards:


Checks
🤖 Generated with Claude Code