element-web/res/css/views
David Baker 1696c5cd0a
Change avatarsetting componment to use a menu (#12585)
* 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 edit icon on avatarsetting comnponent

* Change avatarsetting componment to use a menu

As per the designs, remove the 'remove' link and instead have a menu
pop up to either upload a new file or remove the avatar.

This also changes the room profile viw, since that uses the same view.

* 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

* Make clickable with no avatar again and fix tests

and renmove a test for the remove button which is no longer there

* Put back missing CSS to make the menu entry red

* Fix type error

* Fix tests

* Supply open / onOpenChange props

* Fix tests

* There is no hover anymore

* Use the computed name, not the name which may be null

* Fix room avatar remove behaviour

* Remove redundant else
2024-06-07 13:25:21 +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 New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +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 Change avatarsetting componment to use a menu (#12585) 2024-06-07 13:25:21 +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