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

fix: regression (leech percentage) from earlier progress-indicator work #5114

Merged
merged 6 commits into from Mar 5, 2023

Conversation

dareiff
Copy link
Member

@dareiff dareiff commented Mar 1, 2023

This is not only a regression fix for leeching percentage display, but actually goes quite a bit deeper into ALL of the various states. All of my sincere apologies for not noticing leech state earlier and jumping the PR gun. (See last paragraph for fixes to this problem.)

Screenshot 2023-03-01 at 10 25 16 AM

Screenshot 2023-03-01 at 10 29 27 AM

I found a few more statuses that I missed that didn’t match native client ui:

  • queued
  • paused queued
  • paused leech
  • paused magnet
  • dark mode variants
  • verify percentage and color
  • plus some good old fashioned cascading fixes

This got a lot of testing, dark and light modes. There are some future improvements I’d like to make on this, but those are in the hopper on another branch that will be in a minor (semver) PR.

This obviously brings up the fact that it's hard to cover all torrent states, so I'm working on some mock data we can use with a visual regression too. issue

This was a regression that I missed from last year.
The web client now uses the same progress indicators from the client,
and also slightly changes the color based on light/dark mode.

transmission#4303
I found a few more statuses that I missed that didn’t match native client ui:
- queued
- paused queued
- paused leech
- paused magnet
- dark mode variants
- verify percentage and color

Plus, reduce brightness of some colors in light mode.

This got _a lot_ of testing.

This obviously brings up the fact that it's hard to cover all torrent states, so I'm working on some mock data we can use with a visual regression too. [issue](transmission#5107)
@GaryElshaw
Copy link
Contributor

This is great work, @dareiff.

@ckerr ckerr added this to the 4.0.2 milestone Mar 2, 2023
@dareiff dareiff marked this pull request as ready for review March 3, 2023 21:15
@ckerr ckerr added type:ui type:fix A bug fix semver:patch make backwards compatible bug fixes labels Mar 5, 2023
@ckerr ckerr merged commit 811b2aa into transmission:main Mar 5, 2023
@dareiff dareiff deleted the progress-indicators branch March 6, 2023 00:23
@ckerr
Copy link
Member

ckerr commented Mar 6, 2023

Notes: Improved colors in both light & dark mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:web semver:patch make backwards compatible bug fixes type:fix A bug fix type:ui
Development

Successfully merging this pull request may close these issues.

None yet

4 participants