-
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
[Alerting UI] Replace some of ui plugin dependencies with KibanaContextProvider #65146
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Duplicate issue with more information #78911 (closed as duplicate). |
NOTE: It could be worth investigating some start plugin APIs that return flyouts for other plugins to use (ex: |
Cases would love to have this functionality for 7.11. I am creating the Alerts UI for the case connector and I need to use this component. The component uses the notification service. It gets it as Cases would need the Thanks! |
Currently we have a bunch of plugin dependencies included to AppContextProvider. It could be replaced with KibanaContextProvider:
import { useKibana } from '../../../../../../../src/plugins/kibana_react/public';
Also some of this dependencies could be removed from ActionsContextProvider and AlertsContextProvider, because all of plugins which embedding Alerts and Actions UI also use KibanaContextProvider.
The text was updated successfully, but these errors were encountered: