You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-07-17] [HOLD for payment 2023-07-14] Not able to split money on back button #22302
On chrome staging website > FAB icon > Split Bill > Enter amount > Click Next >Select any user > Click Next to open up the split bill page ( Do NOT click split button)
Now click on the user > Click back and see that the split money page is gone
Expected Result:
Back button should not end the split bill page
Actual Result:
Back button ends the split bill page
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?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.37-1 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
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
The Money Request page and the Profile page are separate screens, seperate RHP flows.
As a result, the following code will replace navigation routes. and the money request flow will be removed after navigating to the user profile page.
// If the target name is RHP that means this action is responsible for changing flow within the RHP e.g. from settings to search. In that case we want to use REPLACE.
Therefore clicking back will close the modal and end the split bill process.
What changes do you think we should make in order to solve the problem?
According to the above code comments, replacing routes when changing flow is intended.
However, I think navigating from split bill or money request to user detail page should follow the same flow and not replace routes.
We can change this line as below.
Looks like something related to react-navigation may have been mentioned in this issue discussion.
As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.
Activity
melvin-bot commentedon Jul 5, 2023
Triggered auto assignment to @puneetlath (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 5, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)OSBotify commentedon Jul 5, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Jul 5, 2023
Current assignee @puneetlath is eligible for the Engineering assigner, not assigning anyone new.
StevenKKC commentedon Jul 6, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Back button ends the split bill page after open user detail page.
What is the root cause of that problem?
The following code is called if clicks the user on the split bill confirmation page.
App/src/components/MoneyRequestConfirmationList.js
Lines 199 to 204 in a2a521d
The Money Request page and the Profile page are separate screens, seperate RHP flows.
As a result, the following code will replace navigation routes. and the money request flow will be removed after navigating to the user profile page.
App/src/libs/Navigation/linkTo.js
Lines 80 to 90 in a2a521d
Therefore clicking back will close the modal and end the split bill process.
What changes do you think we should make in order to solve the problem?
According to the above code comments, replacing routes when changing flow is intended.
However, I think navigating from split bill or money request to user detail page should follow the same flow and not replace routes.
We can change this line as below.
What alternative solutions did you explore? (Optional)
None.
melvin-bot commentedon Jul 6, 2023
Looks like something related to
react-navigationmay have been mentioned in this issue discussion.As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our
DeprecatedCustomActions.jsfiles should not be accepted.Feel free to drop a note in #expensify-open-source with any questions.
33 remaining items
melvin-bot commentedon Jul 17, 2023
Triggered auto assignment to @tjferriss (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 17, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)mountiny commentedon Jul 17, 2023
Reassinging the Bug label to get someone to pay this out
@Santhosh-Sellavel should get $1250 for the review and reporting the bug
Santhosh-Sellavel commentedon Jul 17, 2023
Requested payment on ND
tjferriss commentedon Jul 19, 2023
@Santhosh-Sellavel have you been paid via NewDot?
Santhosh-Sellavel commentedon Jul 20, 2023
Yeah got paid! Good to close this!
melvin-bot commentedon Aug 21, 2023
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.