mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-23 00:30:17 +03:00
3342aa5ff8
* Refactor some logic into common AvatarSetting component We duplicated some of the logic of setting avatars between profiles & rooms. This pulls some of that logic into the AvatarSetting component and hopefully make things a little simpler. * Unsed import * Convert JS based hover to CSS * Remove unnecessary container * Test avatar-as-file path * Test file upload * Unused imports * Add test for RoomProfileSettings * Test removing room avatar * Move upload control CSS too * Remove commented code Co-authored-by: Florian Duros <florianduros@element.io> * Prettier * Coments & move style to inline as per PR suggestion * Better test names Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Fix test Upload input doesn't have that class anymore --------- Co-authored-by: Florian Duros <florianduros@element.io> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> |
||
---|---|---|
.. | ||
__snapshots__ | ||
account | ||
devices | ||
discovery | ||
notifications | ||
shared | ||
tabs | ||
AddPrivilegedUsers-test.tsx | ||
AvatarSetting-test.tsx | ||
ChangePassword-test.tsx | ||
CrossSigningPanel-test.tsx | ||
CryptographyPanel-test.tsx | ||
EventIndexPanel-test.tsx | ||
FontScalingPanel-test.tsx | ||
JoinRuleSettings-test.tsx | ||
KeyboardShortcut-test.tsx | ||
Notifications-test.tsx | ||
PowerLevelSelector-test.tsx | ||
SecureBackupPanel-test.tsx | ||
SettingsFieldset-test.tsx | ||
ThemeChoicePanel-test.tsx |