This is the first time I'm modifying data instead of just displaying it. And this commit is a mess, it's all over the place with duplicating types and breaking my class layers. But it works, technically, so, whatever, checkpoint! I need to totally start reworking the base client library as I'm not happy with it at all. Also, it turns out that we have very little type protection on the "set" methods. I had a totally improper signature for about an hour that led to useless debugging. Reading the standard, which is excellent, helped me get sorted out, but they type checker should be helping me. Additionally, I should be creating this Account class type within the client. |
||
---|---|---|
public | ||
src | ||
.gitignore | ||
.gitmodules | ||
.pre-commit-config.yaml | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
default.nix | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
Drishti
This a JMAP browser email client.
Incantations
In the project directory, you can run:
Run Development Server
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.
Run Tests
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Build for production
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.
Format all the code
npx prettier . --write