elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

Discover bar histogram displays large graph in upgraded Kibana #178919

Closed bhavyarm closed 8 months ago

bhavyarm commented 8 months ago

Kibana version: 7.17.18->upgraded to-> 8.13.0 BC5

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: When you open Discover in 8.13.0 (BC5) after upgrading from 7.17.18 - the bar histogram displays large. I am not sure what other details you need here. Let me know and I can attach them to the issue.

Screenshot 2024-03-18 at 6 30 09 PM
elasticmachine commented 8 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

davismcphee commented 8 months ago

Hey @bhavyarm, it looks to me like the histogram was just resized to be taller than the default, and you should be able to resize it back. The last used height is stored in the browser local storage, so my guess is you previously had an 8.x deployment running on localhost with the histogram resized to be taller, and now when you upgraded from 7.17 also on localhost, it pulled the previous height from local storage.

Can you try confirming by opening Discover in a new incognito window which will use a fresh local storage? My guess is the histogram will be the correct height by default, but if it's not then something else is going on and we'll continue investigating.

bhavyarm commented 8 months ago

@davismcphee sweet. Opening in incognito window fixes the problem. Closing the issue. Thanks for speedy look and see. Til about last used height being stored in local storage.

Screenshot 2024-03-18 at 6 49 19 PM