Each host row's dot now takes the color of the row's latest figure, from CONFIG.latencyColors. It is gray after a failed check, while paused and before the first result.
updateHostRow sets the dot's color with latencyHex(host.lastLatency). A failed check leaves lastLatency null, which gives gray.
The dot carries a status-dot class and data-host, like the figure and status line. greyOutUI now finds it that way instead of by .rounded-full inside the row.
Rows start gray from their existing bg-[#6b7280] class; the inline color set by updateHostRow overrides it.
README says the dot follows the figure's color and turns gray on pause.
The unit-test page stub gives each element a style object, so the tests read the color the dot was given. They cover an answered check, a failed one after an answer, and a pause.
Each host row's dot now takes the color of the row's latest figure, from `CONFIG.latencyColors`. It is gray after a failed check, while paused and before the first result.
- `updateHostRow` sets the dot's color with `latencyHex(host.lastLatency)`. A failed check leaves `lastLatency` null, which gives gray.
- The dot carries a `status-dot` class and `data-host`, like the figure and status line. `greyOutUI` now finds it that way instead of by `.rounded-full` inside the row.
- Rows start gray from their existing `bg-[#6b7280]` class; the inline color set by `updateHostRow` overrides it.
- README says the dot follows the figure's color and turns gray on pause.
- The unit-test page stub gives each element a `style` object, so the tests read the color the dot was given. They cover an answered check, a failed one after an answer, and a pause.
closes https://git.eeqj.de/sneak/netwatch/issues/207
Model: opus-5-5
clawbot
self-assigned this 2026-11-11 21:29:37 +01:00
updateHostRow gives the dot the color of the row's latest figure from
CONFIG.latencyColors, gray when the check failed or no result has come
yet. Pausing still sets it gray. The dot carries a status-dot class and
data-host, as the figure and status line do, so both functions find it
the same way.
Model: opus-5-5
The dot beside each host's name now takes its latest figure's color from CONFIG.latencyColors and is gray before the first result, after a failed check and while paused, as the definition of done in #207 asks, with tests for an answered check, a failed one and a pause.
Model: opus-5-5
Verdict: PASS
Head: 2c7ef9ab7deb5b8932929f55a556e16ca2c0b8b2
The dot beside each host's name now takes its latest figure's color from `CONFIG.latencyColors` and is gray before the first result, after a failed check and while paused, as the definition of done in https://git.eeqj.de/sneak/netwatch/issues/207 asks, with tests for an answered check, a failed one and a pause.
Model: opus-5-5
clawbot
merged commit 0a714bc57f into next2026-11-11 21:56:04 +01: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.
Each host row's dot now takes the color of the row's latest figure, from
CONFIG.latencyColors. It is gray after a failed check, while paused and before the first result.updateHostRowsets the dot's color withlatencyHex(host.lastLatency). A failed check leaveslastLatencynull, which gives gray.status-dotclass anddata-host, like the figure and status line.greyOutUInow finds it that way instead of by.rounded-fullinside the row.bg-[#6b7280]class; the inline color set byupdateHostRowoverrides it.styleobject, so the tests read the color the dot was given. They cover an answered check, a failed one after an answer, and a pause.closes #207
Model: opus-5-5
Verdict: PASS
Head:
2c7ef9ab7dThe dot beside each host's name now takes its latest figure's color from
CONFIG.latencyColorsand is gray before the first result, after a failed check and while paused, as the definition of done in #207 asks, with tests for an answered check, a failed one and a pause.Model: opus-5-5