-
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
[APM]Refactor ServiceTabEmptyState to use AddDataPanel #197578
[APM]Refactor ServiceTabEmptyState to use AddDataPanel #197578
Conversation
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
🤖 GitHub commentsExpand to view the GitHub comments
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.
LGTM, just a nit.
...k/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/index.tsx
Outdated
Show resolved
Hide resolved
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
…-use-add-data-panel-from-observability-shared
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 🚀 (just some non-blocking nits)
...lugins/observability_solution/apm/public/components/app/service_tab_empty_state/constants.ts
Outdated
Show resolved
Hide resolved
...lugins/observability_solution/apm/public/components/app/service_tab_empty_state/constants.ts
Outdated
Show resolved
Hide resolved
...lugins/observability_solution/apm/public/components/app/service_tab_empty_state/constants.ts
Outdated
Show resolved
Hide resolved
@@ -97,7 +97,7 @@ export function ServiceOverview() { | |||
<EuiFlexItem> | |||
<ServiceTabEmptyState | |||
id="serviceOverview" | |||
onDissmiss={() => setDismissedLogsOnlyEmptyState(true)} | |||
onDismiss={() => setDismissedLogsOnlyEmptyState(true)} |
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.
Thanks for fixing the typo!
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled in files
Total ESLint disabled count
History
cc @iblancof |
Starting backport for target branches: 8.16, 8.x https://github.com/elastic/kibana/actions/runs/11501550405 |
## Summary Closes elastic#195876 This PR refactors the ServiceTabEmptyState component to use the newly created generic AddDataPanel component, which was derived from it. The functionality remains the same. ### Tabs |Light|Dark| |-|-| |![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)| ### Actions ![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536) ### Dismiss ![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418) (cherry picked from commit 42de8c8)
## Summary Closes elastic#195876 This PR refactors the ServiceTabEmptyState component to use the newly created generic AddDataPanel component, which was derived from it. The functionality remains the same. ### Tabs |Light|Dark| |-|-| |![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)| ### Actions ![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536) ### Dismiss ![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418) (cherry picked from commit 42de8c8)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… (#197665) # Backport This will backport the following commits from `main` to `8.16`: - [[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)](#197578) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Irene Blanco","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-24T14:34:55Z","message":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195876\r\n\r\nThis PR refactors the ServiceTabEmptyState component to use the newly\r\ncreated generic AddDataPanel component, which was derived from it.\r\n\r\nThe functionality remains the same.\r\n\r\n### Tabs\r\n\r\n|Light|Dark|\r\n|-|-|\r\n\r\n|![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)|\r\n\r\n### Actions\r\n\r\n![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536)\r\n\r\n### Dismiss\r\n\r\n![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418)","sha":"42de8c858995b190f35858b2798f7ea4dfcb2439","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","apm","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0","v8.17.0"],"title":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel","number":197578,"url":"https://github.com/elastic/kibana/pull/197578","mergeCommit":{"message":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195876\r\n\r\nThis PR refactors the ServiceTabEmptyState component to use the newly\r\ncreated generic AddDataPanel component, which was derived from it.\r\n\r\nThe functionality remains the same.\r\n\r\n### Tabs\r\n\r\n|Light|Dark|\r\n|-|-|\r\n\r\n|![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)|\r\n\r\n### Actions\r\n\r\n![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536)\r\n\r\n### Dismiss\r\n\r\n![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418)","sha":"42de8c858995b190f35858b2798f7ea4dfcb2439"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197578","number":197578,"mergeCommit":{"message":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195876\r\n\r\nThis PR refactors the ServiceTabEmptyState component to use the newly\r\ncreated generic AddDataPanel component, which was derived from it.\r\n\r\nThe functionality remains the same.\r\n\r\n### Tabs\r\n\r\n|Light|Dark|\r\n|-|-|\r\n\r\n|![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)|\r\n\r\n### Actions\r\n\r\n![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536)\r\n\r\n### Dismiss\r\n\r\n![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418)","sha":"42de8c858995b190f35858b2798f7ea4dfcb2439"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Irene Blanco <[email protected]>
#197666) # Backport This will backport the following commits from `main` to `8.x`: - [[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)](#197578) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Irene Blanco","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-24T14:34:55Z","message":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195876\r\n\r\nThis PR refactors the ServiceTabEmptyState component to use the newly\r\ncreated generic AddDataPanel component, which was derived from it.\r\n\r\nThe functionality remains the same.\r\n\r\n### Tabs\r\n\r\n|Light|Dark|\r\n|-|-|\r\n\r\n|![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)|\r\n\r\n### Actions\r\n\r\n![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536)\r\n\r\n### Dismiss\r\n\r\n![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418)","sha":"42de8c858995b190f35858b2798f7ea4dfcb2439","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","apm","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0","v8.17.0"],"title":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel","number":197578,"url":"https://github.com/elastic/kibana/pull/197578","mergeCommit":{"message":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195876\r\n\r\nThis PR refactors the ServiceTabEmptyState component to use the newly\r\ncreated generic AddDataPanel component, which was derived from it.\r\n\r\nThe functionality remains the same.\r\n\r\n### Tabs\r\n\r\n|Light|Dark|\r\n|-|-|\r\n\r\n|![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)|\r\n\r\n### Actions\r\n\r\n![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536)\r\n\r\n### Dismiss\r\n\r\n![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418)","sha":"42de8c858995b190f35858b2798f7ea4dfcb2439"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197578","number":197578,"mergeCommit":{"message":"[APM]Refactor ServiceTabEmptyState to use AddDataPanel (#197578)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195876\r\n\r\nThis PR refactors the ServiceTabEmptyState component to use the newly\r\ncreated generic AddDataPanel component, which was derived from it.\r\n\r\nThe functionality remains the same.\r\n\r\n### Tabs\r\n\r\n|Light|Dark|\r\n|-|-|\r\n\r\n|![callout_light](https://github.com/user-attachments/assets/46c7d14b-c4f4-44e4-a753-099abec378e4)|![callout_dark](https://github.com/user-attachments/assets/298386bf-eb76-4b23-9952-df6576032f86)|\r\n\r\n### Actions\r\n\r\n![callout_actions](https://github.com/user-attachments/assets/08c4364c-c3cb-45af-b02e-5012cbf86536)\r\n\r\n### Dismiss\r\n\r\n![callout_dismissable](https://github.com/user-attachments/assets/a0276001-98a9-47b3-83c9-aaa0685c7418)","sha":"42de8c858995b190f35858b2798f7ea4dfcb2439"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Irene Blanco <[email protected]>
Summary
Closes #195876
This PR refactors the ServiceTabEmptyState component to use the newly created generic AddDataPanel component, which was derived from it.
The functionality remains the same.
Tabs
Actions
Dismiss