element-web/test
ElementRobot 877fa9c5c4
Fix progress bar regression throughout the app (#9219) (#9221)
* 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 9b99c967f4)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-08-25 16:47:48 +01:00
..
__snapshots__
accessibility
audio
autocomplete
components Fix progress bar regression throughout the app (#9219) (#9221) 2022-08-25 16:47:48 +01:00
editor
events
hooks
i18n
i18n-test
images
img
models
modules
notifications
settings
setup
stores
test-utils
utils
.eslintrc.js
Avatar-test.ts
CallHandler-test.ts
ContentMessages-test.ts
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
Markdown-test.ts
MatrixClientPeg-test.ts
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts
ScalarAuthClient-test.ts
SlashCommands-test.tsx
Terms-test.tsx
TextForEvent-test.ts
Unread-test.ts
UserActivity-test.ts
createRoom-test.ts
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js
useTopic-test.tsx