Commit Graph

22 Commits

Author SHA1 Message Date
Badri Sunderarajan 7dae614535 Add extra options to markdown converter
Now, bare URLs are auto-converted, links are opened in a new
window, the ~~strikethrough~~ format also works, and last but not
the least, ChipChoc is now emoji-enabled!
2021-09-14 14:48:22 +05:30
Badri Sunderarajan 96f07aa6b7 Set relative paths within Svelte, as well
Apologies for the bits and pieces 😛
2021-06-05 00:09:03 +05:30
Badri Sunderarajan 0ed5d0158f Make JS and CSS resource paths relative
Again, this is so ChipChoc can easily be run on a subpath
2021-06-05 00:06:33 +05:30
Badri Sunderarajan 393e9c2652 Allow changing of root subdirectory
So that the app can be deployed anywhere! Just change the
environment variable `CHIPCHOC_BASE_URL` and you're all set 😉
2021-06-04 23:47:24 +05:30
Badri Sunderarajan 74ecea0af9 Add LICENSE 2021-06-04 18:01:14 +00:00
Badri Sunderarajan dc378c494d Add .env config details to README 2021-06-04 23:18:35 +05:30
Badri Sunderarajan 0806bae00e Allow setting of email subject
Don't know how we missed that out in the earlier one 😅
2021-06-04 23:15:52 +05:30
Badri Sunderarajan 4b388e1a1b Implement actual email sending, with nodemailer! 2021-06-04 23:15:38 +05:30
Badri Sunderarajan b1f69e16f6 Add a special page with progress bar for email sending
Also a new "Wheee!" page when the email-sending is done 😉
2021-06-04 21:53:04 +05:30
Badri Sunderarajan 9b630ae021 Set up WebSocket for email sending
The actual sending doesn't happen yet, but all the frontend
infrastructure is set up all right!
2021-05-29 00:10:40 +05:30
Badri Sunderarajan 66056cbf0b Add "Hit send" button
The button doesn't actually do anything yet, but hopefully it will,
very soon!
2021-05-28 21:37:22 +05:30
Badri Sunderarajan a56e9cd9c2 Prettify preview and add "From" option 2021-05-28 21:37:04 +05:30
Badri Sunderarajan 27b41a4523 Allow re-editing draft after table has been generated
This does two things:

1. If the TKs in the draft has changed, add/remove the corresponding
   columns from the table

2. Either way, update the preview so it matches the draft text

All this only happens once you click the "Refresh" button, because
we don't want to be putting *too much* load on the app also 😜
2021-05-28 20:45:56 +05:30
Badri Sunderarajan 0291dcacd3 Remove duplicates from TK list to avoid crashes
Otherwise it throws an error because, while rendering the TK tags,
you're not allowed to have one TK come more than once. That aside,
we don't want *each* occurrence having its own table column, do we?
2021-05-28 20:16:01 +05:30
Badri Sunderarajan 1daca87b3d Add original icons for reference (along with appropriate credit!) 2021-05-28 19:56:19 +05:30
Badri Sunderarajan cb62f0d7e2 Render email preview from Markdown! 2021-05-14 19:03:20 +05:30
Badri Sunderarajan a1f9fe5a86 Display TK-filled preview based on table data
This preview is as yet unformatted...but stay tuned; we're soon to
add Markdown! 😉
2021-05-14 18:47:06 +05:30
Badri Sunderarajan 17aa114978 Implement Step One: drafting of email and [TK insert] detection 2021-05-14 09:30:32 +05:30
Badri Sunderarajan 3cccaa4eab Change stylesheet to Analog theme and add some images! 2021-04-29 16:44:42 +05:30
Badri Sunderarajan e4bb9453e6 Update favicon and README 2021-04-29 16:44:24 +05:30
Badri Sunderarajan 77be57565d Set up Express 2021-04-29 16:42:34 +05:30
Badri Sunderarajan 3d92f1623e Initial commit with basic Svelte project 2021-04-29 15:21:32 +05:30