Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

[Backport staging] Fix progress bar regression throughout the app#9221

Merged
t3chguy merged 1 commit into
stagingfrom
backport-9219-to-staging
Aug 25, 2022
Merged

[Backport staging] Fix progress bar regression throughout the app#9221
t3chguy merged 1 commit into
stagingfrom
backport-9219-to-staging

Conversation

@RiotRobot
Copy link
Copy Markdown
Contributor

@RiotRobot RiotRobot commented Aug 25, 2022

Backport 9b99c96 from #9219.


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • [Backport staging] Fix progress bar regression throughout the app (#9221). Contributed by @RiotRobot.

* Fix useSmoothAnimation enablement not working properly by getting rid of it

Passing duration=0 is more logical and less superfluous

* Refactor UploadBar to handle state more correctly

* Change ProgressBar to new useSmoothAnimation signature and default animated to true for consistency

* Add type guard

* Make types stricter

* Write tests for the ProgressBar component

* Make the new test conform to tsc --strict

* Update UploadBar.tsx

* Update UploadBar.tsx

* Update UploadBar.tsx

(cherry picked from commit 9b99c96)
@RiotRobot RiotRobot requested a review from a team as a code owner August 25, 2022 15:40
@RiotRobot RiotRobot added T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems X-Release-Blocker This affects the current release cycle and must be solved for a release to happen labels Aug 25, 2022
@RiotRobot RiotRobot requested review from SimonBrandner, justjanne and weeman1337 and removed request for a team August 25, 2022 15:40
@github-actions github-actions Bot added the Z-Community-PR Issue is solved by a community member's PR label Aug 25, 2022
@t3chguy t3chguy enabled auto-merge (squash) August 25, 2022 15:41
@t3chguy t3chguy merged commit 877fa9c into staging Aug 25, 2022
@t3chguy t3chguy deleted the backport-9219-to-staging branch August 25, 2022 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems X-Release-Blocker This affects the current release cycle and must be solved for a release to happen Z-Community-PR Issue is solved by a community member's PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants