element-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 Fix blowout of waveform of the voice message player on narror UI 2023-02-20 23:55:59 +09:00
auth Prepare for OIDC QR Login PR (#12463) 2024-04-30 17:18:55 +00:00
avatars Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
beta Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
context_menus Mark as Unread (#12254) 2024-03-19 13:28:20 +00:00
dialogs Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
directory Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
elements Improve readability of badges and pills (#12360) 2024-03-22 00:27:13 +00:00
emojipicker Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
location Apply prettier formatting 2022-12-12 12:24:14 +01:00
messages Fix deformed avatar in call in a narrow timeline (#12538) 2024-05-16 08:00:57 +00:00
polls/pollHistory Poll history - make poll history independent from dialogs (#10349) 2023-03-12 20:22:30 +00:00
right_panel Add room topic to right panel room info (#12503) 2024-05-10 10:00:43 +00:00
room_settings Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
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 Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
terms Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
toasts fix avatar stretched on 1:1 call (#12494) 2024-05-06 08:28:02 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
verification Default to system emoji font (#11925) 2023-11-23 13:04:05 +00:00
voip Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00