-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Request money: 0.00 is shown for a seconds before updating its amount #25523
Comments
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Current assignee @puneetlath is eligible for the Engineering assigner, not assigning anyone new. |
Can I work on this issue @puneetlath ? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Request money: show 0.00 for seconds before updating its amount What is the root cause of that problem?This is a regression from this PR Now we are getting amount and currency info from the transaction App/src/components/ReportActionItem/IOUPreview.js Lines 146 to 147 in 03cf0b1
We get pusher events for the newly created iou action but that events don't include any transaction data as you can see in the below screenshot We get transaction data when opening report When we open an IOU report, we have all actions data(from pusher events) but don't have transaction data. So This is the root cause What changes do you think we should make in order to solve the problem?Here is a solution
with
This works as expected Note: This is a workaround. I am suggesting this because this is a deploy blocker. This issue should be fixed in the backend(The backend should send pusher event including transaction) What alternative solutions did you explore? (Optional) |
@s-alves10 this is not valid solution as we cannot rely on the reportAction data when request is being edited. @puneetlath This is not a deploy blocker fwiw. The reason is that the ReportActionItem is not re-rendering when the transaction object changes, but we are working on this with @luacmartins and should be resolved soon |
This has the same root cause and is a dupe of #24608. Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Actual Result:
the requested money is 0.00 for a second
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.55-5
Reproducible in staging?: y
Reproducible in production?: n
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
Notes/Photos/Videos: Any additional supporting documentation
Screenshare.-.2023-08-18.8_55_29.PM.mp4
Recording.1478.mp4
Expensify/Expensify Issue URL:
Issue reported by: @misgana96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692242726950869
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: