frontend
frontend copied to clipboard
nested json not rendering as tree for scientific metadata
Issue Name
nested json not rendering as tree for scientific metadata
Summary
When uploading datasets with nested json in the scientific metadata field, the front end seems to render the data so that the left most column only contains the highest level nodes and the value column shows all of the other information as a single nested dictionary. It could be nice if it is possible to have the data rendered so that it is possible to expand each sublevel of nodes for the nested data.
Steps to Reproduce
Try to create a dataset with nested json as the scientific metadata.
Current Behaviour
A row is created for each node in the highest level of the json tree. The values of those nodes appear in the left most column, all objects nested under that node appear as a single string of text in the second column, an empty column for units is on the right.
Expected Behaviour
A row would be created for each object in the json tree. Rows for higher level nodes could be expanded to show the rows containing the subtrees nested below. The left hand column would contain the key/name for each object and the middle column would contain the value.