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

showing the progress of the pdf generation from callback #2438

Open
KMJ-007 opened this issue Nov 4, 2023 · 0 comments
Open

showing the progress of the pdf generation from callback #2438

KMJ-007 opened this issue Nov 4, 2023 · 0 comments

Comments

@KMJ-007
Copy link

KMJ-007 commented Nov 4, 2023

Is your feature request related to a problem? Please describe.
when working with large pdf, it takes some time to create and render the pdf, when it is happening it shows blank screen in the iframe, which is not that much good experience, loading or some kind of progress which user can see will act as good user experience

Describe the solution you'd like
passing a simple callback function, which will get called with latest updated value of the progress, using which progress can be shown as wanted

Describe alternatives you've considered
tried, adding loader untill i get blob from the lib, but loader is not that much good experience, if some kind of numbers that this much progress is complete then it will be great for user and other use cases

Additional context
I've created a PR(#2437) where I've currently implemented the page processing progress as a callback. I'm not familiar with the entire codebase, so I've implemented this basic functionality for now. If someone can guide me, I can make further improvements. I haven't implemented any tests yet.

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

No branches or pull requests

1 participant