fix(dash): refresh stats on an interval and compact feed timestamps - #137
Merged
Conversation
The stats row was fetched once at page load and froze there while the live feed kept filling - surfaced immediately when recording the README demo. Refresh it every 5s (same lightweight authed GET). Also slice feed timestamps to HH:MM:SS - the full ISO-with-microseconds string was noise; the precise timestamp stays available in doberman log and the TUI. No new endpoints, no auth/redaction changes.
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.
Slice
What this PR does
The stats row was fetched once at page load and froze at those values while the live feed kept filling - visibly wrong on camera (feed shows 7 decisions, counters read 0). Stats now refresh every 5s via the same authed GET. Feed timestamps render as compact HH:MM:SS sliced from the ISO string (full precision stays in doberman log / the TUI).
Tests added (run in CI)
Public-release safety (doberman-core only)
Security checklist
Edge cases covered / Deviations from plan / Risks introduced