JMAP Webmail
Go to file
Eli Ribble 171a8aa1c0 Update the mailbox list when we get changes.
This is a pretty big change. I'm now storing the mailboxes within the
account as a map of IDs, which is more consistent with the rest of the
client and makes it easier to update a single mailbox when we know it
has changes.

I've also added a new function for getting a single mailbox. This isn't
really well coded - I need to refactor the client before I can do that
properly. But for now the proof-of-concept works: I'm getting push
events from the server, I'm getting the changes from my last update
state, and I'm applying them to the UI.

This is essentially the whole point for doing React and doing JMAP.

Woot.
2024-09-04 13:29:52 -07:00
public Add favicon and site title. 2024-08-28 01:08:27 -07:00
src Update the mailbox list when we get changes. 2024-09-04 13:29:52 -07:00
.gitignore Bootstrap with basic create-react-app and typescript. 2024-08-28 01:08:26 -07:00
.gitmodules Add jmap-client-ts fork 2024-08-30 10:13:46 -07:00
.pre-commit-config.yaml Add pre-commit hook for formatting 2024-08-28 01:08:27 -07:00
.prettierrc Use tabs, add jmap-client-ts, use it a bit 2024-08-28 01:08:27 -07:00
LICENSE Initial commit 2024-08-28 01:06:57 -07:00
README.md Add an autoformatter. 2024-08-28 01:08:27 -07:00
default.nix Add pre-commit hook for formatting 2024-08-28 01:08:27 -07:00
package-lock.json Add support for react-bootstrap-icons. 2024-09-03 10:09:44 -07:00
package.json Add support for react-bootstrap-icons. 2024-09-03 10:09:44 -07:00
tsconfig.json Use my vendored jmap-client-ts 2024-08-30 10:14:05 -07:00

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