Index Management mappings tab can freeze browser with large mappings #60398
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Index Management
Index and index templates UI
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Per @P1llus, clicking the "Mappings" tab in Index Management's detail panel can freeze the browser if the mappings are large (on 7.6.1). Here's the UI in question:
The problem is that the code editor component spends a lot of cycles updating the DOM. We fixed this issue in Index Templates by using the
EuiCodeEditor
component to render the mappings (https://github.com/elastic/kibana/blob/master/x-pack/plugins/index_management/public/application/sections/home/template_list/template_details/tabs/tab_mappings.tsx#L22). The same solution can be used here.The text was updated successfully, but these errors were encountered: