-
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
[HOLD for payment 2023-11-07] [$500] Scan - App displays 'Split' in title on back from scan request money request #28751
Comments
Job added to Upwork: https://www.upwork.com/jobs/~011c86077fd238d8d9 |
Triggered auto assignment to @muttmuure ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Header incorrectly shows What is the root cause of that problem?We don't check if the request is receipt while setting the header here: App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Line 63 in 81a6a52
We are missing check for Scan Request while setting Header. What changes do you think we should make in order to solve the problem?Add condition to keep the Header title as And only change the title to Split when Header.Manual.webmWhat alternative solutions did you explore? (Optional)Alternatively, we can change the Scan flow to reflect that this is a Scan request. To achieve this, in this useEffect: App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Line 57 in 81a6a52
We will set the header title to 'Scan' if the This will achieve the original goal of reflecting the request type (Tab Name) on the header: Scan.Request.Header.webm |
ProposalPlease re-state the problem that we are trying to solve in this issue.App displays 'Split' in title on back from scan request money request to request money participants page What is the root cause of that problem?The text depends on the selected participant or not In this case, when we select a participant, we update the condition that indicates that we need to use split and here it does not take into account what kind of request What changes do you think we should make in order to solve the problem?We can add the new condition for title App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Lines 57 to 64 in 81a6a52
Like
Screen.Recording.2023-10-03.at.23.21.04.movWhat alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.title of page changes from manual to split on back from scan request money What is the root cause of that problem?the root cause of the problem is this condition: App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Lines 57 to 64 in 81a6a52
on back from scan request money page the iou.participants . array is no longer empty so the condition is false and the title changes.
What changes do you think we should make in order to solve the problem?the setHeader condition should change to |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?Let's see the logic of header message App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Lines 57 to 63 in 7f063c7
In manual request and scan request, we are using _.isEmpty(iou.participants) as a condition for header message. It is incorrect. Because in manual request and Scan request, when clicking any option iou.participants also be updated
What changes do you think we should make in order to solve the problem?
We also do the same thing on Confirmation Page (MoneyRequestConfirmPage)
Because in both manual request and split request we both update I suggest we should create a new state called ResultScreen.Recording.2023-10-05.at.12.38.51.mp4 |
@shawnborton We are displaying "Manual" in the header message of Scan Request. Is it expected? Screen-Recording-2023-10-04-at-14.19.33.mp4 |
Hmmm @JmillsExpensify @trjExpensify thoughts on that one? |
I think this should be |
Then wrt to when
|
Hey @DylanDylann in your vid can you make sure to go through to the confirmation page in the Also on this:
There will be an option to split the bill in scan receipts real soon, so let's not assume that isn't on the way. CC: @youssef-lr |
Yeah, updated video Screen.Recording.2023-10-05.at.20.47.30.1.mp4 |
Huh, it might be because it's late, but why is it now blank in that vid? It should read |
@fedirjh can you review these proposals please? Thanks! |
@trjExpensify Should we cover both the manual and scan in this issue? For the manual request, not only does the header change to CleanShot.2023-10-06.at.21.41.56.mp4 |
This behavior is a flaw in the request flow. Reason:The App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Line 63 in c0fe505
This means when Participants are selected and we are still on the Participants page, the page assumes we are going to split. The way this is designed, if the user comes back, looks like they want to add participants, which triggers split flow.
The Participant options selector only shows The manual and split will have to be redesigned, since this assumption will get in the way. Split showing on Confirmation page is a symptom of this problem, we should probably not hack it with another participants list. The problem is we cannot start a manual request from the participants page in a How to solve this?
|
Hm, interesting. So basically, in the instance of one person being tapped for a 1:1 request, when coming back to the participants page we remember the selection, and because a participant is selected, it's recognised as being in the 01EwtCZf16.mp4
I think I agree we should remove the participant in this case. I can understand not in the split case, because you might be going back to add someone else you forgot to the split. CC: @JmillsExpensify @shawnborton @dannymcclain here's another weird byproduct of this combined request/split participant selector thang. Curious for your take! |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Wahoo! Let's get the PR going :) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.93-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-11-07. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist:
Regression Test Proposal Scan request:
Manual/Split request:
|
@amyevans, @trjExpensify, @fedirjh, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@amyevans, @trjExpensify, @fedirjh, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Confirming payments as follows: $500 to @DylanDylann for the fix PR took more than 3 days, so #urgency bonus doesn't apply. |
Thanks for those, @fedirjh! Created an issue for Applause. |
Settled up with you all. Thanks! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
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:
App should not display 'Split' in header when coming back from scan request as we don't allow adding user for split in scan request
Actual Result:
App displays 'Split' in header when coming back from scan request even though we don't allow adding user for split in scan request
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.77.2
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
ios.native.split.in.title.on.back.mov
android.chrome.split.in.title.on.back.mp4
ios.safari.split.in.title.on.back.mov
mac.desktop.split.in.title.on.back.mov
mac.chrome.split.in.title.on.back.mov
windows.chrome.split.in.header.issue.mp4
Recording.4840.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696334987842689
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: