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
Add memberlist right-panel to Hydrogen #395
Conversation
a823d68
to
a90defb
Compare
For #403 |
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 is looking great! I tried it out and the sorting and disambiguation seemed to work quite well.
I came across a few things in this first review, see the comments.
} | ||
const updater = (vm, params, newMember) => { | ||
vm.updateFrom(newMember); | ||
this.nameDisambiguator.disambiguate(vm); |
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.
Noticed something here. MappedMap
won't run the mapper in onRemove
. This will cause any user who leaves and rejoins a room to appear disambiguated.
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.
Ah yes, can you check for this in the mapper when it is run in onAdd?
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.
Fixed for now but there are related issues. For instance if user-A and user-B are disambiguated and user-B leaves the room, we'd ideally want user-A to be un-disambiguated (which we can't really do atm because the disambiguator does not get informed when user-B leaves).
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.
good point, I think this is fine though for now.
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.
Nice work so far, left some comments on the lazy list view.
68f2694
to
f942637
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.
looking good, we're almost there!
|
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
- TODO: Remove duplication Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
- Ensure that rightpanel does not show in the URL. - Create an action of details to insert the rightpanel segment. - Make sure rightpanel can be a child of room. Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
- Also remove old methods used in RoomDetails Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
- Do not disambiguate name on room rejoin Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
8f2dcbc
to
1a721fe
Compare
Fantastic work, this is good to go! |
No description provided.