]> source.dussan.org Git - nextcloud-server.git/commit
Smooth time remaining, bitrate and stabilize user information
authorPhlogi <Phlogi@users.noreply.github.com>
Tue, 7 Dec 2021 21:05:13 +0000 (22:05 +0100)
committerFerdinand Thiessen <opensource@fthiessen.de>
Sat, 26 Aug 2023 13:03:38 +0000 (15:03 +0200)
commitace7374613dc08dd5a4fe6c4e8652031761c265a
tree95948047feea78227b4165ad04491cf7c86be1ce
parentea090a30ada8028cfcdf8b8065d6ab7aa0f43a0c
Smooth time remaining, bitrate and stabilize user information

Besides the existing moving average, a smoothing factor is introduced for the time remaining display as well as the bitrate.
Furthermore, half of the buffer needs to be filled before the first prediction is displayed to the user. This reduces volatile and jumping durations towards the user and improves usability.

Signed-off-by: Cyrill H. <phlogi@posteo.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
apps/files/js/file-upload.js