Chore: fiatBalancesNotify refactor Chore: removed now-unused code in some files Feat: change column "detail" in database to use jsonb Chore: add notification center background and button Chore: notifications screen scaffolding Fix: change position of notification UI Feat: join backend and frontend Feat: notification icons and machine names Feat: add clear all button, stripe overlay on invalid notification Fix: rework notification styles Feat: use popper to render notifications Feat: make notification center UI Fix: fix css on notification center Fix: fix invalidateNotification Chore: apply PR requested changes Fix: PR fixes Fix: make toggleable body/root styles be handled by react Chore: delete old notifier file Fix: undo variable name changes for cryptobalance notifs |
||
|---|---|---|
| .. | ||
| .storybook | ||
| .vscode | ||
| patches | ||
| public | ||
| src | ||
| .env | ||
| .eslintrc.js | ||
| .gitignore | ||
| jsconfig.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
This project was bootstrapped with Create React App.
Dev Environment
formatting
You can configure a eslint plugin to format code on save. The configuration for vscode is already on the repo, all you need to do is install the eslint plugin.
This project has a husky pre commit hook to format the staged changes using our styleguide.
To take advantage of that make sure to run git commit from within this folder.
Sanctuary
Sanctuary has a runtime typechecker that can make be quite slow, but its turned off by default.
To turn it on add the following line to a .env.local file.
REACT_APP_TYPE_CHECK_SANCTUARY=true
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm fix
Runs eslint --fix on the src folder
npm storybook
Runs the storybook server
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.