-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Don't block render on missing field validation errors #143673
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
Pinging @elastic/kibana-app-services (Team:AppServicesSv) |
I think it would make sense to treat conflict fields like missing fields in this context. |
Another related case is a data view that doesn't have any matching indices - most likely this is a transitory thing, so we could treat it in the same way (show a warning instead of erroring out) |
Hi team, the combination of this issue with the error toast messages is making Kubernetes dashboards very unappealing. In the Kubernetes world having zero of a resource is not uncommon |
Is there some progress on this? This causes issues like elastic/integrations#4972 (comment) |
@andrewctate is working on the task with #147818 |
@ruflin this particular issue does not cover the error toasts — just not blocking the visualization render if a field or index is missing. Error toasts are a more global issue that has been prioritized more broadly in Kibana. |
Currently a Lens chart isn't rendering at all if a field used somewhere in a configuration is missing. This is prudent but can be too strong of a tool because there are a lot of cases where a missing field does not invalidate the whole visualization panel:
To capture this better, this should be a non-render-blocking error (pattern will be introduced as part of #147485) both on dashboard panels and in the editor.
The dimension with a missing field should still be highlighted in the editor.
The text was updated successfully, but these errors were encountered: