Skip to content

Show actual upload speed in kb/s in tooltip of upload progress bar #3866

Closed

Description

@sebastianklein96

Hey!

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

Activity

  1. 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
  2. MorrisJobke commented on Apr 5, 2017

    @MorrisJobke
    Member

    @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?

  3. sebastianklein96 commented on Apr 5, 2017

    @sebastianklein96
    Author

    @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.

  4. MorrisJobke commented on Apr 5, 2017

    @MorrisJobke
    Member

    @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.

  5. sebastianklein96 commented on Apr 5, 2017

    @sebastianklein96
    Author

    @MorrisJobke thanks for the clarification!

  6. jancborchardt commented on Jun 4, 2017

    @jancborchardt
    Member

    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?

  7. sebastianklein96 commented on Jun 5, 2017

    @sebastianklein96
    Author

    @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.

  8. 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
  9. added
    good first issueSmall tasks with clear documentation about how and in which place you need to fix things in.
    on Jun 8, 2017
  10. jancborchardt commented on Jun 8, 2017

    @jancborchardt
    Member

    @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. :)

  11. sebastianklein96 commented on Jun 8, 2017

    @sebastianklein96
    Author

    @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!

  12. jancborchardt commented on Jun 9, 2017

    @jancborchardt
    Member

    Basic HTML/CSS

    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. ;)

  13. lenusch commented on Jun 23, 2017

    @lenusch

    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

  14. 15 remaining items

  15. reox commented on Oct 22, 2019

    @reox

    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.

  16. kesselb commented on Oct 22, 2019

    @kesselb
    Contributor
  17. reox commented on Oct 22, 2019

    @reox

    https://apps.nextcloud.com/apps/uploaddetails

    Unfortunately, this seems to not work right now (see the issue in the repo)
    Also, why not upstream it?

  18. juliusknorr commented on Oct 22, 2019

    @juliusknorr
    Member

    @reox See #3866 (comment)

    Everybody is welcome to propse a pull request to add the popover @jancborchardt mentioned.

  19. reox commented on Oct 22, 2019

    @reox

    @burgha would you like to convert your app into a PR?

  20. burgha commented on Oct 22, 2019

    @burgha
    Member

    @reox i cant promise anything but i'll see what i can do

  21. jancborchardt commented on Oct 22, 2019

    @jancborchardt
    Member

    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.

  22. burgha commented on Oct 22, 2019

    @burgha
    Member

    @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?

  23. jancborchardt commented on Oct 22, 2019

    @jancborchardt
    Member

    @juliushaertl @ma12-co maybe you can help @burgha? :)

  24. juliusknorr commented on Oct 23, 2019

    @juliusknorr
    Member

    @burgha Maybe you can open a pull request with your current code changes, then we can have a look there.

  25. burgha commented on Oct 23, 2019

    @burgha
    Member

    @juliushaertl i opened a pull request. thanks for having a look

  26. mariusurbelis commented on Feb 1, 2020

    @mariusurbelis

    Please please implement this!! 💔

  27. burgha commented on Feb 1, 2020

    @burgha
    Member

    @mariusurbelis it's already done, as of Nextcloud 18 you can hover over the progressbar to see more details

  28. mariusurbelis commented on Feb 1, 2020

    @mariusurbelis

    @mariusurbelis it's already done, as of Nextcloud 18 you can hover over the progressbar to see more details

    How did I not spot this.. Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofenhancementfeature: filesgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions