-
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] Update Canvas nav links for new platform #61353
Conversation
export type AppUpdater = (app: AppBase) => Partial<AppUpdatableFields> | undefined; | ||
export type AppUpdater = ( | ||
app: AppBase | ||
) => Partial<AppUpdatableFields & { activeUrl: string }> | 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.
Had to add this to make sure the type was correct when using it with the KibanaUrlTracker
import { HomePublicPluginSetup } from '../../../../../src/plugins/home/public'; | ||
import { initLoadingIndicator } from './lib/loading_indicator'; | ||
// @ts-ignore untyped local | ||
import { historyProvider } from './lib/history_provider'; |
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 need to remove this
@@ -187,6 +187,18 @@ export const legacyAppRegister = (app: App<any>) => { | |||
), | |||
onAppLeave: () => undefined, | |||
}; | |||
|
|||
if (app.updater$) { |
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 noticed that nothing was being done with the app.updater$ here in the legacyAppRegister
function so I added this block. It's the same thing that's happening here: https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/public/local_application_service/local_application_service.ts/#L89
…t history changes
💔 Build Failed
Failed CI Steps
Test FailuresKibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/discover/_errors·js.discover app errors invalid scripted field error is renderedStandard Out
Stack Trace
Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/elasticsearch/nodes·js.Monitoring app Elasticsearch nodes listing with offline node should have an Elasticsearch Cluster Summary Status with correct infoStandard Out
Stack Trace
Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/monitoring/elasticsearch/nodes·js.apis Monitoring Elasticsearch nodes with green platinum cluster should return data for 2 active nodesStandard Out
Stack Trace
and 1 more failures, only showing the first 3. History
To update your PR or re-run it, just comment with: |
Resolved in #65590 |
Summary
Summarize your PR. If it involves visual changes include a screenshot or gif.
Checklist
Delete any items that are not applicable to this PR.
For maintainers