-
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
[$500] Bank Account - Navigation Problem in "Get assistance" page after a reload #31892
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01a9f115ad31668583 |
Triggered auto assignment to @slafortune ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
👋 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:
|
Triggered auto assignment to @cead22 ( |
📣 @github-actions[bot]! 📣
|
Production - different behavior. Recording.1938.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Back from assistance page after reload doesnt go back to the connect bank page What is the root cause of that problem?the back navigation is set to the workspace settings url: App/src/pages/GetAssistancePage.js Line 85 in d521dd6
What changes do you think we should make in order to solve the problem?since the url of the get assistance page doesnt contain the workspace id https://staging.new.expensify.com/get-assistance/WorkspaceBankAccount we need to add to do that first we need to modify the then here we need to change it to: onPress={singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.GET_ASSISTANCE.getRoute(guidesCallTaskID, activeRoute))))} where the activeRoute is and finally inside the getAssistancePage: we create a handleBack function: const backTo = lodashGet(props.route, 'params.backTo', '');
const handleNavigateBack = () => {
if (!_.isEmpty(backTo)) {
Navigation.goBack(backTo);
} else {
Navigation.goBack(ROUTES.SETTINGS_WORKSPACES);
}
}; and call this function here: onBackButtonPress={handleNavigateBack} POC:Screen.Recording.2023-11-27.at.10.01.03.AM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Navigate back from Get assistance page leads to Workspace list page after reloading while it should be Connect bank account page. What is the root cause of that problem?When we get to the App/src/pages/GetAssistancePage.js Line 85 in d985a0e
What changes do you think we should make in order to solve the problem?Because
GET_ASSISTANCE: {
route: 'get-assistance/:taskID',
getRoute: (taskID: string, backTo: string) => getUrlWithBackToParam(`get-assistance/${taskID}`, backTo),
},
Navigation.navigate(ROUTES.GET_ASSISTANCE.getRoute(
guidesCallTaskID,
Navigation.getActiveRoute()
))
const navigateBackTo = lodashGet(props.route, 'params.backTo', ROUTES.SETTINGS_WORKSPACES); onBackButtonPress={() => Navigation.goBack(navigateBackTo)} What alternative solutions did you explore? (Optional)NA |
I dont think this is a deploy blocker, fwiw it seems to work better than production 😂 Demoting |
@abzokhattab If you have major changes, please update that in a separated proposal. Your initial proposal did not cover the main ideas, also implementation details can always be handled in the PR. |
Hi @tienifr , I disagree with you the main idea was already mentioned in the first version (which is the same as yours). in the second version, i added the code changes for the proposed solution. There is no breaking change in the proposal, both versions have the same RCA and solution approach but the second one i added the code changes. |
📣 @ntdiary 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @allroundexperts Please request via NewDot manual requests for the Contributor role ($500) |
Should I have unassigned @ntdiary before assigning @allroundexperts? |
Sure, I have just unassigned myself. 😂 |
Thanks for the proposals everyone! @abzokhattab Your initial proposal was too generic and lacked any details on how you were to implement the persistence of previous route. While concrete implementation details are not necessarily required for a proposal to be accepted, a general high level explanation of the @tienifr's proposal explains the root cause and proposes a clear solution as well. I think we should go with them. 🎀 👀 🎀 C+ reviewed |
Current assignee @cead22 is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Thanks @allroundexperts for your response .. "how you implement the persistence of the previous route" --> i mentioned the high-level solution by stating that we can save the current URL in the again i still see that both versions go in the same direction and i didn't introduce a breaking change in my proposal, i just added the changes. Thanks |
@abzokhattab thanks for the note, I definitely understand where you're coming from, since we try to balance succinctness with clarity, and I think in this case a little more detail would've made your proposal more immediately obvious as to what it was doing. I hope this doesn't discourage you from making other proposals, but in order to move this forward, I'm going to assign @tienifr to this issue |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR ready for review #32466. |
This issue has not been updated in over 15 days. @cead22, @slafortune, @allroundexperts, @tienifr eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@slafortune I think we're good to proceed with payments here, the PR was deployed to production 3 weeks ago |
@slafortune friendly bump on this, thanks! |
I am so sorry for the delay with this @tienifr ! I hadn't noticed this once it moved to monthly and didn't have the payment date in the title 😭 Paid! |
@allroundexperts Please request via NewDot manual requests for the Reviewer role ($500) |
$500 approved for @allroundexperts based on comment above. |
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: v1.4.3-6
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
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation: @
Action Performed:
Expected Result:
page navigates to the "Connect bank account" page
Actual Result:
page navigates to the "Workspace" page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6290112_1700900010646.test18_Navigation.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: