-
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 for payment 2023-08-10] [$1000] Web - infinite loop on click of back button when go to connect bank account page of deleted policy #23167
Comments
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - infinite loop on click of back button when go to connect bank account page of deleted policy What is the root cause of that problem?We are using App/src/pages/ReimbursementAccount/ReimbursementAccountPage.js Lines 338 to 340 in 2d2008a
App/src/pages/workspace/WorkspacesListPage.js Lines 175 to 177 in 2d2008a
What changes do you think we should make in order to solve the problem?Change this LOC to: onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WORKSPACES)} |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - infinite loop on click of back button when go to connect bank account page of deleted policy What is the root cause of that problem?Because of using What changes do you think we should make in order to solve the problem?We can remove What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Infinite loop on click of back button when go to connect bank account page of deleted policy What is the root cause of that problem?In
And then, We call navigate back function with App/src/pages/workspace/WorkspacesListPage.js Lines 175 to 177 in 2d2008a
What changes do you think we should make in order to solve the problem?We can add
App/src/pages/workspace/WorkspacesListPage.js Lines 175 to 177 in 2d2008a
What alternative solutions did you explore? (Optional)We also can call
App/src/pages/workspace/WorkspacesListPage.js Lines 175 to 177 in 2d2008a
|
ProposalPlease re-state the problem that we are trying to solve in this issue.I agree with expectation in GH issue: Hide the model on click of back button from "hmm... it's not here" page if we're visit the page by direct link. What is the root cause of that problem?As other proposal already pointed out, in the ReimbursementAccountPage, we always navigate to WS setting when page not found
And in WS setting page, we goBack to previous page if we click on back arrow in top head App/src/pages/workspace/WorkspacesListPage.js Line 177 in 6bcd184
In this case, it will back to previous page not found => Loop What changes do you think we should make in order to solve the problem?I agree with expectation in GH issue: Hide the model on click of back button from "hmm... it's not here" page if we're visit the page by direct link. So in order to do it, in this callback button
We need to check if we're visit this page by direct link (I think we can verify it by checking current route is the first/top one using |
OOO for 10 days |
Triggered auto assignment to @joekaufmanexpensify ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
Reproduced! I updated OP as the expected behavior here should be that when the user clicks back on the Hm, it's not here page, we navigate back to the workspaces page. And then if they click back from there, back to the Settings page. |
Job added to Upwork: https://www.upwork.com/jobs/~0105141c978bfd9133 |
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
Pending review of proposals |
@situchan Could you provide an update on your review of these proposals when you have a chance? |
Pending update |
Bumped in Slack. |
📣 @ginsuma 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thanks for accepting my proposal. The PR #23843 is ready for review. |
🎯 ⚡️ Woah @situchan / @ginsuma, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.49-3 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-08-10. 🎊 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: As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@situchan mind completing the BZ checklist here when you have a sec? |
We can now detect such issues in PR stage thanks to this new checklist item:
|
Great, thanks! BZ checklist is complete. All set to issue payment tomorrow. |
This qualified for a speed bonus, so we need to make the following payments:
|
All three offers are accepted in Upwork, so we'll issue payment tomorrow, and then close this out! |
@ginsuma $1,500 sent and contract ended! |
@situchan $1,500 sent and contract ended! |
@gadhiyamanan $250 sent and contract ended! |
Upwork job closed. |
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thanks everyone! |
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:
After clicking back button from "hmm... it's not here" page, we'd navigate to the Workspaces page (https://staging.new.expensify.com/settings/workspaces). Then, clicking back from there would navigate to the settings page.
Actual Result:
Infinite loop on click of back button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.42-9
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
Screen.Recording.2023-07-18.at.6.14.24.PM.mov
Recording.3741.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689684394065279
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: