-
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
[HOLD 19119][$1000] Offline - Infinite loading in case of Send a money to the user you have never chatted before #19318
Comments
Triggered auto assignment to @dylanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~010c9cbd6bae33acb1 |
Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @MonilBhavsar ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Offline - Infinite loading in case of Send a money to the user you have never chatted before What is the root cause of that problem?
=> It's reason why reportActions of chatReport is empty => It shows skeleton reportActions view when we navigate to chatReport in offline mode.
What changes do you think we should make in order to solve the problem?I think we need to replicate what we did for RequestMoney, both FE + BE. For more details:
|
@hoangzinh Thank you for the proposal. However, I don't believe you are addressing the correct issue. I can see from your screenshot that the result differs from what was expected. Please double-check the expected result:
Actually IOU Preview is not displayed on offline mode, even If we have an existing chat report Screen.Recording.2023-05-21.at.11.14.09.PM.mov |
@fedirjh Thanks for quickly review proposal. I'm confused on term "IOU". So what is our expected: which one should be greyed out in chatReport? |
@hoangzinh For chat report , I think any action taken offline should be grayed out same as new comment. "IOU" refers to "I owe you". I think our expected result is the second one for this case. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Infinite loading when sending money to another user that never chats before. What is the root cause of that problem?There're 2 reports that are of concern when sending money:
In Line 993 in 8180113
What changes do you think we should make in order to solve the problem?We need to add these optimistic report actions for the Regular chat as well:
Also this line https://github.com/Expensify/App/blob/8180113819532fe5503bc3719ba46ffc566e4ead/src/libs/actions/IOU.js#LL987C9-L987C9 should be moved outside of the What alternative solutions did you explore? (Optional)
Result |
Still receiving proposals! Nice! |
Hmm, I feel like these proposals could also factor in this issue here? |
ProposalUpdated here #19318 (comment) |
Triggered auto assignment to @bfitzexpensify ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
I'm heading OOO tomorrow for about a week so adding another BZ member while I'm away to help keep the train moving! 🚂 Thanks @bfitzexpensify!! |
This could be due to the fact that the only reportAction that exists in the chat report at that point is the reportPreview action and it's still not being added optimistically. If that's the case, yes https://github.com/Expensify/Expensify/issues/284588 should address that. |
Yep I agree this should wait for the implementation from Cristi |
Still on hold! |
@cristipaval @mountiny any update here? |
I'm making the PR ready for review today. |
amazing, @cristipaval any updates? |
the PR is still in review, almost there |
We deprecated |
Ah great shout @JmillsExpensify - @cristipaval mind weighing in? I think we should actually hold on this PR |
The PR that this issue is held on was deployed. The thing is that this issue can't be reproduced anyway, since the Send Money flow is disabled. |
Interesting - so not reproducible because of it being disabled, but not necessarily meaning it doesn't still exist? |
This should be fixed by my PR. I would close this issue for now, I'm sure we'll retest the entire Send money feature if we'll enable it again. Thoughts? |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Greyed out IOU should be displayed
Actual Result:
Infinite loading
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.16.5
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6061287_RPReplay_Final1684511309.mp4
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: