-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a dashboard with email previews #92
Conversation
4132446
to
b9762ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I amended a little rewrite. Someone else needs to review this again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet! Really like the concept.
It's already a win to have a list of registered emails.
The rendered email itself does currently only provide a small improvement from just looking at the code. Especially given the following use cases:
- As a dev, I want a preview of email changes without the need to send one to myself
- As an email marketing person, I want to see the rendered emails as if they were sent to me directly.
IMHO This feature would be more useful if it rendered out the html. At least the include statements should be resolved.
Also we allow to mix html and markdown formatting which leads to broken looking email previews since only the markdown is rendered.
I'm ok with treating this as a preview feature. Rendered HTML would be actually useful though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd still find this more useful if somehow the html was rendered. A very good start though.
Introducing a way to access a dashboard with all available email classes used in the project.
/emark/dashboard/
allows to see the list of emails/emark/dashboard/<str:email_class>/
gets to the raw email preview without any values filledEMARK.DASHBOARD_HIDDEN_CLASSES
allows to exclude certain classes (for example abstract base classes) from the dashboard