Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Conversation

thereis
Copy link
Contributor

@thereis thereis commented Apr 23, 2025

This pull request enhances the file upload feature by adding estimated time remaining for uploads, improving the user interface, and refactoring related code for better maintainability. Key changes include introducing time estimation logic, updating the file list UI to display upload progress and time information, and adding new i18n strings for localization.

Screenshot

image

@stonith404
Copy link
Owner

Thanks, this is a nice addition :)

The estimated time doesn't work correctly if there are more than 3 files. Here is an example:
Screenshot 2025-05-04 at 20 45 23@2x

It correctly calculates the time for the first three files that are currently uploading, but it does not account the estimated time of the other two files that are queued.

{uploading &&
uploadable &&
file.estimatedTimeRemaining !== undefined && (
<Tooltip label={t("upload.filelist.time-remaining")}>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this tooltip really necessary? The column has already a label.

Copy link
Owner

@stonith404 stonith404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides my two comments, everything looks good to me. Thanks :)

@GitNees
Copy link
Contributor

GitNees commented May 22, 2025

I was about to check into this, but wanted to add a percentage and upload speed indicator also... might look into this later perhaps, having an estimated time is a start

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants