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

[Visualize] User should be able to edit a broken visualization from a runtime field that has changed its type #93928

Closed
stratoula opened this issue Mar 8, 2021 · 3 comments
Labels
Feature:Vis Editor Visualization editor issues Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@stratoula
Copy link
Contributor

Describe the feature:
With the new runtime fields editor, the users can create new fields. Each time a field is created the user configures its type.

The user can create a visualization with this new field. But these fields are expected to change a lot. The users could for example change the fields' type (i.e. from double to string). This means that if the visualization is based on this field and a number type aggregation is applied, when the field changes from number to string the visualization should load with an error, allowing the user to edit the aggregations and fix the viz.

Now, the visualization appears on the listing but when the users try to edit it, it redirects them again to the listing page with a notification:

image

We also want the user to be able to edit the broken visualization from the dashboard too.

Note: If the new type is supported by the aggregation, the visualization works as expected.

@stratoula stratoula added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Vis Editor Visualization editor issues labels Mar 8, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@mattkime
Copy link
Contributor

@stratoula Can this issue be closed or is there additional work to be done?

@stratoula
Copy link
Contributor Author

Same here @mattkime, closing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Vis Editor Visualization editor issues Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants