Skip to content

[Lens] isLoading property is not set correctly in the ES|QL editor #225204

@stratoula

Description

@stratoula

Kibana version:
main

Describe the bug:
After a refactoring the isLoading property is always set to false and it never turns to true.
This was working properly, after the various refactorings this got commented out and stopped working.

https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/esql_editor.tsx#L313

The problem is that the cancel doesnt work now and there is no UI confirmation for a long running query

Expected behavior:
isLoading flag should correctly be set to the editor

Metadata

Metadata

Assignees

Labels

Feature:ES|QLES|QL related features in KibanaFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions