Commit Graph

21 Commits

Author SHA1 Message Date
Eli Ribble 1d7d96de4a Add list of accounts from the session.
This isn't great, but it shows data from the API being fed into the
interface.
2024-08-28 01:08:27 -07:00
Eli Ribble 2b94459651 Only make a single client setup request. 2024-08-28 01:08:27 -07:00
Eli Ribble 05779c0b64 Use tabs, add jmap-client-ts, use it a bit 2024-08-28 01:08:27 -07:00
Eli Ribble 913856c11b Save auth in localstorage and use it
Also consistently call it "email".
2024-08-28 01:08:27 -07:00
Eli Ribble 34ea77f7c3 Make enter key work on auth form.
It was bugging me.
2024-08-28 01:08:27 -07:00
Eli Ribble faca28f802 Actually make the login attempt to the well-known JMAP endpoint 2024-08-28 01:08:27 -07:00
Eli Ribble c6400d58d3 Save the username and password, show an alert to prove it. 2024-08-28 01:08:27 -07:00
Eli Ribble 9ff63d96fd Show an alert when we click the "login" button.
Yay, user interactivity.
2024-08-28 01:08:27 -07:00
Eli Ribble 302cbdd43d Add favicon and site title.
So I can find the tab, essentially.
2024-08-28 01:08:27 -07:00
Eli Ribble cda369a5f0 Auto pretty everything, add initial auth modal.
Sorry this isn't more commits, but, whatever.
2024-08-28 01:08:27 -07:00
Eli Ribble 9033b9862a Add pre-commit hook for formatting 2024-08-28 01:08:27 -07:00
Eli Ribble 91600be038 Add an autoformatter.
Seems fine.
2024-08-28 01:08:27 -07:00
Eli Ribble 16d9d4c4a4 Add authentication modal dialog and a stab at localstorage 2024-08-28 01:08:27 -07:00
Eli Ribble 8ea7aac4ed Make a basic remote request for data.
This uses an example from https://www.codingthesmartway.com/how-to-fetch-api-data-with-react/
and a public data API.
2024-08-28 01:08:27 -07:00
Eli Ribble 0878ec9435 Fix compiler warning.
I don't understand it, I just did exactly what it said to do.
2024-08-28 01:08:27 -07:00
Eli Ribble 48191baf2b Start of the mailbox list. 2024-08-28 01:08:27 -07:00
Eli Ribble d1746b6d17 Add react-bootstrap.
Now we're strappin'
2024-08-28 01:08:27 -07:00
Eli Ribble 7cd1a9cd97 Bootstrap with basic create-react-app and typescript.
No real changes to it, and I'm avoiding the favicon and logos to avoid
burdening my git repository, but otherwise it's all here while I figure
out how to change things.
2024-08-28 01:08:26 -07:00
Eli Ribble 60bc97aab1 Add basic config for dev environment on nix 2024-08-28 01:08:06 -07:00
Eli Ribble 5099c395b7 Initial README.md 2024-08-28 01:08:04 -07:00
eliribble 3ce1ca6d31 Initial commit 2024-08-28 01:06:57 -07:00