elastic-charts icon indicating copy to clipboard operation
elastic-charts copied to clipboard

[Flamechart] Hide the minimap

Open cauemarcondes opened this issue 8 months ago • 2 comments

Is your feature request related to a problem? Please describe. Sometimes the minimap that shows your location in the flamechart takes too much space, making it difficult to visualize the nodes.

Image

Describe the solution you'd like Would it be able to add a button on the top right corner of the minimap to hide it? Once hidden we can add another button close to the search string field to display it again. This way the user have control over when the minimap is visible or not. It would be nice to have a new optional property on the flamegraph component so that clients could define the default behavior, for example: displayMinimap: boolean (default to true)

Describe alternatives you've considered If a button on the top right corner doesn't work, we can add a toggle button close to the search string field: Show minimap | Hide minimap

Additional context N/A

Kibana Cross Issues N/A

Checklist

Delete any items that are not applicable to this feature request.

  • [x] this request is checked against already exist requests
  • [x] every related Kibana issue is listed under Kibana Cross Issues list
  • [x] kibana cross issue tag is associated to the issue if any kibana cross issue is present

cauemarcondes avatar Mar 19 '25 16:03 cauemarcondes

Totally agree, a button there is pretty quick and easy to implement.

markov00 avatar Mar 19 '25 17:03 markov00

I would like to see this implemented. Reducing the minimap size should also be considered, I think the current size is excessive and hides a lot of underlying flamegraph information.

christos68k avatar Mar 22 '25 02:03 christos68k