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

PDF export improvement #1281

Merged

Conversation

TiagoRascazzi
Copy link
Contributor

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

@vabene1111
Copy link
Collaborator

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 ?

@TiagoRascazzi
Copy link
Contributor Author

Yes the loading page is for all of the exporters

@vabene1111
Copy link
Collaborator

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

@vabene1111 vabene1111 modified the milestones: 1.1.0, 1.0.X Jan 21, 2022
@vabene1111 vabene1111 changed the base branch from develop to feature/export-progress January 28, 2022 14:37
@vabene1111 vabene1111 merged commit 87164e8 into TandoorRecipes:feature/export-progress Feb 3, 2022
@vabene1111
Copy link
Collaborator

merging this now onto a feature branch and fixing the issues myself, thanks for providing all the foundations to get this working.

@TiagoRascazzi
Copy link
Contributor Author

Ok, great.

@vabene1111
Copy link
Collaborator

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.

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

Successfully merging this pull request may close these issues.

2 participants