Skip to content

[Lens] Keep the datatable filters always visible #245252

Merged
andrimal merged 6 commits intoelastic:mainfrom
andrimal:fix/datatable/234410
Dec 10, 2025
Merged

[Lens] Keep the datatable filters always visible #245252
andrimal merged 6 commits intoelastic:mainfrom
andrimal:fix/datatable/234410

Conversation

@andrimal
Copy link
Contributor

@andrimal andrimal commented Dec 4, 2025

Summary

Fix #234410

Datatable filters are now always visible, regardless of the dashboard view mode.

Screenshots

filterVisibility.mp4

Checklist

Check the PR satisfies following conditions.

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

@andrimal andrimal added Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// release_note:skip Skip the PR/issue when compiling release notes Feature:Lens backport:version Backport to applied version labels v9.3.0 v9.2.3 v9.1.9 v8.19.9 labels Dec 4, 2025
@andrimal andrimal marked this pull request as ready for review December 5, 2025 08:57
@andrimal andrimal requested a review from a team as a code owner December 5, 2025 08:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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
lens 1.6MB 1.6MB -69.0B

History

@andrimal andrimal merged commit d0a5d50 into elastic:main Dec 10, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2

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

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 245252

Questions ?

Please refer to the Backport tool documentation

@andrimal
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.2
9.1
8.19

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

Questions ?

Please refer to the Backport tool documentation

andrimal added a commit to andrimal/kibana that referenced this pull request Dec 10, 2025
## Summary

Fix elastic#234410

Datatable filters are now always visible, regardless of the dashboard
view mode.

### Screenshots

https://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337

### Checklist

Check the PR satisfies following conditions.

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit d0a5d50)

# Conflicts:
#	x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/types.ts
andrimal added a commit to andrimal/kibana that referenced this pull request Dec 10, 2025
## Summary

Fix elastic#234410

Datatable filters are now always visible, regardless of the dashboard
view mode.

### Screenshots

https://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337

### Checklist

Check the PR satisfies following conditions.

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit d0a5d50)

# Conflicts:
#	x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/types.ts
andrimal added a commit to andrimal/kibana that referenced this pull request Dec 10, 2025
## Summary

Fix elastic#234410

Datatable filters are now always visible, regardless of the dashboard
view mode.

### Screenshots

https://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337

### Checklist

Check the PR satisfies following conditions.

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

(cherry picked from commit d0a5d50)

# Conflicts:
#	x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/types.ts
andrimal added a commit that referenced this pull request Dec 11, 2025
…45880)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Lens] Keep the datatable filters always visible
(#245252)](#245252)

<!--- Backport version: 10.2.0 -->

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

<!--BACKPORT [{"author":{"name":"Andreana
Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-12-10T13:46:39Z","message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:version","v9.3.0","v9.2.3","v9.1.9","v8.19.9"],"title":"[Lens]
Keep the datatable filters always visible
","number":245252,"url":"https://github.com/elastic/kibana/pull/245252","mergeCommit":{"message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/245252","number":245252,"mergeCommit":{"message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7"}},{"branch":"9.2","label":"v9.2.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
andrimal added a commit that referenced this pull request Dec 11, 2025
…5878)

# Backport

This will backport the following commits from `main` to `9.2`:
- [[Lens] Keep the datatable filters always visible
(#245252)](#245252)

<!--- Backport version: 10.2.0 -->

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

<!--BACKPORT [{"author":{"name":"Andreana
Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-12-10T13:46:39Z","message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:version","v9.3.0","v9.2.3","v9.1.9","v8.19.9"],"title":"[Lens]
Keep the datatable filters always visible
","number":245252,"url":"https://github.com/elastic/kibana/pull/245252","mergeCommit":{"message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/245252","number":245252,"mergeCommit":{"message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7"}},{"branch":"9.2","label":"v9.2.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
andrimal added a commit that referenced this pull request Dec 11, 2025
…5879)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Lens] Keep the datatable filters always visible
(#245252)](#245252)

<!--- Backport version: 10.2.0 -->

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

<!--BACKPORT [{"author":{"name":"Andreana
Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-12-10T13:46:39Z","message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:version","v9.3.0","v9.2.3","v9.1.9","v8.19.9"],"title":"[Lens]
Keep the datatable filters always visible
","number":245252,"url":"https://github.com/elastic/kibana/pull/245252","mergeCommit":{"message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/245252","number":245252,"mergeCommit":{"message":"[Lens]
Keep the datatable filters always visible (#245252)\n\n## Summary\n\nFix
#234410 \n\nDatatable filters are now always visible, regardless of the
dashboard\nview mode.\n\n###
Screenshots\n\n\nhttps://github.com/user-attachments/assets/36454f97-e7dd-4bbb-84c1-0b79b651d337\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\n- [x]
[Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"d0a5d5048ea5fb439082e47bb1d2b01d339556d7"}},{"branch":"9.2","label":"v9.2.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.19.9 v9.1.9 v9.2.3 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lens] Dashboard view mode update event not passed to the chart

4 participants