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

[Lens] Fix datatable actions when first row is empty #181344

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

dej611
Copy link
Contributor

@dej611 dej611 commented Apr 22, 2024

Summary

This PR fixes a bug that affects cell actions when the first column row is empty in a Lens datatable.
The check for the action was checking only the first row, while now it tries to find the first row with some values.

Screenshot 2024-04-22 at 18 11 00 Screenshot 2024-04-22 at 18 10 54

This shouldn't have any particular performance impact, but it's worth testing to be sure about it.

Checklist

@dej611 dej611 added release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens v8.15.0 labels Apr 22, 2024
@dej611 dej611 requested a review from a team as a code owner April 22, 2024 16:13
@elasticmachine
Copy link
Contributor

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

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #68 / alerting api integration security and spaces enabled - Group 4 Alerts alerts alerts superuser at space1 should create new, ongoing and recovered alerts

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.4MB 1.4MB +154.0B

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Lens release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Lens] Datatable doesn't show cell actions if first table row is empty
5 participants