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

Display remaining time as nonnegative number #1971

Conversation

evan-goode
Copy link
Member

Currently, the time estimates in our progress bars are displayed as negative numbers, e.g:

Fedora 42 on Koji                          1% [                  ] |   4.9 KiB/s | 854.1 KiB | -03h18m

This formatting makes sense if the user reads it as "the current time is T minus 3h18m", where T is the time my download will be done. And this is the convention in some contexts, e.g. rocket launches. But it is not idiomatic here, where a user is likely to expect the number to mean "time remaining".

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=2332931
Resolves #1963

Currently, the time estimates in our progress bars are displayed as negative numbers, e.g:
Fedora 42 on Koji                          1% [                  ] |   4.9 KiB/s | 854.1 KiB | -03h18m

This formatting makes sense if the user reads it as "the current time is
T minus 3h18m", where T is the time my download will be done. And this
is the convention in some contexts, e.g. rocket launches. But it is not
idiomatic here, where a user is likely to expect the number to mean
"time remaining".

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=2332931
Resolves rpm-software-management#1963
Copy link
Contributor

@ppisar ppisar left a comment

Choose a reason for hiding this comment

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

Good.

@ppisar ppisar added this pull request to the merge queue Jan 2, 2025
Merged via the queue into rpm-software-management:main with commit 8751434 Jan 2, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

Remaining time to download is negative
2 participants