-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [dashboard] Migrate Dashboard internal components to DashboardA…
…pi (#193220) (#193739) # Backport This will backport the following commits from `main` to `8.x`: - [[dashboard] Migrate Dashboard internal components to DashboardApi (#193220)](#193220) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-23T15:21:37Z","message":"[dashboard] Migrate Dashboard internal components to DashboardApi (#193220)\n\nPR replaces `useDashboardContainer` with `useDashboardApi`.\r\n`useDashboardApi` returns `DashboardApi` instead of\r\n`DashboardContainer`.\r\n\r\nAfter this PR, all react context's in dashboard return `DashboardApi`\r\nand thus all components are now prepared for the migration from\r\nDashboardContainer to DashboardApi.\r\n\r\n---------\r\n\r\nCo-authored-by: Hannah Mudge <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"92da1767f3bab00f5b7abca16daec06e2314302b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","v9.0.0","project:embeddableRebuild","v8.16.0","backport:version"],"title":"[dashboard] Migrate Dashboard internal components to DashboardApi","number":193220,"url":"https://github.com/elastic/kibana/pull/193220","mergeCommit":{"message":"[dashboard] Migrate Dashboard internal components to DashboardApi (#193220)\n\nPR replaces `useDashboardContainer` with `useDashboardApi`.\r\n`useDashboardApi` returns `DashboardApi` instead of\r\n`DashboardContainer`.\r\n\r\nAfter this PR, all react context's in dashboard return `DashboardApi`\r\nand thus all components are now prepared for the migration from\r\nDashboardContainer to DashboardApi.\r\n\r\n---------\r\n\r\nCo-authored-by: Hannah Mudge <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"92da1767f3bab00f5b7abca16daec06e2314302b"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193220","number":193220,"mergeCommit":{"message":"[dashboard] Migrate Dashboard internal components to DashboardApi (#193220)\n\nPR replaces `useDashboardContainer` with `useDashboardApi`.\r\n`useDashboardApi` returns `DashboardApi` instead of\r\n`DashboardContainer`.\r\n\r\nAfter this PR, all react context's in dashboard return `DashboardApi`\r\nand thus all components are now prepared for the migration from\r\nDashboardContainer to DashboardApi.\r\n\r\n---------\r\n\r\nCo-authored-by: Hannah Mudge <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"92da1767f3bab00f5b7abca16daec06e2314302b"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <[email protected]>
- Loading branch information
1 parent
3bfb142
commit ce14b1f
Showing
15 changed files
with
299 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.