element-web/test/components/views
David Baker 3c8010b719
Fix display of no avatar in avatar setting controls (#12558)
* New user profile UI in User Settings

Using new Edit In Place component.

* Show avatar upload error

* Fix avatar upload error

* Wire up errors & feedback for display name setting

* Implement avatar upload / remove progress toast

* Add 768px breakpoint

* Fix display of no avatar in avatar setting controls

There was supposed to be a person icon but it was invisible, and also
would have been inappropriate for room avatars anyway.

This makes it match the designs by being the same as whatever the
default avatar is.

* Fix room profile display

* Update to released compund-web with required components / fixes

* Require compound-web 4.4.0

because we do need it

* Update snapshots

Because of course all the auto-generated IDs of unrelated things
have changed.

* Fix duplicate import

* Fix CSS comment

* Update snapshot

* Run all the tests so the ids stay the same

* Start of a test for ProfileSettings

* More tests

* Test that a toast appears

* Test ToastRack

* Update snapshots

* Add the usernamee control

* Fix playwright tests

 * New compound version for editinplace fixes
 * Fix useId to not just generate a constant ID
 * Use the label in the username component
 * Fix widths of test boxes
 * Update screenshots

* Put ^ back on compound-web version

* Split CSS for room & user profile settings

and name the components correspondingly

* Fix playwright test

* Update room settings screenshot

* Use original screenshot instead

* Add required props in test

* Fix test

* Also here

* Update screenshots

* Remove user icon

...which is unused now, as far as I can see.

* Fix styling of unrelated buttons

Needed to be added in other places otherwise the specificity changes.

Also put the old screenshots back.

* Add copyright year

* Fix copyright year

* Switch to useMatrixClientContext

* Fix other test
2024-06-06 17:35:44 +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 Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
elements Tooltip: close field tooltip when ESC is pressed (#12553) 2024-05-28 12:55:47 +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 Add more test for ReactionsRowButton.tsx 2024-05-22 16:24:09 +02:00
polls/pollHistory Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
right_panel Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
room_settings Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
rooms Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
settings Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
spaces New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +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