Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Nov 15, 2019

Implements element-hq/element-web#11222
Requires matrix-org/matrix-js-sdk#1072
Fixes element-hq/element-web#11338

All of this should be hidden behind the feature_user_info_panel feature flag. Shall I make the effort of renaming it to make it clear that this is also about the new design?

As we don't show devices anymore when the room is not encrypted, I added a big "Verify" button in the security section to start the verification through the dialog (the screenshots were made before this button was added).

In general, the commits should be reviewable individually, apart from a few of the last ones that are not entirely in order. sorry about that.

image
image

Make it a circle with the profile picture centered, with a max height/width of 30vh
While we don't have canonical DMs yet, it takes you to the most recently active DM room
also don't download devices as long as room is not encrypted
as they are only used for verification right now, and verification events will be unverified by definition, so no need to alarm users needlessly. Also, this breaks the bubble layout on hover due to e2e icons and verified left border style.
still saves when changing the selector though
as the powerlevel on the member is not yet updated at the time RoomState.events is emitted. Also listen on the client for this event as the currentState object can change when the timeline is reset.
one while editing (PowerLevelEditor) and one while not editing (PowerLevelSection). Also save when pressing the button, not when changing the power dropdown. Also show the spinner next to the dropdown when saving, not at the bottom of the component.
@bwindels bwindels force-pushed the bwindels/userinfomakeover branch from 6f8ce37 to d416ba2 Compare November 15, 2019 15:14
@dbkr dbkr requested review from dbkr and removed request for a team November 15, 2019 16:01
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very plausible! Thanks for doing all the CSS - would have taken me a lot of time & swearing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants