![]() * 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
|
||
---|---|---|
.. | ||
__snapshots__ | ||
accessibility | ||
audio | ||
autocomplete | ||
components | ||
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 |