[Vega] Warnings are too aggressive for short time range #208271
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Vega
Vega visualizations
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version:
latest
Describe the bug:
When you enter a Vega map where the time range is too small to generate any data you get a bunch of warnings like the one below.
Related to #75485
Steps to reproduce:
Expected behavior:
Less warnings. Basically it starts with 2 warnings then any interaction with the map immediately creates dozens of warning which causes the scroll height to exceed the height of the vis and makes any interaction with the map impossible.
I'm not sure of the ideal solution here but possibly deduplicating warnings so only 1 warning is shown. With this we should also confine the container height to prevent scrolling beyond the vis container. A better solution would be to somehow inform the user to expand the time range from the time picker.
Screenshots (if relevant):
Zight.Recording.2025-01-24.at.02.12.11.PM.mp4
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: