element-web/test/components/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 Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Tooltip: migrate remaining tooltips from AccessibleTooltipButton to AccessibleButton (#12522) 2024-05-17 14:11:07 +00:00
avatars Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
beacon Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Merge branch 'develop' into andybalaam/stas-demydiuk-membership-type3 2024-03-20 17:25:23 +00:00
dialogs Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00
elements Fix avatar in chat export (#12537) 2024-05-15 13:34:27 +00:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
messages Fix avatar in chat export (#12537) 2024-05-15 13:34:27 +00:00
polls/pollHistory Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
right_panel Add room topic to right panel room info (#12503) 2024-05-10 10:00:43 +00:00
room_settings Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
rooms Use RovingAccessibleButton instead of RovingAccessibleTooltipButton (#12539) 2024-05-17 10:29:30 +00:00
settings Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
spaces Tooltip: Improve accessibility for context menus (#12462) 2024-05-15 14:25:30 +00:00
toasts Remove references to matrix-js-sdk/src/crypto/verification (#12365) 2024-03-25 17:44:45 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Tooltip: improve accessibility for call and voice messages (#12489) 2024-05-07 10:20:52 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00