Skip to content

[Discover] Fix filter in / filter out buttons for empty values - #135919

Merged
jughosta merged 4 commits into
elastic:mainfrom
jughosta:filter-out-empty-fields
Jul 8, 2022
Merged

jughosta merged 4 commits into
elastic:mainfrom
jughosta:filter-out-empty-fields

Conversation

@jughosta

@jughosta jughosta commented Jul 7, 2022 •

Copy link
Copy Markdown
Contributor

Closes #135912

Summary

This PR fixes issues with how Filter In / Filter Out buttons are handled for empty values in cells.

  • In the new grid
  • In the legacy table

Jul-07-2022 17-25-39
Jul-07-2022 17-56-52

Checklist

@jughosta jughosta added Feature:Discover Discover Application release_note:fix Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// backport:prev-minor labels Jul 7, 2022
@jughosta jughosta self-assigned this Jul 7, 2022
@jughosta
jughosta marked this pull request as ready for review July 7, 2022 16:08
@jughosta
jughosta requested a review from a team as a code owner July 7, 2022 16:08
@elasticmachine

Copy link
Copy Markdown
Contributor

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

@kibana-ci

Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #6 / Kibana Tags Page Accessibility tag assignment panel meets a11y requirements

Metrics [docs]

Async chunks

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

id before after diff
discover 492.1KB 492.1KB -12.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
discover 34 36 +2

Total ESLint disabled count

id before after diff
discover 36 38 +2

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

cc @jughosta

@davismcphee davismcphee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pulled and tested locally, LGTM!

@jughosta
jughosta merged commit cead7b4 into elastic:main Jul 8, 2022
@jughosta
jughosta deleted the filter-out-empty-fields branch July 8, 2022 07:02
@kibanamachine

Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
❌ 8.3 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 135919

Questions ?

Please refer to the Backport tool documentation

jughosta added a commit to jughosta/kibana that referenced this pull request Jul 8, 2022
…ic#135919)

* [Discover] Fix filter in / filter out buttons for empty values in the new grid

* [Discover] Fix filter in / filter out buttons in the legacy table

* [Discover] Simplify the code

* [Discover] Add a test for legacy table

(cherry picked from commit cead7b4)

# Conflicts:
#	src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx
#	src/plugins/discover/public/components/doc_table/components/table_row.tsx
jughosta added a commit that referenced this pull request Jul 8, 2022
…135919) (#135978)

* [Discover] Fix filter in / filter out buttons for empty values  (#135919)

* [Discover] Fix filter in / filter out buttons for empty values in the new grid

* [Discover] Fix filter in / filter out buttons in the legacy table

* [Discover] Simplify the code

* [Discover] Add a test for legacy table

(cherry picked from commit cead7b4)

# Conflicts:
#	src/plugins/discover/public/components/discover_grid/discover_grid_cell_actions.tsx
#	src/plugins/discover/public/components/doc_table/components/table_row.tsx

* [Discover] Fix after the merge
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
…ic#135919)

* [Discover] Fix filter in / filter out buttons for empty values in the new grid

* [Discover] Fix filter in / filter out buttons in the legacy table

* [Discover] Simplify the code

* [Discover] Add a test for legacy table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Discover Discover Application regression release_note:fix Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// v8.3.3 v8.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Discover] Filter in / filter out buttons are not working correctly for empty values

5 participants