Skip to content
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

BI Dashboard as email #3089

Open
kha84 opened this issue Feb 11, 2025 · 4 comments
Open

BI Dashboard as email #3089

kha84 opened this issue Feb 11, 2025 · 4 comments

Comments

@kha84
Copy link

kha84 commented Feb 11, 2025

Hello guys!

I really love your main idea behind of Evidence, but recently I realized that in some cases business users need even more simple solution than a web BI. Even if it's a lightning fast and easy to use web BI, which is also very friendly to its developers.

The alternative I was thinking of is a newspaper-like approach. Imagine business gets an email early in the morning, before the day begins, with all the fancy charts and rest stuff - exactly as they would have seen it, if they went to a static website, generated by Evidence, just probably without interactive javascript-powered part.

I was thinking how to approach this, with using Evidence as a base, given Evidence doesn't provide this feature out-of-the-box (or does it?). My first idea was to use some 3rd party tools or libraries to save the HTML from evidence website and inject it into HTML email, and I'm gonna try exactly this. But I have some doubts regarding extra resources, that HTML might be using - like separate css, js, image files, whatever. Not sure if email client applications will be nice to me, while rendering all that :)

If anyone has any ideas or probably already implemented something like this, I'll be grateful to hear from you.

@vchigne
Copy link

vchigne commented Feb 13, 2025

+1 – This feature would be incredibly valuable. It's exactly what I've been looking for, especially when working with templated pages. Additionally, it would be even more useful if there were options to customize the email output—such as inlining CSS and bundling assets—to ensure consistent rendering across different email clients. Perhaps even a scheduling feature to automate sending these dashboards on a regular basis would further enhance its utility for business users

@PowerPlop
Copy link

What about html to pdf and sent it as an attachment? This will be the easiest option to keep the exact formatting. (Outlook doesn't really like html formatting.)

@vchigne
Copy link

vchigne commented Feb 14, 2025

What about html to pdf and sent it as an attachment? This will be the easiest option to keep the exact formatting. (Outlook doesn't really like html formatting.)

It will work too

@archiewood
Copy link
Member

archiewood commented Feb 27, 2025

Agree this is a great feature.

Some workarounds in the meantime:

If you add these scripts to your package.json scripts eg "generate": "node generate-pdf.js"

Then you could add these with some kind of scheduler like GH actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants