-
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
[Stack Monitoring] Remove angular dep from legacy shims #109132
Conversation
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-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 when the ci is green.
We still need to do some work on the react components that use the getAngularInjector
, right?
@@ -37,10 +37,12 @@ export interface KFetchKibanaOptions { | |||
prependBasePath?: boolean; | |||
} | |||
|
|||
const angularNoop = () => { throw new Error('Angular has been removed.') } |
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.
I guess that we would need to remove this when we remove Angular. Could we add a comment like TODO: remove when angular is removed
to not forget it?
…e-angular-from-shims
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
2 similar comments
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
* Remove angular dep from legacy shims * Fix ES lint
…10958) * Remove angular dep from legacy shims * Fix ES lint Co-authored-by: Phillip Burch <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Summary
Move legacy init to a place that doesn't depend on Angular and convert injector lookup to a noop for now until we untangle more angular stuff.