Skip to content
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

[EuiProvider] Use KibanaRenderContextProvider in Console A11y Overlay #184488

Merged
merged 2 commits into from
May 31, 2024

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented May 30, 2024

Summary

Part of https://github.com/elastic/kibana-team/issues/805

Addresses functional test failure found in #180819

Checklist

Delete any items that are not applicable to this PR.

@tsullivan tsullivan requested a review from a team as a code owner May 30, 2024 04:30
@tsullivan tsullivan added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label May 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@tsullivan tsullivan added the release_note:skip Skip the PR/issue when compiling release notes label May 30, 2024
@tsullivan tsullivan self-assigned this May 30, 2024
@@ -184,7 +184,7 @@ export class MonacoEditorActionsProvider {
public async sendRequests(dispatch: Dispatch<Actions>, context: ContextValue): Promise<void> {
const {
services: { notifications, trackUiMetric, http, settings, history, autocompleteInfo },
startServices,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the changes in this PR shuffle around the structure of services provided by useServicesContext, and makes the top-level directly include analytics, i18n, and theme rather than namespacing them under startServices. This will be consistent with most of the other changes I've made as part of #180819

// The point of this element is for accessibility purposes, so ignore eslint error
// in this case
//
<>
<KibanaRenderContextProvider {...startServices}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the change that directly addresses #180819

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
esUiShared 227 238 +11

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
console 455.0KB 454.9KB -99.0B
searchprofiler 161.0KB 161.1KB +34.0B
total -65.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
console 32.9KB 32.9KB -11.0B
esUiShared 156.0KB 158.0KB +2.0KB
total +2.0KB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @tsullivan

Copy link
Contributor

@yuliacech yuliacech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for working on this fix, @tsullivan!
Verified locally that the a11y overlay still works the same in Console, migrated Console and Search profiler.

@tsullivan tsullivan merged commit c0d4fc7 into elastic:main May 31, 2024
23 checks passed
@tsullivan tsullivan deleted the euiprovider/console-overlay branch May 31, 2024 17:43
@kibanamachine kibanamachine added v8.15.0 backport:skip This commit does not require backporting labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants