You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show actual upload speed in kb/s in tooltip of upload progress bar #3866
Currently I'm running Nextcloud 11.0.2 on Ubuntu 16.04 server and I'd love to be able to display the current upload speed in the web interface.
Right now my web inteface only displays the usual upload percentage and time remaining. Seeing the upload speed would give the user an overview of the current server performance and would maybe cause them to postpone large file uploads if upload speeds are slow at the moment.
I've posted about this on the forum and was redirected to post a feature request here. Is there any chance this could be implemented?
System info:
Nextcloud Version 11.0.2 stable
Ubuntu 16.04 Xenial
Apache 2.4.18
PHP 7.0.15
Sincerely,
Sebastian Klein
Reacted by Schmuuu, Eric Daly, KB7777, Ben Schumacher, Gabriel Kolar, d1ffuser, methuselah-0, sowdowdow, Xhelliom, Tobias and 8 more
changed the title [-][Feature request] Show actual upload speed in kb/s in web interface[/-][+]Show actual upload speed in kb/s in web interface[/+]on Apr 5, 2017
@jancborchardt We had this in the past: do you know the reason why we dropped it? I guess it's because we have the rough estimate and that should be fine, right?
@MorrisJobke@jancborchardt I don't really see a reason not to make this an option. The upload speed should be available to grab for display serverside (or maybe client side) anyways since I guess that the remaining upload time is being calculated with it and the file size remaining. Please correct me if I'm wrong.
@MorrisJobke@jancborchardt I don't really see a reason not to make this an option. The upload speed should be available to grab for display serverside (or maybe client side) anyways since I guess that the remaining upload time is being calculated with it and the file size remaining. Please correct me if I'm wrong.
The speed is not really used. We only do a rough estimate based on bytes upload vs bytes to be uploaded and time that passed by. So this is at most an average speed.
If we want to display the speed at all, we could do it in a tooltip on hovering the progress bar. Showing it directly is not necessary as the information is less important than the progress.
@jancborchardt that sounds awesome! Obviously it's not a feature that the mainstream of nextcloud users is asking for so your suggestion would be a good compromise.
changed the title [-]Show actual upload speed in kb/s in web interface[/-][+]Show actual upload speed in kb/s in tooltip of upload progress bar[/+]on Jun 8, 2017
@sebastianklein96 would you be interested in diving in to do that? :) If you have any questions, you can ask here or join our IRC channel #nextcloud-dev. :)
@jancborchardt to be honest I most likely don't have the skills to do so. Basic HTML/CSS and a fair bit of Java is probably the limit of what I can offer 😄 but I'll still have a look around when I've got time over the coming weekend.
On a different note, thanks for making OC/NC happen. It's made working with people a whole lot easier for me!
This is absolutely enough. :) Simply use the web inspector a bit to check out which element you need to add it to. Check out how other parts of the app (like the date / size column) do the nice tooltips. Then there’s most likely a tiny bit of PHP involved but the people in #nextcloud-dev are happy to help with that. :) Or even if you just open a pull request with the basic changes (like showing a tooltip there with some content) we can help you add the rest.
On a different note, thanks for making OC/NC happen. It's made working with people a whole lot easier for me!
Sure, you’re welcome! Would be cool to have you as contributor too. ;)
I recently switched from Seafile to Nextcloud and not having a proper upload status is a little bit annoying.
Personally, I find the design of the Seafile upload status much more appealing and it has more information like currently uploading file, transfer speed etc.
And again, if it goes into core we should do it nicely integrated as I described above at #3866 (comment)
If we want to display the speed at all, we could do it in a tooltip on hovering the progress bar. Showing it directly is not necessary as the information is less important than the progress.
@jancborchardt i looked at the code and it seems like a tooltip was already intended but the data is set on the wrong HTML attribute ? i got it to work but i cant figure out how to update the tooltip live while it is open without disposing and reregistering it which causes an ugly flicker. do you know how to pull that off?
Activity
[-][Feature request] Show actual upload speed in kb/s in web interface[/-][+]Show actual upload speed in kb/s in web interface[/+]MorrisJobke commentedon Apr 5, 2017
@jancborchardt We had this in the past: do you know the reason why we dropped it? I guess it's because we have the rough estimate and that should be fine, right?
sebastianklein96 commentedon Apr 5, 2017
@MorrisJobke @jancborchardt I don't really see a reason not to make this an option. The upload speed should be available to grab for display serverside (or maybe client side) anyways since I guess that the remaining upload time is being calculated with it and the file size remaining. Please correct me if I'm wrong.
MorrisJobke commentedon Apr 5, 2017
The speed is not really used. We only do a rough estimate based on bytes upload vs bytes to be uploaded and time that passed by. So this is at most an average speed.
sebastianklein96 commentedon Apr 5, 2017
@MorrisJobke thanks for the clarification!
jancborchardt commentedon Jun 4, 2017
If we want to display the speed at all, we could do it in a tooltip on hovering the progress bar. Showing it directly is not necessary as the information is less important than the progress.
Does that sound ok @sebastianklein96?
sebastianklein96 commentedon Jun 5, 2017
@jancborchardt that sounds awesome! Obviously it's not a feature that the mainstream of nextcloud users is asking for so your suggestion would be a good compromise.
[-]Show actual upload speed in kb/s in web interface[/-][+]Show actual upload speed in kb/s in tooltip of upload progress bar[/+]jancborchardt commentedon Jun 8, 2017
@sebastianklein96 would you be interested in diving in to do that? :) If you have any questions, you can ask here or join our IRC channel #nextcloud-dev. :)
sebastianklein96 commentedon Jun 8, 2017
@jancborchardt to be honest I most likely don't have the skills to do so. Basic HTML/CSS and a fair bit of Java is probably the limit of what I can offer 😄 but I'll still have a look around when I've got time over the coming weekend.
On a different note, thanks for making OC/NC happen. It's made working with people a whole lot easier for me!
jancborchardt commentedon Jun 9, 2017
This is absolutely enough. :) Simply use the web inspector a bit to check out which element you need to add it to. Check out how other parts of the app (like the date / size column) do the nice tooltips. Then there’s most likely a tiny bit of PHP involved but the people in #nextcloud-dev are happy to help with that. :) Or even if you just open a pull request with the basic changes (like showing a tooltip there with some content) we can help you add the rest.
Sure, you’re welcome! Would be cool to have you as contributor too. ;)
lenusch commentedon Jun 23, 2017
Yes, i want that too and please with correct Time stamps. Everytime i am uploading files 1GB 10GB it always sais "finished in a few seconds" ... :-D
15 remaining items
reox commentedon Oct 22, 2019
I recently switched from Seafile to Nextcloud and not having a proper upload status is a little bit annoying.
Personally, I find the design of the Seafile upload status much more appealing and it has more information like currently uploading file, transfer speed etc.
kesselb commentedon Oct 22, 2019
https://apps.nextcloud.com/apps/uploaddetails
reox commentedon Oct 22, 2019
Unfortunately, this seems to not work right now (see the issue in the repo)
Also, why not upstream it?
juliusknorr commentedon Oct 22, 2019
@reox See #3866 (comment)
Everybody is welcome to propse a pull request to add the popover @jancborchardt mentioned.
reox commentedon Oct 22, 2019
@burgha would you like to convert your app into a PR?
burgha commentedon Oct 22, 2019
@reox i cant promise anything but i'll see what i can do
jancborchardt commentedon Oct 22, 2019
And again, if it goes into core we should do it nicely integrated as I described above at #3866 (comment)
burgha commentedon Oct 22, 2019
@jancborchardt i looked at the code and it seems like a tooltip was already intended but the data is set on the wrong HTML attribute ? i got it to work but i cant figure out how to update the tooltip live while it is open without disposing and reregistering it which causes an ugly flicker. do you know how to pull that off?
jancborchardt commentedon Oct 22, 2019
@juliushaertl @ma12-co maybe you can help @burgha? :)
juliusknorr commentedon Oct 23, 2019
@burgha Maybe you can open a pull request with your current code changes, then we can have a look there.
burgha commentedon Oct 23, 2019
@juliushaertl i opened a pull request. thanks for having a look
mariusurbelis commentedon Feb 1, 2020
Please please implement this!! 💔
burgha commentedon Feb 1, 2020
@mariusurbelis it's already done, as of Nextcloud 18 you can hover over the progressbar to see more details
mariusurbelis commentedon Feb 1, 2020
How did I not spot this.. Thanks!