Open lanitochka17 opened 1 week ago
Triggered auto assignment to @VictoriaExpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@VictoriaExpensify 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
Member list page is empty/blank when pressing the multiple display name of a report preview action.
In this old PR, we navigate the user to the report participants page if it's an IOU report (which it is in our case). We do this for both AvatarWithDisplayName (used in the IOU report header) and ReportActionItemSingle display name.
However, all participants are hidden
, so when we get the member list, we get an empty list.
https://github.com/Expensify/App/blob/75614394a2fb1e8114e35bb2d8d33bdd0c565946/src/pages/ReportParticipantsPage.tsx#L72-L73
https://github.com/Expensify/App/blob/75614394a2fb1e8114e35bb2d8d33bdd0c565946/src/libs/ReportUtils.ts#L1850-L1856
If we see the AvatarWithDisplayName case, we now update it so that for the IOU report, we navigate to the report detail instead of the participants page. https://github.com/Expensify/App/blob/75614394a2fb1e8114e35bb2d8d33bdd0c565946/src/components/MoneyReportHeader.tsx#L209-L211 https://github.com/Expensify/App/blob/75614394a2fb1e8114e35bb2d8d33bdd0c565946/src/components/AvatarWithDisplayName.tsx#L78-L82
Also, the IOU report detail page doesn't have a members section.
I suggest changing the navigation to the report details page too for the IOU report. https://github.com/Expensify/App/blob/75614394a2fb1e8114e35bb2d8d33bdd0c565946/src/pages/home/report/ReportActionItemSingle.tsx#L163-L167
Navigation.navigate(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(iouReportID));
I agree this looks buggy and have been able to reproduce the issue:
I believe this belongs to Project VSB
Job added to Upwork: https://www.upwork.com/jobs/~017fcedc031d85e839
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf (External
)
@bernhardoj , thanks for your proposal, your RCA is correct, but the expected results from this issue is to show the members page:
A members page/ modal should open listing all the members
@VictoriaExpensify , can you confirm the expected result here? I agree with @bernhardoj that we should show the reports detail page here instead of members page for IOU, can you confirm this here please :) thanks
friendly bump @VictoriaExpensify
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.85-6 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
A members page/ modal should open listing all the members
Actual Result:
The modal is empty (blank)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/cf7c5f36-dae9-46fb-a2d1-7cd0fb6db1f9
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allgandalf