Repository navigation
feat(monitoring): show the forecast check, the year comparison and the usual day - #297
Merged
Merged
Conversation
…ed value Add ForecastWindow, ForecastDay and ForecastCheck.Days for the finished forecast days, and RuleRef and LearnedReaders to list the rules whose conditions read a learned key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…the api Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… endpoint Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add dayRows, onAt, runRows and yearBand to window.MonitoringInsight, ported from psLearned in the draft. Covers windows over midnight, point and free rows, the duration from the cycle and power values, and the year band that needs four common weeks. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The house row carries a name key instead of a fixed German name. The sort locale is an optional argument instead of read from I18n. Equal on and off minutes give a 15 minute point, not a full day. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…plate Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the monitoringDay Alpine component next to the forecast and year components. It decorates the MonitoringInsight day rows with display texts, reads the run and site values, follows the learned focus and handles the time scrubber. Covered by node tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…eated focus Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…the usual day Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… the usual day Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The day store files new cycles under the running day, so a fixed window stops holding them once that day lies behind it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…earned views Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 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.
Squash-merge commit message
Highlight translations
Tour
Summary
The Monitoring tab gets a Forecast view with a year comparison, and the learned values are shown as a usual day. Look at the new endpoint, the pure chart model monitoring-insight-model.js and the layout at phone width.
Checks
scripts/dev/check_tracked_secrets.shis clean.