Commit graph

8 commits

Author SHA1 Message Date
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
3d92f1623e Initial commit with basic Svelte project 2021-04-29 15:21:32 +05:30