Repository navigation
feat: show a status dot in the page's top right corner - #11
Merged
Merged
Conversation
Green with "All OK" only when the server and broker are reachable and every thermostat has reported recently and confirmed its commands. Otherwise it's red with the reason in words, because a page that loads says nothing about the devices, and old values look like fresh ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
subpathdev
force-pushed
the
feat/status-dot
branch
from
November 1, 2026 16:07
06b9204 to
c935caa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A page that loads doesn't prove the broker works, and old values look like fresh ones. Jan's idea.
What
A dot with a text label in the top right, using what the page already fetches, so there's no backend or contract change:
connectedis falsecommandFailed)lastSeenis nulllastSeenis older than 2 hoursThe page already refreshes every 5 s, so the dot does too, rather than the 30 s that was suggested.
How to validate
Ran locally against the real broker read-only: both rooms show "All OK" within seconds. Every red state was checked in a browser at phone width with stubbed responses, and it goes back to green afterwards.
Limits
Risk
Page only. Merging releases a new minor version, but nothing deploys until the chart bump in smart-home.
Rollback
Revert the PR.
🤖 Generated with Claude Code