Skip to content
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 2024-12-19] [$125] Web - RHP - Going back closes the RHP Instead of navigating to the confirm page #53253

Open
1 of 8 tasks
IuliiaHerets opened this issue Nov 28, 2024 · 14 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 28, 2024

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: 9.0.68-0
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #51630
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Log in with new Gmail account
  3. Open a DM
  4. Press + and choose Pay option
  5. Enter any amount in USD and go Next
  6. Press Pay with Expensify. A validate page will show
  7. (web/desktop) Refresh
  8. Go back

Expected Result:

Going back should navigate us to the confirm page.

Actual Result:

Going back closes the RHP

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6679178_1732806280071.bandicam_2024-11-28_17-51-50-902.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021864112749864088782
  • Upwork Job ID: 1864112749864088782
  • Last Price Increase: 2024-12-04
  • Automatic offers:
    • DylanDylann | Reviewer | 105193680
    • FitseTLT | Contributor | 105193682
Issue OwnerCurrent Issue Owner: @twisterdotcom
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@FitseTLT
Copy link
Contributor

FitseTLT commented Nov 28, 2024

Edited by proposal-police: This proposal was edited at 2024-11-28 15:59:30 UTC.

Proposal

Please re-state the problem that we are trying to solve in this issue.

Web - RHP - Going back closes the RHP Instead of navigating to the confirm page

What is the root cause of that problem?

We are navigating back without the backTo


onBackButtonPress={() => Navigation.goBack()}

What changes do you think we should make in order to solve the problem?

We need to pass the backTo to the goBack

        Navigation.goBack(route.params.backTo);

What alternative solutions did you explore? (Optional)

But if we want to navigate to the backTo only on BackButtonPressed here


and not onClose and onModalHide we can create a separate onBackPressed prop for ValidateCodeActionModal and pass the goBack with backTo passed as a callback and call it from only onBackButtonPress so that the onClose and onModalHide will call the normal backTo or dismissModal
isVisible={isVisible}
onClose={hide}
onModalHide={onModalHide ?? hide}

Copy link

melvin-bot bot commented Dec 2, 2024

@twisterdotcom Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@twisterdotcom twisterdotcom added the External Added to denote the issue can be worked on by a contributor label Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021864112749864088782

@melvin-bot melvin-bot bot changed the title Web - RHP - Going back closes the RHP Instead of navigating to the confirm page [$250] Web - RHP - Going back closes the RHP Instead of navigating to the confirm page Dec 4, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann (External)

@melvin-bot melvin-bot bot removed the Overdue label Dec 4, 2024
@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Dec 4, 2024
@twisterdotcom twisterdotcom changed the title [$250] Web - RHP - Going back closes the RHP Instead of navigating to the confirm page [$125] Web - RHP - Going back closes the RHP Instead of navigating to the confirm page Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

Upwork job price has been updated to $125

@DylanDylann
Copy link
Contributor

@FitseTLT's proposal looks good to me

🎀 👀 🎀 C+ Reviewed

Copy link

melvin-bot bot commented Dec 4, 2024

Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@dangrous
Copy link
Contributor

dangrous commented Dec 4, 2024

Yep that looks good to me!

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Dec 4, 2024

📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 5, 2024
@melvin-bot melvin-bot bot changed the title [$125] Web - RHP - Going back closes the RHP Instead of navigating to the confirm page [HOLD for payment 2024-12-19] [$125] Web - RHP - Going back closes the RHP Instead of navigating to the confirm page Dec 12, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 12, 2024
Copy link

melvin-bot bot commented Dec 12, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 12, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.74-8 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 2024-12-19. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Dec 12, 2024

@DylanDylann @twisterdotcom @DylanDylann The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants