smoothie icon indicating copy to clipboard operation
smoothie copied to clipboard

Allow disabling text template generation

Open aaronjensen opened this issue 8 years ago • 5 comments

The text template generation leaves quite a bit to be desired so we tend to write our own text templates manually.

For some reason, templates generated by smoothie are super slow with dialyzer.

It'd be great if we could disable text template generation so we could reduce the size of the template module and hopefully reduce the time it takes dialyzer to process the template module.

aaronjensen avatar Dec 01 '16 18:12 aaronjensen

Thanks for the feedback! Will look into this.

jfrolich avatar Dec 02 '16 02:12 jfrolich

just curious, what are the text templates for? I haven't had a need for them yet. I'd be in favour of making them optional.

stephenmoloney avatar Dec 02 '16 11:12 stephenmoloney

For providing a plain text version of the email for clients that cannot handle HTML formatting.

jfrolich avatar Dec 02 '16 12:12 jfrolich

Agree with making them optional 👍

jfrolich avatar Dec 02 '16 12:12 jfrolich

I can add an option for this. Will try get to it eventually. Should be easy to implement.

stephenmoloney avatar Mar 31 '17 20:03 stephenmoloney