elastic / kibana

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

Remove unused "json" mode from Mappings Editor #108736

Open cjcenizal opened 3 years ago

cjcenizal commented 3 years ago

The mappings editor supports a "json" mode which will render a <JsonEditor> instead of the fields tree:

image

There is currently no logic for setting this mode to be "json", rendering this branch unreachable. We currently have no plans to implement this mode and removing this unreachable code will make the code easier to understand and more maintainable.

elasticmachine commented 3 years ago

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

elasticmachine commented 2 months ago

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