-
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
[$500] IOU - In request money, all contacts below are displayed only after few seconds #30137
Comments
Job added to Upwork: https://www.upwork.com/jobs/~016bc9faaeaf508c70 |
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.I see 2 issues here. What is the root cause of that problem?For the first issue, the participant list depends on App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Lines 90 to 94 in cb5aeb1
The data will be populated in this App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Lines 216 to 245 in cb5aeb1
For the second issue, it's related to the
Those list item includes the section header and footer, even if we don't set them. Because the If you notice, it only sums up to 10. So, where are the other 2 items? Those 2 items are the header and footer of the first section on the list that has empty data. App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Lines 107 to 117 in cb5aeb1
Notice that we always push it into the section array without any checking. The first section is the selected participant which is obviously empty when we haven't selected anyone yet This issue happens on the new chat page too What changes do you think we should make in order to solve the problem?For the first issue, instead of using both const newChatOptions = useMemo(() => {
const chatOptions = OptionsListUtils.getFilteredOptions(...);
return {recentReports: chatOptions.recentReports, personalDetails: chatOptions.personalDetails, userToInvite: chatOptions.userToInvite};
}, [betas, reports, participants, personalDetails, translate, searchTerm, iouType, isDistanceRequest]); For the second issue, either increase the +if (participants.length > 0) {
const formatResults = OptionsListUtils.formatSectionsFromSearchTerm(...);
newSections.push(formatResults.section);
indexOffset = formatResults.newIndexOffset;
+} same solutions applies to NewChatPage |
Going to triage today! |
I'm unable to reproduce this. Opening of contacts is quick for me on android native. 2023-10-23_18-07-29.mp4 |
Closing as this isn't consistently reproducible! |
@joekaufmanexpensify hi, the issue is still constantly reproducible. Notice that the list is initially empty and when it's shown, only a few contacts are visible. This is how it looks after the fix: Screen.Recording.2023-10-24.at.10.42.22.mov |
@joekaufmanexpensify what do you think from my previous comment? |
Got it. I still don't think this warrants doing anything. There's no impact to the user experience here. We just aren't showing all of the contacts in the brief moment before the android keyboard opens. If you close the keyboard, you can still see all contacts. |
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: 1.3.88-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
In request money, in contacts selection page, all contacts in contacts section below must be displayed immediately without delay
Actual Result:
In request money, in contacts selection page, the contacts below are displayed only after few seconds. Below in contacts section, only 2 contacts are shown and only after few seconds all contacts are displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Bug6245851_1697920307663.use.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: