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

Show bytes downloaded #13

Open
rduivenvoorde opened this issue Jan 26, 2019 · 6 comments
Open

Show bytes downloaded #13

rduivenvoorde opened this issue Jan 26, 2019 · 6 comments

Comments

@rduivenvoorde
Copy link
Owner

With the new downloadProgress signal you can (if available) see the amount of bytes downloaded.
After finishing (or during download) this could be shown.

@nyalldawson
Copy link
Collaborator

I was thinking a great way of exposing this would be adding icons for requests, which "fill up" as the request progresses. Requests with undefined total size would show an infinite spinner, others would show something like https://www.freepik.com/free-vector/loading-icons_901192.htm

(And errors would have a "!" Icon, timeouts some specific icon too...)

Maybe we need to get @nirvn on board here?

@rduivenvoorde
Copy link
Owner Author

More or less related to this. Would it be better to add currenttimemillies in the Request in core, or should I/we just do this dynamic in python? I'm thinking about changing the tooltip, which now has the (often rather long url with all query params), to the result.
Well maybe start of with the url, and if finished set the tooltip to:
Done, Status: 200 - text/xml; charset=utf-8 - 2334 bytes - 657 milliseconds

@rduivenvoorde
Copy link
Owner Author

See #19 for adding this to tooltips

@nirvn
Copy link

nirvn commented Feb 3, 2019

@rduivenvoorde , @nyalldawson , here are progress icons, styled to match our spinne:
progress_svgs.zip

I've made 10 steps, i.e 0%, 10%, 20%, ... 100%.

@rduivenvoorde
Copy link
Owner Author

@nirvn Cool, thanks! Look nice. Will add them if I find some time after my 'search tree' thinghie.
Did you already think about the 'infinit spinner' and 'error spinner' too, or do you want to wait to see these first? Anyway: thanks.

@nirvn
Copy link

nirvn commented Feb 4, 2019

Infinite spinner already shipped within QGIS (used in the browser panel). I think you'll find a good error icon in what QGIS ships too.

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

3 participants