This includes a bunch of new things. I've introduced "ensureEmail..." to indicate that the UI would like some data to be populated, but if it is already present we don't need to do anything. I've also introduced a cache for emails that is keyed on the email ID. I don't know if email IDs are unique. They look like they should be globally unique within a given server, but I'm not sure and the standard is unclear. It'll need some experimentation. |
||
---|---|---|
public | ||
src | ||
.gitignore | ||
.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