-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Infrastructure UI] Fix Hosts View date picker for some preset values #152339
[Infrastructure UI] Fix Hosts View date picker for some preset values #152339
Conversation
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
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.
LGTM!
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
…elastic#152339) ## 📓 Summary Closes elastic#151150 The issue was caused by a missing rounding up when the same string represented dates. ## 🧪 Testing - Navigates to Hosts View page. - Set date-picker to `Today`. - Verify data are correctly fetched. Repeat the same setting the picker to `This week` https://user-images.githubusercontent.com/34506779/221857418-dbc53fe6-6eca-4645-93cd-b939231e76b0.mov Co-authored-by: Marco Antonio Ghiani <[email protected]> (cherry picked from commit 671a9d8)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…values (#152339) (#152713) # Backport This will backport the following commits from `main` to `8.7`: - [[Infrastructure UI] Fix Hosts View date picker for some preset values (#152339)](#152339) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marco Antonio Ghiani","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-03-06T14:02:28Z","message":"[Infrastructure UI] Fix Hosts View date picker for some preset values (#152339)\n\n## 📓 Summary\r\n\r\nCloses #151150 \r\n\r\nThe issue was caused by a missing rounding up when the same string\r\nrepresented dates.\r\n\r\n## 🧪 Testing\r\n\r\n- Navigates to Hosts View page.\r\n- Set date-picker to `Today`.\r\n- Verify data are correctly fetched.\r\nRepeat the same setting the picker to `This week`\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/221857418-dbc53fe6-6eca-4645-93cd-b939231e76b0.mov\r\n\r\nCo-authored-by: Marco Antonio Ghiani <[email protected]>","sha":"671a9d8a74964fbf2f728103af433e7c45d9b1d8","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Infra Monitoring UI","release_note:skip","backport:prev-minor","v8.8.0"],"number":152339,"url":"https://github.com/elastic/kibana/pull/152339","mergeCommit":{"message":"[Infrastructure UI] Fix Hosts View date picker for some preset values (#152339)\n\n## 📓 Summary\r\n\r\nCloses #151150 \r\n\r\nThe issue was caused by a missing rounding up when the same string\r\nrepresented dates.\r\n\r\n## 🧪 Testing\r\n\r\n- Navigates to Hosts View page.\r\n- Set date-picker to `Today`.\r\n- Verify data are correctly fetched.\r\nRepeat the same setting the picker to `This week`\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/221857418-dbc53fe6-6eca-4645-93cd-b939231e76b0.mov\r\n\r\nCo-authored-by: Marco Antonio Ghiani <[email protected]>","sha":"671a9d8a74964fbf2f728103af433e7c45d9b1d8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152339","number":152339,"mergeCommit":{"message":"[Infrastructure UI] Fix Hosts View date picker for some preset values (#152339)\n\n## 📓 Summary\r\n\r\nCloses #151150 \r\n\r\nThe issue was caused by a missing rounding up when the same string\r\nrepresented dates.\r\n\r\n## 🧪 Testing\r\n\r\n- Navigates to Hosts View page.\r\n- Set date-picker to `Today`.\r\n- Verify data are correctly fetched.\r\nRepeat the same setting the picker to `This week`\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/221857418-dbc53fe6-6eca-4645-93cd-b939231e76b0.mov\r\n\r\nCo-authored-by: Marco Antonio Ghiani <[email protected]>","sha":"671a9d8a74964fbf2f728103af433e7c45d9b1d8"}}]}] BACKPORT--> Co-authored-by: Marco Antonio Ghiani <[email protected]>
…elastic#152339) ## 📓 Summary Closes elastic#151150 The issue was caused by a missing rounding up when the same string represented dates. ## 🧪 Testing - Navigates to Hosts View page. - Set date-picker to `Today`. - Verify data are correctly fetched. Repeat the same setting the picker to `This week` https://user-images.githubusercontent.com/34506779/221857418-dbc53fe6-6eca-4645-93cd-b939231e76b0.mov Co-authored-by: Marco Antonio Ghiani <[email protected]>
📓 Summary
Closes #151150
The issue was caused by a missing rounding up when the same string represented dates.
🧪 Testing
Today
.Repeat the same setting the picker to
This week
after-fix.mov