Skip to content

Commit

Permalink
Addition of custom JSON viewer (#51)
Browse files Browse the repository at this point in the history
* Added accessible JSON viewer.

This change introduces a new JSON viewer component. This component is
based on the FAST-React `<TreeView>` component with minor modifications
(which take place within CSS definitions). It removes the
react-json-view component, which cannot be navigated at all with the
keyboard.

* Cleaned up frontend package dependencies

* Removed out-of-date refs to react-json-view

* Fixed CR comments, added key= property to TreeViewItems

* Code review feedback / consolidation

* Removed unsafe-eval from CORS policy
  • Loading branch information
robpaveza committed Jan 22, 2021
1 parent 3ba7d18 commit 4b02023
Show file tree
Hide file tree
Showing 12 changed files with 336 additions and 360 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"start": "node ./scripts/run-frontend",
"run-tests:shared": "node ./scripts/run-package-task -- --package-name network-console-shared --task-name test",
"ps": "node ./scripts/generate-pseudoloc"
}
},
"dependencies": {}
}
Loading

0 comments on commit 4b02023

Please sign in to comment.