-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
PDF export improvement #1281
PDF export improvement #1281
Conversation
this is a rather large PR and also change to the way exports work, i will need to properly review this once i am back home. Does this also add a loading page to all other exporters so that all of them profit from this workflow ? |
Yes the loading page is for all of the exporters |
as this is a little larger and requires some testing i will try to get the next version out and merge this then, hope you are ok with that |
merging this now onto a feature branch and fixing the issues myself, thanks for providing all the foundations to get this working. |
Ok, great. |
ok only thing left now is the step images/files but those are not supported by the other exporters as well so we will need to tackle that in its own go. |
I was not able to recreate the await issue.
However I was able to find that when exporting large amount of recipes:
The page would timeout: fixed by adding a loading page similar to import
Pyppeteer goto() would timeout: fixed by creating the page in the recipe loop
To improve the speed, pyppeteer now wait for a selector instead of networkidle0
The export filename has the date appended to it; in YYYY-MM-DD format for it to be in sorted order in the users file directory
#1211