Commit Graph

51 Commits

Author SHA1 Message Date
Jeffrey Biles
aa8b4c6244 Lesson 9 - Email Navigation Buttons and Keyboard Shortcuts 2020-07-18 13:47:33 -07:00
Jeffrey Biles
cab244c0b0 Video 6 - Modal 2020-06-18 12:36:07 -07:00
Jeffrey Biles
128c2a2335 Video 5 - MailView 2020-06-17 16:07:55 -07:00
Jeffrey Biles
d54d68ad1d Video 4 - axios to connect with json-server 2020-06-17 13:34:22 -07:00
Jeffrey Biles
c6d8451484 Lesson 3 - Suspense, async setup, and the MailTable component 2020-05-31 23:50:00 -07:00
Jeffrey Biles
18a81c4f61 Delete everything except the starter stuff 2020-05-12 11:45:40 -07:00
Jeffrey Biles
c58f792d7e Update emailSelection export and usage to Evan-recommended "module style" syntax 2020-04-14 06:09:36 -07:00
Jeffrey Biles
bc22149c44 No longer need extra v-if because of bugfix 2020-04-14 05:25:37 -07:00
Jeffrey Biles
0abea2ed6b Add axios to MailTable 2020-04-01 16:44:39 -07:00
Jeffrey Biles
e1cba79ad2 Refactor lots of non-table functionality from MailTable to MailScreen 2020-03-30 14:03:05 -07:00
Jeffrey Biles
b8dfde835e Bulk Actions 2020-03-30 00:52:56 -07:00
Jeffrey Biles
ea22275726 Select All checkbox reflects state of email selection 2020-03-29 23:45:33 -07:00
Jeffrey Biles
a4d6663cfd Global non-persisted state with useEmailSelection composition function 2020-03-29 22:51:32 -07:00
Jeffrey Biles
c481ec8cb2 Email Selection via checkboxes 2020-03-29 22:23:57 -07:00
Jeffrey Biles
fbc231daa8 Action bar + keyboard shortcuts on mail view 2020-03-29 21:14:47 -07:00
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