-
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
[Canvas] Finish moving UI to Kibana Platform #64831
Conversation
Pinging @elastic/kibana-canvas (Team:Canvas) |
@joshdover In case you want to play around and try and see how you can break this |
You can also use SIEM, Metrics, Logs, ML |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
This seems to have the same problem that Monitoring had here: #62908 (comment) Basically you need to make sure that clicking the "Canvas" icon in the main nav always navigates back to the root of your application. |
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 one question about the nav link route changing stuff
@@ -46,6 +45,6 @@ const mergeProps = (stateProps, dispatchProps, ownProps) => { | |||
export const App = compose( | |||
connect(mapStateToProps, mapDispatchToProps, mergeProps), | |||
withProps(() => ({ | |||
onRouteChange: trackRouteChange, | |||
onRouteChange: () => undefined, |
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.
Can this just be removed? Are we tracking nav links still?
@elasticmachine merge upstream |
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 👍
* Finish Canvas platform migration * Revert inadvertent change * Import Canvas .scss directly Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Finish Canvas platform migration * Revert inadvertent change * Import Canvas .scss directly Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
💔 Build Failed
Failed CI Steps
Test FailuresKibana Pipeline / kibana-intake-agent / Jest Integration Tests.packages/kbn-es/src/integration_tests.#start(installPath) resolves when bin/elasticsearch logs "started"Standard Out
Stack Trace
Kibana Pipeline / kibana-intake-agent / Jest Integration Tests.src/core/server/http/integration_tests.http service elasticsearch passes request authorization header to Elasticsearch if registerAuth was not setStandard Out
Stack Trace
History
To update your PR or re-run it, just comment with: |
This finishes moving the UI of Canvas to Kibana Platform 🎉
Key changes here that differ from running on legacy are cleaning up the store and the router and the history object when our app is "finished".
Also a couple of imports where we had to pull in specific dist versions as something with the module the new optimizer was not liking.
There are a handful of other things running on the platform right now, I'm just not sure which ones they are. You can run Kibana with the option
yarn start --plugin-path test/plugin_functional/plugins/core_plugin_a
and it will add aFoo
plugin so you can see switching back and forth between apps.Dev Docs
The Canvas application has moved to run on the new Kibana Platform.
Any existing user created plugins that were extending Canvas functionality will also need to move to run on the Kibana Platform to continue extending Canvas.