element-web/test/components/views/dialogs
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
..
__snapshots__ Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
devtools Fix display of room notification debug info (#12183) 2024-01-29 12:38:37 +00:00
security Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
spotlight Migrate more strings to translation keys (#11671) 2023-09-26 18:35:55 +01:00
AccessSecretStorageDialog-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00
AppDownloadDialog-test.tsx Avoid rendering app download buttons if disabled in config (#11741) 2023-10-13 09:43:39 +00:00
AskInviteAnywayDialog-test.tsx Add tests for AskInviteAnywayDialog (#10228) 2023-02-23 10:52:58 +00:00
ChangelogDialog-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
ConfirmRedactDialog-test.tsx Fix jest/valid-expects lints (#11238) 2023-07-13 15:19:44 +00:00
ConfirmUserActionDialog-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
CreateRoomDialog-test.tsx Allow creating public knock rooms (#11481) 2023-09-04 16:09:44 +00:00
DevtoolsDialog-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
ExportDialog-test.tsx Remove Enzyme tests in favour of React testing-library (#10289) 2023-03-06 12:13:17 +00:00
FeedbackDialog-test.tsx Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
ForwardDialog-test.tsx Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
IncomingSasDialog-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00
InteractiveAuthDialog-test.tsx Conform more of the codebase to strict types (#11191) 2023-07-05 11:53:22 +01:00
InviteDialog-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
LogoutDialog-test.tsx LogoutDialog: Remove usage of deprecated keybackup API (#11645) 2023-09-21 18:34:10 +00:00
ManageRestrictedJoinRuleDialog-test.tsx Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
ManualDeviceKeyVerificationDialog-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
MessageEditHistoryDialog-test.tsx Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00
RoomSettingsDialog-test.tsx Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
ServerPickerDialog-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
ShareDialog-test.tsx Fix typing issues 2024-04-15 16:06:01 +02:00
SpotlightDialog-test.tsx Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
UserSettingsDialog-test.tsx Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00