-
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
[Serverless][DataUsage] UX updates from demo feedback #201638
[Serverless][DataUsage] UX updates from demo feedback #201638
Conversation
46f4aed
to
a4e3496
Compare
…:ashokaditya/kibana into task/data-usage-UX-updates-demo-feedback
The screenshot looks confusing to me. It says to try searching with data streams but the user does have data streams selected? 3 in this case. |
That's just on my local dev where I'm in a state with metrics API failed with 500 error cause I don't have correct certs/keys, which would not happen in prod. The screenshots are to show the filter alignment and responsiveness. Although, I do think that in such a state we should show some other callout instead (and not a toast as it disappears) as at the moment we show the no data callout when no metrics data which also satisfies the above case. We can do that in a new PR. |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
cc @ashokaditya |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12066665990 |
## Summary Follow up of elastic#200911 - [x] Treat date picker values as UTC date/time - [ ] Tooltip for date picker - [x] Align filters (right aligned for all screens and responsive) - [x] Disable `refresh` button if no `metricTypes` or `dataStreams` or invalid date range - [x] Validate selected date/time range before sending requests ![Screenshot 2024-11-25 at 17 25 43](https://github.com/user-attachments/assets/bc61ad73-2c85-4b40-9156-c5ccc87e0d7e) ![Screenshot 2024-11-25 at 17 27 53](https://github.com/user-attachments/assets/3aef26d1-6df2-4315-a939-0807c9da18c7) ![Screenshot 2024-11-26 at 15 45 56](https://github.com/user-attachments/assets/f7e1da72-4559-42e0-bee2-2e53709fd812) ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [ ] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) - [ ] ... (cherry picked from commit d0d33aa)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#202123) # Backport This will backport the following commits from `main` to `8.x`: - [[Serverless][DataUsage] UX updates from demo feedback (#201638)](#201638) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ash","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-28T10:04:29Z","message":"[Serverless][DataUsage] UX updates from demo feedback (#201638)\n\n## Summary\n\nFollow up of https://github.com/elastic/kibana/pull/200911\n\n- [x] Treat date picker values as UTC date/time\n- [ ] Tooltip for date picker\n- [x] Align filters (right aligned for all screens and responsive)\n- [x] Disable `refresh` button if no `metricTypes` or `dataStreams` or\ninvalid date range\n- [x] Validate selected date/time range before sending requests\n\n![Screenshot 2024-11-25 at 17 25\n43](https://github.com/user-attachments/assets/bc61ad73-2c85-4b40-9156-c5ccc87e0d7e)\n![Screenshot 2024-11-25 at 17 27\n53](https://github.com/user-attachments/assets/3aef26d1-6df2-4315-a939-0807c9da18c7)\n![Screenshot 2024-11-26 at 15 45\n56](https://github.com/user-attachments/assets/f7e1da72-4559-42e0-bee2-2e53709fd812)\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See some risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n- [ ] ...","sha":"d0d33aab38009fe19cb18bacd3bf1943b5a8043f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:build-serverless-image","backport:version","v8.18.0"],"title":"[Serverless][DataUsage] UX updates from demo feedback","number":201638,"url":"https://github.com/elastic/kibana/pull/201638","mergeCommit":{"message":"[Serverless][DataUsage] UX updates from demo feedback (#201638)\n\n## Summary\n\nFollow up of https://github.com/elastic/kibana/pull/200911\n\n- [x] Treat date picker values as UTC date/time\n- [ ] Tooltip for date picker\n- [x] Align filters (right aligned for all screens and responsive)\n- [x] Disable `refresh` button if no `metricTypes` or `dataStreams` or\ninvalid date range\n- [x] Validate selected date/time range before sending requests\n\n![Screenshot 2024-11-25 at 17 25\n43](https://github.com/user-attachments/assets/bc61ad73-2c85-4b40-9156-c5ccc87e0d7e)\n![Screenshot 2024-11-25 at 17 27\n53](https://github.com/user-attachments/assets/3aef26d1-6df2-4315-a939-0807c9da18c7)\n![Screenshot 2024-11-26 at 15 45\n56](https://github.com/user-attachments/assets/f7e1da72-4559-42e0-bee2-2e53709fd812)\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See some risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n- [ ] ...","sha":"d0d33aab38009fe19cb18bacd3bf1943b5a8043f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201638","number":201638,"mergeCommit":{"message":"[Serverless][DataUsage] UX updates from demo feedback (#201638)\n\n## Summary\n\nFollow up of https://github.com/elastic/kibana/pull/200911\n\n- [x] Treat date picker values as UTC date/time\n- [ ] Tooltip for date picker\n- [x] Align filters (right aligned for all screens and responsive)\n- [x] Disable `refresh` button if no `metricTypes` or `dataStreams` or\ninvalid date range\n- [x] Validate selected date/time range before sending requests\n\n![Screenshot 2024-11-25 at 17 25\n43](https://github.com/user-attachments/assets/bc61ad73-2c85-4b40-9156-c5ccc87e0d7e)\n![Screenshot 2024-11-25 at 17 27\n53](https://github.com/user-attachments/assets/3aef26d1-6df2-4315-a939-0807c9da18c7)\n![Screenshot 2024-11-26 at 15 45\n56](https://github.com/user-attachments/assets/f7e1da72-4559-42e0-bee2-2e53709fd812)\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See some risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n- [ ] ...","sha":"d0d33aab38009fe19cb18bacd3bf1943b5a8043f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
## Summary Follow up of elastic#200911 - [x] Treat date picker values as UTC date/time - [ ] Tooltip for date picker - [x] Align filters (right aligned for all screens and responsive) - [x] Disable `refresh` button if no `metricTypes` or `dataStreams` or invalid date range - [x] Validate selected date/time range before sending requests ![Screenshot 2024-11-25 at 17 25 43](https://github.com/user-attachments/assets/bc61ad73-2c85-4b40-9156-c5ccc87e0d7e) ![Screenshot 2024-11-25 at 17 27 53](https://github.com/user-attachments/assets/3aef26d1-6df2-4315-a939-0807c9da18c7) ![Screenshot 2024-11-26 at 15 45 56](https://github.com/user-attachments/assets/f7e1da72-4559-42e0-bee2-2e53709fd812) ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [ ] [See some risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) - [ ] ...
Summary
Follow up of #200911
refresh
button if nometricTypes
ordataStreams
or invalid date rangeChecklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breaking
label should be applied in these situations.release_note:*
label is applied per the guidelinesIdentify risks
Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.