Skip to content

[8.x] [Dashboard] Cleanup services (#193644)#194210

Merged
Heenawter merged 1 commit intoelastic:8.xfrom
Heenawter:backport/8.x/pr-193644
Sep 26, 2024
Merged

[8.x] [Dashboard] Cleanup services (#193644)#194210
Heenawter merged 1 commit intoelastic:8.xfrom
Heenawter:backport/8.x/pr-193644

Conversation

@Heenawter
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

Closes elastic#167437

## Summary

This PR refactors the Dashboard services to no longer use the
`PluginServiceProvider` from the `PresentationUtil` plugin.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ce08d4e)

# Conflicts:
#	src/plugins/dashboard/public/services/saved_objects_tagging/saved_objects_tagging.stub.ts
#	src/plugins/dashboard/public/services/saved_objects_tagging/saved_objects_tagging_service.ts
#	src/plugins/dashboard/public/services/saved_objects_tagging/types.ts
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. labels Sep 26, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@Heenawter Heenawter added the backport This PR is a backport of another PR label Sep 26, 2024
@Heenawter Heenawter enabled auto-merge (squash) September 26, 2024 18:42
@Heenawter Heenawter mentioned this pull request Sep 26, 2024
2 tasks
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
dashboard 562 530 -32

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
dashboard 123 126 +3

Async chunks

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

id before after diff
dashboard 490.5KB 473.7KB -16.9KB

Page load bundle

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

id before after diff
dashboard 26.9KB 27.7KB +870.0B
Unknown metric groups

API count

id before after diff
dashboard 128 131 +3

async chunk count

id before after diff
dashboard 15 16 +1

References to deprecated APIs

id before after diff
dashboard 40 36 -4

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

Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

LGTM

@Heenawter Heenawter merged commit fea2be2 into elastic:8.x Sep 26, 2024
@Heenawter Heenawter deleted the backport/8.x/pr-193644 branch September 26, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants