Commit Graph

8 Commits

Author SHA1 Message Date
Eli Ribble 5cae71653f Space between when sent time, from, and subject in email summary
This is the first time I'm creating some custom style. There's probably
a way to do this with Bootstrap that I'm not expert enough to know
about.

For now I'm just scratching itches.
2024-09-04 11:41:08 -07:00
Eli Ribble 1e9dae15f1 Add button to move an email to trash.
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.
2024-09-03 12:03:04 -07:00
Eli Ribble cf20d9aff1 Show convenient relative time in the email summary 2024-08-30 07:43:49 -07:00
Eli Ribble 5c293219f3 Add 'from' and 'received at' to the email summary.
Really useful in deciding what to read.
2024-08-29 10:47:09 -07:00
Eli Ribble 4e1922c5fa Split email cache into full content and stubs.
This also introduces status for in-flight requests to avoid perpetual,
unnecessary loops of change-the-re-get-data.
2024-08-29 08:41:34 -07:00
Eli Ribble d6b675f7b6 Allow selecting an email, and adding it to the hash.
We don't do anything with it yet, though
2024-08-28 10:16:11 -07:00
Eli Ribble e68a21dcc4 Move email list text to the left, fill the viewport, add border.
Much prettier.
2024-08-28 09:38:50 -07:00
Eli Ribble a34d8f53b3 Show email subject lines.
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.
2024-08-28 09:21:31 -07:00