-
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
Update vega vizs in sample web logs dashboard so applying filter won't cause them to look like they are erroring out #75485
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
…t cause them to look like they are erroring out Closes elastic#75485
@dziyanadzeraviankina I thought about this and let's go the disabling warnings route via |
Disabling warnings by default with |
Warnings aren't errors right? I think hiding is okay if so. I really wish we could hide warnings only in the view mode (dashboard) but show in the editor* but I understand this might not be doable right now. |
@ghudgins Actually I just checked the code and I was wrong earlier today - sorry about that. We can control the way warnings work and we can just not show them at all in "view mode" (on the dashboard). Technically it would work like this:
Pass the flag to
pass it to the
Store it in a member:
Read it in
But besides that - yes, errors are different and shown even if warnings are disabled. |
@dziyanadzeraviankina once you get to it, could you resolve it as described above by showing warnings only in edit mode? |
@dziyanadzeraviankina Here are the steps to set the render mode correctly for Add optional
In pass the mode to the expression loader (it will be handled from there)
In visualize, pass in edit render mode when creating the embeddable handler: kibana/src/plugins/visualize/public/application/utils/get_visualization_instance.ts Line 44 in d9ef453
From there is should work as described above as the expression loader will forward it to the expression renderer. |
Kibana version: 7.9.0
**Elasticsearch version:**7.9.0
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: In 7.9.0 - on weblogs sample data dashboard - if user adds particular source country and byte value in input controls - sample vega vizs display - Infinite extent for field "time": [Infinity, -Infinity] and other messages of that variety
@flash1293 told me (thank you) - its because vega viz got updated 5(#68639 (review)) and they are valid messages but unfortunately they are really unfriendly to the user who might be using Kibana and sample dashboards for the first time.
Can we either fix the messages or change the vizs so this doesn't happen?
The text was updated successfully, but these errors were encountered: