riot-web/test/components/views/elements
Michael Telatynski 9b99c967f4
Fix progress bar regression throughout the app (#9219)
* 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
2022-08-25 16:39:00 +01:00
..
__snapshots__
AccessibleButton-test.tsx
AppTile-test.tsx
EventListSummary-test.tsx
ExternalLink-test.tsx
InteractiveTooltip-test.ts
LabelledCheckbox-test.tsx
Linkify-test.tsx
PollCreateDialog-test.tsx
ProgressBar-test.tsx Fix progress bar regression throughout the app (#9219) 2022-08-25 16:39:00 +01:00
ReplyChain-test.tsx
StyledRadioGroup-test.tsx
TooltipTarget-test.tsx