element-web/res
David Baker 3342aa5ff8
Refactor some logic into common AvatarSetting component (#12544)
* 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>
2024-05-21 10:37:02 +00:00
..
css Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
fonts Fix 1F97A and 1F979 in Twemoji COLR font (#12175) 2024-01-24 13:02:16 +00:00
img Mark all threads as read button (#12378) 2024-03-28 17:38:21 +00:00
media Reduce and normalise volume of notification sounds to LUFS 20 at TP of -9 (#9143) 2023-06-15 07:35:33 +00:00
themes Improve readability of badges and pills (#12360) 2024-03-22 00:27:13 +00:00