Feature/subscribe (#55)
* init mailbox
* reogranized file to be more componentized, moved around layout
* added a mailbox icon, componentized are you sure thingy, added selected state and delete confirm to mailbox
* fixed issue where delete card button on card block wasn't working, replaced x with a trash icon to make it more clear what's happening
* add basic subscription and confirm flow!
* split out mailbox components and fix backspace wierdness
* WIP
* more WIP
* add basic unsubscribe logic
* add unsubscribe headers
* display message card
* properly add sent message to mailbox archive
* added a little status area bar at top of card to house draft state status and send button
* add email tables migration
* add images and page titles to mail
* make draft header work!
* refactored Menu and MenuItem component to use Radix dropdown
* styled the channel selector in subscribeForm
* add subscriber count
* open archive from reader view
* - addded write post button state for creators so that it says 'edit' instead of 'wrte' if there is an ongoing draft
- styled confirm code state
- added error state is code is incorrect
- added way to reset to email form again from confirm state
- added empty state in more reader and writer box if there are no posts
* added a see past posts button to unsubscribed reader state
* styled subscriber count
* small style tweaks to the defat indicator
* wrapped the email and confirm inputs in a form element
* tweak copy for mailbox post status banner
* tweaks to email copy and formatting in sendPostToSubscribers
* correctly pluralize readers in draft post header
* tweak copy in MailboxInfo and add info button to unsubscribed form
* small things, copy on send button, form fields have bg transparent, rm info icons for readers to keep the UI cleaner
* mailbox isn't a textblock
* focus the first block when you open the draft post
* close drafts and archive pages when the mailbox is deleted
* rm a bunch of console logs
* set title in confirm code page
* sending draft closed the draft and opens the archive, adds the post to top of archive, focus first block
* rm channel selector for now
* menu items have a cursor pointer
* reorganized Toolbar
* combine pending and active subscriptions table and store unconfirmed subscriptions
* update migration to remove pending subscriptions table
---------
Co-authored-by: celine <celine@hyperlink.academy>
Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
authored by
awarm.space