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

[7.x] Deprecate DataView.flattenHit in favor of data plugin flattenHit (#114517) #114991

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Oct 14, 2021

Backports the following commits to 7.x:

…stic#114517)

* WIP replacing indexPattern.flattenHit by tabify

* Fix jest tests

* Read metaFields from index pattern

* Remove old test code

* remove unnecessary changes

* Remove flattenHitWrapper APIs

* Fix imports

* Fix missing metaFields

* Add all meta fields to allowlist

* Improve inline comments

* Move flattenHit test to new implementation

* Add deprecation comment to implementation

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	src/plugins/data_views/public/index.ts
@timroes timroes enabled auto-merge (squash) October 14, 2021 12:57
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

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
data 2820 2816 -4

Async chunks

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

id before after diff
discover 328.8KB 328.9KB +76.0B

Page load bundle

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

id before after diff
data 465.2KB 465.6KB +444.0B
dataViews 40.6KB 40.5KB -86.0B
total +358.0B
Unknown metric groups

References to deprecated APIs

id before after diff
dataViews 233 241 +8
discover 1790 1770 -20
maps 1659 1667 +8
total -4

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

@timroes timroes merged commit df8c41a into elastic:7.x Oct 14, 2021
@timroes timroes deleted the backport/7.x/pr-114517 branch October 14, 2021 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants