Skip to content

[Lens] Fix ES|QL loading button state for long running queries#226565

Merged
dej611 merged 8 commits intoelastic:mainfrom
dej611:fix/225204
Jul 29, 2025
Merged

[Lens] Fix ES|QL loading button state for long running queries#226565
dej611 merged 8 commits intoelastic:mainfrom
dej611:fix/225204

Conversation

@dej611
Copy link
Contributor

@dej611 dej611 commented Jul 4, 2025

Summary

Fix #225204

This PR restores the loading state for long running queries.

delay_query_loading

@dej611 dej611 self-assigned this Jul 4, 2025
@dej611 dej611 added release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// Feature:Lens backport:version Backport to applied version labels v9.1.0 v8.19.0 v9.2.0 labels Jul 4, 2025
@dej611 dej611 marked this pull request as ready for review July 4, 2025 12:56
@dej611 dej611 requested a review from a team as a code owner July 4, 2025 12:56
@elasticmachine
Copy link
Contributor

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

@dej611 dej611 requested a review from a team as a code owner July 4, 2025 16:25
@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.5MB 1.5MB +64.0B

History

cc @dej611

@dej611 dej611 merged commit 5ba03fb into elastic:main Jul 29, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 29, 2025
…ic#226565)

## Summary

Fix elastic#225204

This PR restores the loading state for long running queries.

![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
(cherry picked from commit 5ba03fb)
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 29, 2025
…ic#226565)

## Summary

Fix elastic#225204

This PR restores the loading state for long running queries.

![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
(cherry picked from commit 5ba03fb)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.19
9.1

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 29, 2025
…226565) (#229778)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Lens] Fix ES|QL loading button state for long running queries
(#226565)](#226565)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-29T10:10:20Z","message":"[Lens]
Fix ES|QL loading button state for long running queries (#226565)\n\n##
Summary\n\nFix #225204 \n\nThis PR restores the loading state for long
running
queries.\n\n\n![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco
Vettorello
<marco.vettorello@elastic.co>","sha":"5ba03fbea7bac9216032d9a553f2b3cde20afb76","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Lens]
Fix ES|QL loading button state for long running
queries","number":226565,"url":"https://github.com/elastic/kibana/pull/226565","mergeCommit":{"message":"[Lens]
Fix ES|QL loading button state for long running queries (#226565)\n\n##
Summary\n\nFix #225204 \n\nThis PR restores the loading state for long
running
queries.\n\n\n![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco
Vettorello
<marco.vettorello@elastic.co>","sha":"5ba03fbea7bac9216032d9a553f2b3cde20afb76"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226565","number":226565,"mergeCommit":{"message":"[Lens]
Fix ES|QL loading button state for long running queries (#226565)\n\n##
Summary\n\nFix #225204 \n\nThis PR restores the loading state for long
running
queries.\n\n\n![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco
Vettorello
<marco.vettorello@elastic.co>","sha":"5ba03fbea7bac9216032d9a553f2b3cde20afb76"}}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
kibanamachine added a commit that referenced this pull request Jul 29, 2025
…#226565) (#229776)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Lens] Fix ES|QL loading button state for long running queries
(#226565)](#226565)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-29T10:10:20Z","message":"[Lens]
Fix ES|QL loading button state for long running queries (#226565)\n\n##
Summary\n\nFix #225204 \n\nThis PR restores the loading state for long
running
queries.\n\n\n![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco
Vettorello
<marco.vettorello@elastic.co>","sha":"5ba03fbea7bac9216032d9a553f2b3cde20afb76","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Lens]
Fix ES|QL loading button state for long running
queries","number":226565,"url":"https://github.com/elastic/kibana/pull/226565","mergeCommit":{"message":"[Lens]
Fix ES|QL loading button state for long running queries (#226565)\n\n##
Summary\n\nFix #225204 \n\nThis PR restores the loading state for long
running
queries.\n\n\n![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco
Vettorello
<marco.vettorello@elastic.co>","sha":"5ba03fbea7bac9216032d9a553f2b3cde20afb76"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226565","number":226565,"mergeCommit":{"message":"[Lens]
Fix ES|QL loading button state for long running queries (#226565)\n\n##
Summary\n\nFix #225204 \n\nThis PR restores the loading state for long
running
queries.\n\n\n![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco
Vettorello
<marco.vettorello@elastic.co>","sha":"5ba03fbea7bac9216032d9a553f2b3cde20afb76"}}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
…ic#226565)

## Summary

Fix elastic#225204 

This PR restores the loading state for long running queries.


![delay_query_loading](https://github.com/user-attachments/assets/b84d9ebf-4e54-4323-83dd-7c23350d3c61)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
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:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.19.1 v9.1.1 v9.2.0

7 participants