riot-web/playwright
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
..
e2e Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
pages
plugins
sample-files
snapshots Fix E2E icon display in room header (#12545) 2024-05-20 16:08:50 +00:00
.gitignore
Dockerfile Update all non-major dependencies (#12530) 2024-05-16 08:40:07 +00:00
docker-entrypoint.sh
element-web-test.ts
flaky-reporter.ts
global.d.ts
tsconfig.json