Jeffrey Biles
77e1a1d407
Click on overly to close modal
2020-03-29 14:40:18 -07:00
Jeffrey Biles
4789f44bbe
Modal display and opening
2020-03-29 14:31:09 -07:00
Jeffrey Biles
5a7e748578
opening an email below the table
2020-03-29 12:29:45 -07:00
Jeffrey Biles
0a4e0c2fb3
readEmail and archiveEmail methods
2020-03-29 11:52:40 -07:00
Jeffrey Biles
85e04ed6cf
axios GET
2020-03-29 10:49:49 -07:00
Jeffrey Biles
266268a49c
async and Suspense
2020-03-29 10:21:02 -07:00
Jeffrey Biles
03c6923013
Pull code into MailTable component
2020-03-29 09:58:17 -07:00
Jeffrey Biles
11c6ac7bad
Bare app - remove everything except styling, db.json, and packages
2020-03-29 01:38:36 -07:00
Jeffrey Biles
169c397855
Save email when toggling read/unread and inbox/archived
2020-03-29 00:55:00 -07:00
Jeffrey Biles
3842b5a7f5
Use axios because it does the correct PUT format by default
2020-03-29 00:35:22 -07:00
Jeffrey Biles
4abbbaf633
Move CSS to App.vue + add some rules
2020-03-23 22:51:00 -07:00
Jeffrey Biles
3bced07176
Remove Portal
2020-03-23 17:28:00 -07:00
Jeffrey Biles
af77551fe0
Better checkboxes, global button css
2020-03-23 17:26:32 -07:00
Jeffrey Biles
9675e25bcc
MOve to Inbox button and keyboard shortcut
2020-03-19 03:49:43 -07:00
Jeffrey Biles
0127326c75
archive shortcut
2020-03-19 03:36:46 -07:00
Jeffrey Biles
327e9b5835
MAke the changeEmail function work in setup hook
2020-03-19 03:32:05 -07:00
Jeffrey Biles
a495f6141c
This fixes the "archived emails stick around" issue... but I want to be able to do it with the setup function
2020-03-19 03:26:08 -07:00
Jeffrey Biles
d427f80182
keyboard shortcuts for 'archived, then next/previous'
2020-03-19 03:16:38 -07:00
Jeffrey Biles
b21376ef0a
rename sentDate to sentAt
2020-03-19 03:04:01 -07:00
Jeffrey Biles
a6320cebce
Move up and down with j and k
2020-03-18 17:29:21 -07:00
Jeffrey Biles
f87823db63
Actually remove the modal when not in use
2020-03-18 17:00:58 -07:00
Jeffrey Biles
0a3982c2a4
Move modal into a portal, just because we can
2020-03-18 13:29:53 -07:00
Jeffrey Biles
874481cbde
Abstract away Modal
2020-03-18 13:10:11 -07:00
Jeffrey Biles
050bcfc977
Modal can close + opening modal marks email as read
2020-03-18 12:55:31 -07:00
Jeffrey Biles
270747cd98
Start of MailViewModal
2020-03-18 12:47:10 -07:00
Jeffrey Biles
ce96221a71
Mark read and unread
2020-03-17 22:52:30 -07:00
Jeffrey Biles
90c82a5267
Store all emails, not just ids, so they can be used elsewhere
2020-03-17 22:47:13 -07:00
Jeffrey Biles
48505b6002
Two refactors: one to make it reactive, the other to make it work
...
The one that made it work was storing `ids` outside of the useEmailSelection function. That makes it shared between the multiple uses of the useEmailSelection function.
2020-03-17 22:44:50 -07:00
Jeffrey Biles
92c429407e
Moved "number selected"... but it doesn't update. Why?
2020-03-17 22:24:08 -07:00
Jeffrey Biles
e5b83a407a
Abstract useEmailSelection into separate function
2020-03-17 22:19:30 -07:00
Jeffrey Biles
67d539fd03
rename addToSelectedEmail to toggleEmailSelection
2020-03-17 22:14:52 -07:00
Jeffrey Biles
d594a9fdd1
Select multiple emails using checkboxes
2020-03-17 19:18:23 -07:00
Jeffrey Biles
53383058d9
More factory fields + improved data display
2020-03-17 14:01:56 -07:00
Jeffrey Biles
e2498155c5
sentDate + date-fns format
2020-03-17 13:32:21 -07:00
Jeffrey Biles
04d37c4259
Better inbox styling
2020-03-17 12:15:26 -07:00
Jeffrey Biles
b76e20c836
Basic email table
2020-03-17 11:55:13 -07:00