Skip to content

Commit

Permalink
[report] Replace example with proper report parsing (#11)
Browse files Browse the repository at this point in the history
This PR adds an initial working version of report parsing and include
the following additional changes:

1. Add jest dependencies.
2. Add a simple popup to display the details when clicking on "Link"
3. Updated types from interuss/monitoring schemas.

Few known issues:
- Requirements and child capabilities are not displayed at the same time
on a page.
- Error handling is probably too aggressive

Note that report_uspace.json will be removed before merge to not checkin
big files on the main branch.
  • Loading branch information
barroco authored Aug 17, 2023
1 parent 72e7581 commit 4ea2bb5
Show file tree
Hide file tree
Showing 12 changed files with 129,572 additions and 279 deletions.
12 changes: 11 additions & 1 deletion reports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@
"prebuild": "cd ../tools && yarn generate-types",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"test": "jest"
},
"dependencies": {
"jsonpath": "^1.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.15.0"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/jsonpath": "^0.2.0",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand All @@ -25,8 +29,14 @@
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"jest": "^29.6.2",
"ts-jest": "^29.1.1",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-singlefile": "^0.13.5"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
}
}
Loading

0 comments on commit 4ea2bb5

Please sign in to comment.