-
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
[Awaiting Payment 26th Aug, 2024] [$250] Expense - Incorrect member count in report details after commenting or inviting another member #46660
Comments
Triggered auto assignment to @trjExpensify ( |
@trjExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.member count doesn't agree with the member list count What is the root cause of that problem?The criteria to hide a hidden participant is not the same in details page App/src/pages/ReportDetailsPage.tsx Lines 139 to 140 in 49f0958
and in participants page App/src/pages/ReportParticipantsPage.tsx Lines 67 to 68 in 49f0958
What changes do you think we should make in order to solve the problem?The members menu item navigates to two page: participants and members page based on the report type as in here App/src/pages/ReportDetailsPage.tsx Lines 309 to 315 in 49f0958
What we should do is the members menu count shown in the count should be the length of the members list shown in participants or members page so we should make those values agree.
App/src/pages/ReportParticipantsPage.tsx Lines 67 to 68 in 49f0958
and if the detail doesn't exist App/src/pages/ReportParticipantsPage.tsx Lines 71 to 74 in 49f0958
2. In members page the should ExcludeHidden is true App/src/pages/RoomMembersPage.tsx Lines 172 to 173 in 49f0958
and also we filter out optimistic duplicate accountID or the detail doesn't exist here App/src/pages/RoomMembersPage.tsx Lines 180 to 184 in 49f0958
So we calculate the members count based on these conditions
We can leave out the What alternative solutions did you explore? (Optional) |
Sending external, but I'd like @puneetlath eyes on this as it's related to hidden members behaviour. |
Job added to Upwork: https://www.upwork.com/jobs/~01ca5b97965eb72787 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.In Step 6, the member count shows 1 member, when there are three members in the report (Step 7) What is the root cause of that problem?We already fix the missing members issue in ReportParticipantPage in PR What changes do you think we should make in order to solve the problem?We should apply the same fix in: App/src/pages/ReportDetailsPage.tsx Line 140 in 157afbf
What alternative solutions did you explore? (Optional) |
true |
Updated proposal to fix minor typo issue |
@daledah proposal only updates the condition to get participants based on So we can go with @FitseTLT this proposal. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @suneox 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Not overdue, job is assigned to @FitseTLT |
@FitseTLT Could you please update the ETA? |
PR will be ready tomorrow 👍 |
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.15-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4784292
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
In Step 6, the member count will update correctly
Actual Result:
In Step 6, the member count shows 1 member, when there are three members in the report (Step 7)
This issue also happens when user comments on the expense report without inviting a third user
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6557055_1722323368219.20240730_150250.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: