-
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
[$1000] IOU - Preview IOU disappears at the end of the conversation after requesting it #30147
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Job added to Upwork: https://www.upwork.com/jobs/~01ee8a739c4993763c |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
I am not reproducible on staging. Is it in production? |
Is this a bug? All IOUs are merged and made into a single IOU preview. Looks like expected behaviour. |
Hi, I checked this bug but I didn't find issues like video. |
📣 @goldendragon430! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Hi, I checked this bug but I didn't find issues like video. |
Hello I also couldn't reproduce it. Even tried with "Slow 3G" / "Offline mode" - it works without issues |
📣 @andriishupta! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
May be related to (or a dupe of) #29607 (comment) |
asking in #29607 if this will be fixed with that job |
I think we should have only a single IOU preview with a pay button but I think there should be an IOU message in the correct place in the chat history when the original amount was requested. So the video looks not quite right |
@roryabraham confirmed this is different. It is reproducible. So basically it sounds like we want the IOUs to always be anchored at the bottom of the chat thread, is that correct @roryabraham? |
not exactly. There should be an item in the correct place in the chat history for each IOU. The last such item should have a more expanded IOU preview component with a pay button, showing the total debt from all IOU requests on the report |
Thanks @roryabraham! We'll keep this open and are looking for proposals! |
@Christinadobrzyn agreed for IOU payment actions. For previous requests I think it should be "You requested $20" or "Rory requested $20 (paid)" |
@cooldev900 Thanks for your proposal. Your proposal seems correct but I think @paultsimura's proposal is more simpler than yours and does not rely on storing / creating new IOU keys. As such, I think we should go with there proposal. I would also agree with both of you that backend changes are needed for this so we add the plaintext version of the previous requests inside the chat report. @roryabraham Could you make those changes? In the meantime, we can fix this for the optimistic case from the frontend. If any discrepancies come up after backend changes are in, we can deal with those in a followup issue. @roryabraham Again, let us know if you agree with above. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@roryabraham bump on #30147 (comment) @allroundexperts That said, I think if a solution requires backend changes at all, the issue should be made internal |
Current assignee @allroundexperts is eligible for the Internal assigner, not assigning anyone new. |
ah sorry - I made this |
I'm not sure to be honest. I've seen a lot of issues that are external but require backend changes as well. |
I think this could maybe be folded into our VIP - Split P2P Chat Groups so maybe we should keep this @GabiHExpensify could you review this GH and see if it's something that could be tied into the Split P2P VIP? This could also maybe be part of Wave 7 since Split is involved there too. cc @RachCHopkins |
@allroundexperts, @MitchExpensify, @grgia, @Christinadobrzyn Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@allroundexperts, @MitchExpensify, @grgia, @Christinadobrzyn Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Asking if this fits into Wave 7 - https://expensify.slack.com/archives/C02NZ2HGJAZ/p1702937923040459 |
@allroundexperts What BE changes would be required for this in the case we went with your suggested proposal? |
@grgia currently, in a chat report, we have a single action of type |
This is not reproducible anymore. Also, note that in the recording of the issue the total number of requests goes from 7 to 6, that's when the REPORTPREVIEW moves up, then gets back to 7 and it moves down to the correct position. Screen.Recording.2023-12-20.at.19.46.26.movCan we try reproducing this again please? |
Sorry for the delay in responding. I know I recently fixed and issue where the IOU preview jumps to the wrong place in the chat history. It might be the case that a plaintext record of the original request is actually a new feature not a bug / scope creep, but it definitely makes sense to me and I think I recall seeing it in mockups way back when. Maybe need to ask for clarification in slack |
Slack discussion: https://expensify.slack.com/archives/C03U7DCU4/p1703104272565009 |
Ok, it sounds like the plaintext record of the IOU actions in the chat report is not currently expected / would be a new feature. Currently that stuff is tracked in the money request report (IOU/Expense report), but not in the chat report. The chat report only ever has 0 or 1 report preview actions, which move around in the history. The original bug has been fixed here, and this is not a feature request to include more records in the chat report, so I'm going to close this. |
For future context – we're eventually planning to have a record of IOU actions in the parent report (i.e: the chat report), but it's blocked on comment linking. When we have comment linking implemented, then we'll be able to post a link to IOU actions as a plaintext comment in the parent action (codename "post to parent" or "push to parent"). I think that's planned somewhere |
Is this the same issue? |
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: 1.3.88.3
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:
Expected Result:
The IOU preview should not disappear from its place. There should be an item in the correct place in the chat history for each IOU. The last such item should have a more expanded IOU preview component with a pay button, showing the total debt from all IOU requests on the report.
Actual Result:
The IOU preview disappears at the end of the conversation after a request and reappears in its old place in the conversation history
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6245891_1697924495755.Recording__573.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: