-
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] Expense - Preview shows 0 requests briefly when visiting workspace chat for the first time #33949
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01eca5a466b3de3517 |
Triggered auto assignment to @sakluger ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.On the first render of the ReportPreview action, the total requests count is set to 0. What is the root cause of that problem?We are calculating the total number of requests using App/src/libs/ReportActionsUtils.ts Lines 626 to 631 in 8aec07c
This value is updated in Onyx only after the successful And the App/src/components/ReportActionItem/ReportPreview.js Lines 153 to 154 in 8ff9006
What changes do you think we should make in order to solve the problem?We can use const numberOfRequests = ReportActionUtils.getNumberOfMoneyRequests(props.action) || _.size(TransactionUtils.getAllReportTransactions(props.iouReportID));
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Preview shows 0 requests briefly when visiting workspace chat for the first time. We are trying to avoid showing this briefly. What is the root cause of that problem?Briefly showing of As per the discussion here cc @mountiny , to tackle performance problems, BE would want to send just enough data and FE would be used to display just that with little modifications. And I am not sure if relying on To me, it looks like showing the preview subtitle even when What changes do you think we should make in order to solve the problem?We can prevent showing the preview subtitle if
What alternative solutions did you explore? (Optional) |
|
The root cause mentioned by the contributors is correct, we don't have the |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@sakluger, @abdulrahuman5196 Eep! 4 days overdue now. Issues have feelings too... |
Checking internally on this now: https://expensify.slack.com/archives/C05DWUDHVK7/p1705435853915939 |
We do want to fix this! I've added to Wave 5 - Release 5, and I am changing the priority to weekly since it's polish, which is lower priority. |
@sakluger Could you kindly provide update if you have any? I don't have access to the mentioned slack chat? |
We may need to hold one more day to find out if this is BE or can be done in the FE, sorry for the wait. |
I threw the hot pick label so we can find an internal engineer to help. |
Current assignee @abdulrahuman5196 is eligible for the External assigner, not assigning anyone new. |
I heard back from our engineers - We'd like this solved in the front end. Thanks for checking! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thank you for the confirmation. Will check on frontend fixes. |
Will be working on proposal review today. |
@sakluger I don't see this issue anymore. Could you kindly check on this? Screen.Recording.2024-01-31.at.8.24.47.PM.mov |
@sakluger @neil-marcellini @abdulrahuman5196 this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks! |
Current assignee @abdulrahuman5196 is eligible for the Internal assigner, not assigning anyone new. |
@sakluger To check on this #33949 (comment) |
I'm also not able to reproduce the bug, so I'm going to close this. 0totalBug.mov |
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: v1.4.21-4
Reproducible in staging?: y
Reproducible in production?: y
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:
Precondition: There are a few manual requests and ongoing scanning requests in the workspace chat.
Expected Result:
The expense preview will show the number of requests.
Actual Result:
The expense preview shows 0 requests briefly, while there is no issue with the number of scanning requests.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6332084_1704370716093.20240104_085815.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: