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

[Discover] Remove field popover stats for ES|QL mode #198948

Merged

Conversation

jughosta
Copy link
Contributor

@jughosta jughosta commented Nov 5, 2024

Summary

This PR removes the support of showing stats in the field popover in ES|QL mode as this UX will be revisited in the future to provide better results.

Checklist

@jughosta jughosta added release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Project:OneDiscover Enrich Discover with contextual awareness labels Nov 5, 2024
@jughosta jughosta self-assigned this Nov 5, 2024
@jughosta jughosta added the Feature:UnifiedFieldList The unified field list component used by Lens & Discover label Nov 5, 2024
@jughosta jughosta marked this pull request as ready for review November 5, 2024 18:36
@jughosta jughosta requested a review from a team as a code owner November 5, 2024 18:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal kertal added the Feature:ES|QL ES|QL related features in Kibana label Nov 6, 2024
Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Poof 💨 ES|QL field stats are now gone!

@jughosta jughosta enabled auto-merge (squash) November 8, 2024 09:21
@jughosta jughosta merged commit e883ac5 into elastic:main Nov 8, 2024
22 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11740942231

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #31 / @ess @serverless SecuritySolution Explore Overview Overview Network With packetbeat Make sure that we get OverviewNetwork data

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
aiops 639 624 -15
apm 1886 1871 -15
cloudSecurityPosture 663 648 -15
discover 973 970 -3
esqlDataGrid 371 356 -15
eventAnnotationListing 586 571 -15
lens 1472 1469 -3
logsExplorer 571 568 -3
logsShared 703 688 -15
ml 2016 2013 -3
observability 1070 1055 -15
securitySolution 6134 6131 -3
slo 856 841 -15
transform 507 487 -20
total -155

Async chunks

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

id before after diff
aiops 590.1KB 585.4KB -4.7KB
apm 3.4MB 3.4MB -4.7KB
discover 810.0KB 805.3KB -4.7KB
lens 1.5MB 1.5MB -7.6KB
ml 4.5MB 4.5MB -5.0KB
securitySolution 13.4MB 13.4MB -4.4KB
slo 856.4KB 851.8KB -4.6KB
transform 478.0KB 473.0KB -5.0KB
total -40.6KB

Page load bundle

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

id before after diff
aiops 8.4KB 8.3KB -54.0B
apm 38.0KB 37.9KB -54.0B
ml 75.4KB 75.4KB -55.0B
slo 24.8KB 24.7KB -54.0B
transform 18.5KB 18.5KB -54.0B
total -271.0B

History

cc @jughosta

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 198948

Questions ?

Please refer to the Backport tool documentation

CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Nov 8, 2024
- Related to elastic#197538

## Summary

This PR removes the support of showing stats in the field popover in
ES|QL mode as this UX will be revisited in the future to provide better
results.


### 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

---------

Co-authored-by: kibanamachine <[email protected]>
@jughosta
Copy link
Contributor Author

jughosta commented Nov 8, 2024

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

jughosta added a commit to jughosta/kibana that referenced this pull request Nov 8, 2024
- Related to elastic#197538

## Summary

This PR removes the support of showing stats in the field popover in
ES|QL mode as this UX will be revisited in the future to provide better
results.

### 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

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit e883ac5)

# Conflicts:
#	test/functional/apps/discover/group6/_sidebar_field_stats.ts
@jughosta jughosta deleted the 198896-remove-esql-stats-from-field-popover branch November 8, 2024 13:27
jughosta added a commit that referenced this pull request Nov 8, 2024
…199472)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Discover] Remove field popover stats for ES|QL mode
(#198948)](#198948)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-08T11:04:47Z","message":"[Discover]
Remove field popover stats for ES|QL mode (#198948)\n\n- Related to
https://github.com/elastic/kibana/pull/197538\r\n\r\n##
Summary\r\n\r\nThis PR removes the support of showing stats in the field
popover in\r\nES|QL mode as this UX will be revisited in the future to
provide better\r\nresults.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"e883ac5470352196252e300454e72b6d53696bda","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor","Feature:UnifiedFieldList","Feature:ES|QL","Project:OneDiscover"],"number":198948,"url":"https://github.com/elastic/kibana/pull/198948","mergeCommit":{"message":"[Discover]
Remove field popover stats for ES|QL mode (#198948)\n\n- Related to
https://github.com/elastic/kibana/pull/197538\r\n\r\n##
Summary\r\n\r\nThis PR removes the support of showing stats in the field
popover in\r\nES|QL mode as this UX will be revisited in the future to
provide better\r\nresults.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"e883ac5470352196252e300454e72b6d53696bda"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198948","number":198948,"mergeCommit":{"message":"[Discover]
Remove field popover stats for ES|QL mode (#198948)\n\n- Related to
https://github.com/elastic/kibana/pull/197538\r\n\r\n##
Summary\r\n\r\nThis PR removes the support of showing stats in the field
popover in\r\nES|QL mode as this UX will be revisited in the future to
provide better\r\nresults.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"e883ac5470352196252e300454e72b6d53696bda"}}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana Feature:UnifiedFieldList The unified field list component used by Lens & Discover Project:OneDiscover Enrich Discover with contextual awareness release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants