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

Generate report from Trends #4

Open
danielchalmers opened this issue Jan 22, 2024 · 0 comments
Open

Generate report from Trends #4

danielchalmers opened this issue Jan 22, 2024 · 0 comments

Comments

@danielchalmers
Copy link
Owner

danielchalmers commented Jan 22, 2024

A printout of all the data shown in Trends. Very valuable for showing a doctor or therapist.

Copy page

Printing the page directly using https://github.com/Append-IT/Blazor.Printing doesn't work on phones.

Creating a PDF from the page with something like https://github.com/eKoopmans/html2pdf.js may work.

Letter format

We could create a PDF using QuestPDF so it has the same dimensions regardless of phone screen and can be printed. The downside is that we have to duplicate efforts.

Combo

A combination of both could work if that's possible. We generate a PDF from HTML that's been rendered in Letter size, then open a share dialog with it.

Notes

You should be able to write your name in Settings and have it show up on the report.

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

1 participant