-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ability to debug using a sample report * require trailing slashes on URLs * stop page from complaining about missing manifest.json * Silence loud chrome warnings in the devtools console by switching our fontawesome CDN tag to a crossorigin-friendly tag * add lodash * .eslintrc.json: Make eslint allow comments up to 120 characters * AssertionPane.js: export aphrodite CSS for reuse * CenterPane.jsx: rewrite of GetCenterPane function in reportUtils.js * state.js: major revamp of UI state management * switch to redux to avoid unstable_observedBits log messages * remove optional dependencies and upgrade react-hooks-testing-library to the non-deprecated version @testing-library/react-hooks * revert improvements * fix link style, remove extraneous action from store serializableCheck, handle testcase onClick edgecase, remove es imports * remove uriComponentCodec, make imports easier * make connect easier * simplify build girth, simplify rigidity, simplify & segregate redux * remove as much hard to read code as is possible * deal with special .env test rules * make travis env vars work * setup new API URL - env var scheme
- Loading branch information
Showing
57 changed files
with
3,003 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,5 @@ Thumbs.db | |
/doc/en/_build/ | ||
/doc/en/html | ||
/pip-wheel-metadata | ||
node_modules/ | ||
yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# When debugging locally, create a file ".env.local" next to this file | ||
# containing: | ||
|
||
REACT_APP_API_BASE_URL=/path/to/api/endpoint | ||
|
||
# ... if your API is served from the same origin as this webapp. For example, | ||
# if this web app is available at "https://www.myapp.mil/" and the API is | ||
# available at "https://www.myapp.mil/api" then you'd set: | ||
|
||
REACT_APP_API_BASE_URL=/api | ||
|
||
# If your API is served from a different origin (e.g. if you're debugging | ||
# locally at http://localhost:3000) than your API (say it's still | ||
# "https://www.myapp.mil/api") then set: | ||
|
||
REACT_APP_API_BASE_URL=https://www.myapp.mil/api | ||
|
||
# This will also work if the web app and API are served from the same origin. | ||
# The app will set basic CORS headers when NODE_ENV == "development" or "test". | ||
# More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS | ||
# | ||
#=============================================================================# | ||
# Note that NOT setting REACT_APP_API_BASE_URL - either in the environment or # | ||
# in another .env.* file - will result in a build error. # | ||
#=============================================================================# | ||
# | ||
# The .env.* files override one another like so (highest > lowest priority): | ||
# > when NODE_ENV === "development": | ||
# - (variables from environment) | ||
# - .env.development.local | ||
# - .env.development | ||
# - .env.local | ||
# - .env | ||
# > when NODE_ENV === "production": | ||
# - (variables from environment) | ||
# - .env.production.local | ||
# - .env.production | ||
# - .env.local | ||
# - .env | ||
# > when NODE_ENV === "test": (omits .env.local) | ||
# - (variables from environment) | ||
# - .env.test.local | ||
# - .env.test | ||
# - .env | ||
# | ||
# More info: | ||
# - https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used | ||
# - https://create-react-app.dev/docs/advanced-configuration | ||
# | ||
REACT_APP_API_BASE_URL=OverrideMeOrThereWillBeABuildError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.