-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Migrate observability to new Kibana page template #133021
Migrate observability to new Kibana page template #133021
Conversation
…bility/page_template_migration
x-pack/plugins/apm/public/components/routing/templates/no_data_config.ts
Outdated
Show resolved
Hide resolved
Pinging @elastic/apm-ui (Team:apm) |
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.
@alisonelizabeth There is one more page that is not listed in your screenshots and this is the Observability > Alerts
page. The before and after empty state views are different. Is this change intended or was Alerts page missed somehow?
Before
If the change was intended, please re-request a review and I will approve the PR
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.
infra
plugin changes look mostly good to me, I just left one question below.
@@ -72,7 +72,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { | |||
ensureCurrentUrl: true, | |||
shouldLoginIfPrompted: false, | |||
}); | |||
await testSubjects.existOrFail('~noDataPage'); | |||
await testSubjects.existOrFail('kbnNoDataPage'); |
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.
With this change we'd be testing for a test subject that is an implementation detail of the black box (from the infra
perspective) KibanaPageTemplate
. If the noDataPage
test subject defined by the specific page template is still there, would it make sense to keep using it?
(This applies to the other similar changes to the infra
tests as well.)
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.
Good point! Fixed. @weltenwort Can you take another look?
@mgiota The "after" screenshot is consistent with the new "No Data" page, which means the "before" was using a bespoke layout that should no longer appear. So it should be correct! |
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.
Cool! I wanted to be sure that Alerts page is consistent with the new change. It would be nice, if you updated your description with a screenshot from Alerts page as well.
…bility/page_template_migration
Thanks @clintandrewhall for your help! To all reviewers - the PR should be updated now with descriptions for the empty prompt. Screenshots in the PR description have also been updated. |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
async chunk count
miscellaneous assets size
References to deprecated APIs
History
To update your PR or re-run it, just comment with: |
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.
infra
plugin changes LGTM, thank you!
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.
Uptime changes LGTM !!
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.
APM changes lgtm
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.
Unified Observability changes LGTM!
@clintandrewhall would you mind taking a final look at the |
@alisonelizabeth Is the screenshot for |
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.
Great work!
Summary
In #129323, the
KibanaPageTemplate
component was migrated to theshared_ux
plugin, and the component inkibana_react
was deprecated. This PR migrates Observability apps to the new component.This work was completed in order to simplify work for the guided onboarding project, in which a product tour will be added within Observability. Related to: #132699, #133159.
How to review
The only noticeable visual changes should be to the empty state view, as a custom description is no longer supported.This issue was resolved via #133594.I have tested these changes to the best of my ability. However, since I am not as familiar with the Observability apps, please make sure each app is verified with the different states.
Screenshots
/overview
/alerts
/logs
/metrics
/apm
/uptime
/ux