-
Notifications
You must be signed in to change notification settings - Fork 21
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
Proper queued, progress, failed states #42
Comments
It seems to me that the most elegant solution to this is to implement some kind of progress callback in the DeepZoomTools, but maybe there's a better way to do it in Node that I don't know about. |
That would work (perhaps the more "Node" way is to emit a progress event instead), but I think the trickier thing might be seeing if VIPS conveys progress at all. |
If VIPS won't do it, we could look at the number of levels that need to be written versus what's actually on disk at the moment. |
Nice idea! Could even look at the actual generated tiles. So this'd be |
Expanded the title to cover that we need to display a "failed" state too. E.g. http://zoomhub.net/v1/content/Yev6 reports |
Opened zoomhub/node-deepzoomtools#10 to emit |
Thanks @nein09 for implementing some handling of not-ready state in the embed!
Not urgent, but at some point, we should revisit that and round it out:
Most importantly, the view page needs this feature too. To achieve that, we should:
From memory, Zoom.it did that. There was a shared component that was a thin wrapper around the Seadragon combo viewer, which took the content info and showed either an error message, queued/progress state, or the actual DZI, depending on the content info.
The text was updated successfully, but these errors were encountered: