-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] Android - Search - Empty space instead of user name on search, when inviting members to room #56515
Comments
Triggered auto assignment to @greg-schroeder ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The last message text of the room only shows What is the root cause of that problem?For LHN, we have a logic to build the last message when it's an invite/remove action. Lines 518 to 536 in 33a03bf
But for the search modal, it uses App/src/libs/OptionsListUtils.ts Line 721 in 33a03bf
What changes do you think we should make in order to solve the problem?We can move the invite/remove action logic from App/src/libs/OptionsListUtils.ts Lines 713 to 716 in 33a03bf
This will work for LHN too because Line 501 in 33a03bf
Notice that I don't include the lastActorDisplayName anymore. Line 527 in 33a03bf
This is because the last actor display name for OptionsListUtils is already added here, so it will be a duplicate if I keep it. App/src/libs/OptionsListUtils.ts Lines 824 to 826 in 33a03bf
However, with this change, the last message will now have
This will be the case for both LHN and search modal. If we want to keep the previous behavior, that is without Line 527 in 33a03bf
and update the condition to ignore invite/remove action. App/src/libs/OptionsListUtils.ts Line 822 in 33a03bf
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can create a test for OptionsListUtils.getLastMessageTextForReport and assert the last message text for the invite/remove action. |
@greg-schroeder Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~021889073021511769413 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
sending through to |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.95-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5570851&group_by=cases:section_id&group_order=asc&group_id=296763
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12
App Component: Search
Action Performed:
Expected Result:
Preview of room chat on search, should display the name of the invited user or the message "Invited 1 user" when new members are invited to chat.
Actual Result:
An empty space is displayed instead of user name, on room chat preview on search, when new members are invited.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6735706_1738884924709.Empty.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ahmedGaber93The text was updated successfully, but these errors were encountered: