[Uptime] Implement EuiSuperDatePicker#28217
Conversation
|
Pinging @elastic/uptime |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
ddc24f1 to
6b0bc8a
Compare
💔 Build Failed |
6b0bc8a to
613a76c
Compare
💔 Build Failed |
699fc59 to
4af93e3
Compare
|
jenkins test this |
💔 Build Failed |
💔 Build Failed |
76687f5 to
3e43147
Compare
💔 Build Failed |
3e43147 to
409811c
Compare
💔 Build Failed |
💔 Build Failed |
ee211fc to
adee7a3
Compare
💚 Build Succeeded |
|
SDP should have a seconds interval as well. This is the default, set to 5000. The refresh button doesn't work either, but that's a separate issue from SDP right @justinkambic ? |
| minDuration, | ||
| status, | ||
| }: any) => { | ||
| maxRtt.push({ |
There was a problem hiding this comment.
What does this do exactly? This could possibly use a comment.
andrewvc
left a comment
There was a problem hiding this comment.
I left some comments about adding additional comments. I'm going to LGTM this conditional to those comments being added.
Great work, I see the code looks much nicer in a number of ways with this PR.
| } | ||
| ); | ||
|
|
||
| const checksDomain = upSeries.concat(downSeries).map(({ y }) => y); |
There was a problem hiding this comment.
This could probably also use a plain english explanatory comment block
| $dateRangeStart: String! | ||
| $dateRangeEnd: String! | ||
| $downCount: Int! | ||
| $windowSize: Int! |
There was a problem hiding this comment.
I like the stricter reqs.
|
Feel free to merge now. You can address the minutes/seconds issue in a follow-up PR if need be. |
Addressed in 28a1d4a. |
💚 Build Succeeded |
chrisronline
left a comment
There was a problem hiding this comment.
Tested the functionality and seems to work fine!
💚 Build Succeeded |
* Implement EuiSuperDatePicker, update components to use new state props. * Update backend to accept values from EuiSuperDatePicker. * Fix issues with implementation of super date picker. * Fix bug in autorefresh enablement. * Delete obsolete code. * Fix broken types. * Add comment to remind to delete code once it's obsolete. * Fix types. * Remove unused import. * Add polling for ErrorList component. * Update broken unit tests. * Change default autorefresh interval. * Add comments based on PR feedback. * Add comment based on PR feedback.
* Implement EuiSuperDatePicker, update components to use new state props. * Update backend to accept values from EuiSuperDatePicker. * Fix issues with implementation of super date picker. * Fix bug in autorefresh enablement. * Delete obsolete code. * Fix broken types. * Add comment to remind to delete code once it's obsolete. * Fix types. * Remove unused import. * Add polling for ErrorList component. * Update broken unit tests. * Change default autorefresh interval. * Add comments based on PR feedback. * Add comment based on PR feedback.

Summary
Implementation of
EuiSuperDatePickerand comprehensive refactoring of how the plugin handles date ranges.Testing this PR
Note to reviewers
masterin [Uptime] Localization #28183, so please mark any bare copy as needing translation!