riot-web/res/css/views
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
..
audio_messages
auth
avatars
beta
context_menus
dialogs
directory
elements
emojipicker
location
messages Fix deformed avatar in call in a narrow timeline (#12538) 2024-05-16 08:00:57 +00:00
polls/pollHistory
right_panel Add room topic to right panel room info (#12503) 2024-05-10 10:00:43 +00:00
room_settings
rooms Fix E2E icon display in room header (#12545) 2024-05-20 16:08:50 +00:00
settings Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
spaces
terms
toasts fix avatar stretched on 1:1 call (#12494) 2024-05-06 08:28:02 +00:00
typography
user-onboarding
verification
voip