qri-io / 2017-frontend

qri electron & web frontend
https://qri.io
MIT License
23 stars 7 forks source link

bug: not displaying json correctly #364

Closed ramfox closed 6 years ago

ramfox commented 6 years ago

1) Json component never made move from body to data

2) Need to expand logic of extractSchema so that a schema can be extracted in non-tabular data. In Dataset componentWillRecieveProps checks for schema, so we need to be sure some type of schema will always return. Might want to refactor this so that extractSchema just returns the full schema object no matter what format, and then move logic to getting the column names and descriptions to the HandsonTable component. But this is how it is for now.