-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement new memberlist design with MVVM architecture #28874
Conversation
1. Use MemberInfo instead of RoomMember 2. CSS changes to reflect the new design
We used the EntityTile component as a pretend overflow tile in some places. This new lighter component is added so that we can remove the complex EntityTile component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component must be retained since it's used in multiple other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PresenceLabel
component must still be retained since it's used in UserInfo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were using EntityTile
to create a sort of overflow tile. Adding this much simpler component will allow us to remove EntityTile
for good.
c6cd3cf
to
ec78793
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
ede94c2
to
58f5d9b
Compare
58f5d9b
to
37a6d09
Compare
8e8a5cb
to
2bf96cc
Compare
For https://github.com/element-hq/wat-internal/issues/224
Implements MVVM architecture where the view is a react component that depends on the view-model. The view model is implemented as custom react hooks.