Repository navigation
fix(web): say why the overview windows can show the same figures - #51
Merged
Merged
Conversation
The demo seeds every record in one burst, so windows longer than its age count the same rows and the selector looks broken. Backdating the rows would fake the metrics; saying so does not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
The Overview description now says the demo creates every record when it is seeded, so a longer window can show the same figures.
Why
Every metric filters on when a row was created, and the demo creates all its rows in one burst at boot. Since the site now resets every morning, 24h and 7d always match, and 1h goes empty an hour after boot, so the Window selector looks broken. The selector itself works: the e2e journey clicks 1h and checks that the page follows. Backdating seeded rows was rejected, because the page promises figures measured from committed records.
🤖 Generated with Claude Code