-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Metrics Explorer date span, range into redux metrics-slice #1105
Conversation
Signed-off-by: Peter Fitzgibbons <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1105 +/- ##
==========================================
+ Coverage 44.09% 44.37% +0.27%
==========================================
Files 325 327 +2
Lines 19378 19896 +518
Branches 4617 4743 +126
==========================================
+ Hits 8545 8829 +284
- Misses 10788 11021 +233
- Partials 45 46 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
start: 'now-1d', | ||
end: 'now', | ||
span: 1, | ||
resolution: 'h', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this set anywhere before as the default?
fromTime="now-1d" | ||
key="Y4muP4QBiaYaSxpXk7r8" | ||
onEditClick={[MockFunction]} | ||
onRefresh={true} | ||
onRefresh={0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this expected - default from 30m to 1d? Also why is onRefresh turning into false here, is that expected?
…search-project#1105) Signed-off-by: Peter Fitzgibbons <[email protected]>
Description
In order to simplify refactor of MetricsGrid, moving all date-range parsing out of props-passing and into redux MetricsSlice.
Issues Resolved
References #1095 (not resolve)
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.