elastic / kibana

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

[Console Monaco migration] "Apply indentations" also collapses the request #185891

Open yuliacech opened 1 month ago

yuliacech commented 1 month ago

The ace editor has a functionality that when the button "apply indentations" is clicked repeatedly, the request body is toggle between being expanded and collapsed (see screen recording below). This is not yet implemented for monaco

https://github.com/elastic/kibana/assets/6585477/eaf43d79-c985-4515-9bdc-19c7b31018a9

elasticmachine commented 1 month ago

Pinging @elastic/kibana-management (Team:Kibana Management)

ElenaStoeva commented 1 month ago

I'm not sure if this behavior in the Ace editor was intentional as I don't remember seeing any logic for expanding/collapsing when clicking repeatedly. 🤔