-
Notifications
You must be signed in to change notification settings - Fork 984
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 group members to mentionable list #12994
Add group members to mentionable list #12994
Conversation
Jenkins BuildsClick to see older builds (9)
|
85% of end-end tests have passed
Failed tests (25)Click to expand
Passed tests (138)Click to expand |
all-contacts (:contacts/contacts db) | ||
current-multiaccount (:multiaccount db) | ||
community-members (get-in db [:communities (:community-id chat) :members])] | ||
(mentionable-users chat all-contacts current-multiaccount community-members))) |
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.
why is an extra method needed?
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.
i mean why don't just have implementation here
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.
@flexsurfer, done 👍, Thanks
c50ff89
to
ad40151
Compare
@Parveshdhull thanks for your work! ISSUE 1: ENS names are resolved in the mention suggestions list and in the chat input field only and are not resolved in other views (i.e. home screen, chat history, 1-1 chat, contacts, etc.)Reproduction:
The issue is not reproducible on Nightly. IMG_1032.MP4UPD (for the record): Currently, the issue is reproducible with these steps (thanks @Parveshdhull for discovering!):
|
99% of end-end tests have passed
Failed tests (1)Click to expand
Passed tests (70)Click to expand |
Tested cases:
@Parveshdhull thanks again for your hard work and for the investigation of the ENS issue! |
ad40151
to
bbbac43
Compare
fixes #12993
Summary
PR implements a feature, which allows users to mention newly joined group members. Group members will be shown in the group chat mention suggestion list, even if they are not their contact.
Code Review:
There was duplicate code in file
subs.cljs
andmentions.cljs
. I tried to reformat and refactor. Please let me know If I missed something.QA Test Request:
As the code of mentioning is reformated, it might have affected other chat types like community or group. So, Please let me know if any of them are not working as expected.
Thanks
status: ready