108 Commits

Author SHA1 Message Date
Jeffrey Biles
3bbc469da6 Use the Options API for two components 2020-03-28 16:45:29 -07:00
Jeffrey Biles
fb0954828c From/sentAt byline 2020-03-23 22:58:46 -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
f6114cf7d1 Spacing improved on bulk actions 2020-03-23 17:05:39 -07:00
Jeffrey Biles
6d30810e40 Nicer buttons and subject line 2020-03-23 16:59:56 -07:00
Jeffrey Biles
9675e25bcc MOve to Inbox button and keyboard shortcut 2020-03-19 03:49:43 -07:00
Jeffrey Biles
e4378d9216 Email toolbar buttons 2020-03-19 03:45:25 -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
65c758c90c Better onkey definition 2020-03-19 03:10:36 -07:00
Jeffrey Biles
e1ca6df1e8 Sort emails by sentAt 2020-03-19 03:04:10 -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
f1f0a502b2 keydown abstracted to useKeydown 2020-03-18 17:09:08 -07:00
Jeffrey Biles
de4d62e6db Put modal esc key in setup function 2020-03-18 17:01:15 -07:00
Jeffrey Biles
f87823db63 Actually remove the modal when not in use 2020-03-18 17:00:58 -07:00
Jeffrey Biles
d415b86386 Close modal with escape key 2020-03-18 16:41:47 -07:00
Jeffrey Biles
e297a104e4 markdown display of email body 2020-03-18 16:10:01 -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
e5dcde2311 Button order that makes more sense 2020-03-18 02:11:04 -07:00
Jeffrey Biles
d13f9a8708 clear selections when switching screens 2020-03-18 02:10:51 -07:00
Jeffrey Biles
efdfb2d516 moveToInbox action + actions array in bulkActions component 2020-03-18 02:06:31 -07:00
Jeffrey Biles
279e72dbbf Can switch between inbox and archived mail screens and keep changes in archived videos 2020-03-18 01:58:05 -07:00
Jeffrey Biles
505842df54 ArchivedScreen, ability to switch between
However, there's an issue - changes don't stick between screen switches
2020-03-18 01:46:37 -07:00
Jeffrey Biles
81aa302648 Archie filtering is reactive 2020-03-18 01:33:32 -07:00
Jeffrey Biles
8996330057 Fix bug in allAreSelected 2020-03-18 01:31:48 -07:00
Jeffrey Biles
bf1aeb4bd6 Archive filtering and bulk action button 2020-03-18 01:25:53 -07:00
Jeffrey Biles
2c13f9e8e8 Disable buttons that won't do anyhing 2020-03-18 01:19:52 -07:00
Jeffrey Biles
e448b4b7cc Bulk Select checkbox 2020-03-18 00:33:43 -07:00
Jeffrey Biles
d078933844 BulkActionBar 2020-03-17 23:57:48 -07:00
Jeffrey Biles
ebc5eafe35 markRead and markeUnread abstraction 2020-03-17 23:03:13 -07:00
Jeffrey Biles
ce96221a71 Mark read and unread 2020-03-17 22:52:30 -07:00
Jeffrey Biles
e21425c1ea r 2020-03-17 22:48:07 -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
98c669b139 Mirage factories + models + seeds + faker 2020-03-17 13:20:49 -07:00
Jeffrey Biles
062df37fea Switch MIrage to its own folder 2020-03-17 12:58:01 -07:00