-
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 2024-10-08][$250] Bank account - Double RHP animation when clicking on "connect bank accont" #49503
Comments
Triggered auto assignment to @garrettmknight ( |
@garrettmknight FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account - Double RHP animation when clicking on "connect bank accont" What is the root cause of that problem?
App/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx Lines 312 to 322 in 25450d9
What changes do you think we should make in order to solve the problem?We should prevent calling the navigation in the What alternative solutions did you explore? (Optional)Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.RHP animation gets shown twice What is the root cause of that problem?After we navigate to the route App/src/libs/actions/ReimbursementAccount/navigation.ts Lines 20 to 22 in 25450d9
What changes do you think we should make in order to solve the problem?We should modify
App/src/libs/actions/ReimbursementAccount/navigation.ts Lines 20 to 22 in 25450d9
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Double RHP animation when clicking on "connect bank account" What is the root cause of that problem?On the Workflow page, we navigate to the ReimbursementAccountPage with an empty string for stepToOpen.
Then, another navigation is triggered here because the currentStep in Onyx and the step in the route are different. What changes do you think we should make in order to solve the problem?In the navigateToBankAccountRoute function, we introduced a new parameter
we pass stepToOpen as ROUTE_NAMES.NEW here, we also need to update other areas that use this function. Or even we could eliminate the navigateToBankAccountRoute function and use Navigation.navigate directly with the correct params What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021837132579404847952 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
@garrettmknight, @mollfpr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
ProposalPlease re-state the problem that we are trying to solve in this issue.The connect bank account page slide animation isn't smooth. What is the root cause of that problem?On the bank account page, we have a navigation code that will be called whenever the step is changed.
When we open the bank account page, the step is initially empty and will be updated to The navigation code is there to update the step params of the bank account page. What changes do you think we should make in order to solve the problem?Instead of using
|
@Krishna2323 The comparison doesn't make sense to me, we could have different
@nkdengineer When the user navigates to connect a bank account it shows the continue setup or start over, there's no step decided yet, so it makes sense to start with an empty string. @cretadn22 It Seems your solution is similar but has a different implementation. I think the proposal from @bernhardoj makes sense here and the double animation is not happening. We still have the correct route set up. 🎀 👀 🎀 C+ reviewed! |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Works for me! |
PR is ready cc: @mollfpr |
PR is on staging |
on prod 14 hours ago. Is there like a serious issue with automations right now? EDIT: yes, but it's being fixed! |
Payment Summary:
|
@mollfpr can you complete the checklist please? |
Not overdue? |
Requested in ND. |
I couldn't determine the offending PR.
The regression step should be enough.
|
Confirming this is the correct payment summary:
|
@garrettmknight , for auditing purposes, so that we know if a contributor is paid/due and where they've been paid, can you use the below format, as per the main payment SO Contributor: @ paid $ via Upwork Thx |
$250 approved for @mollfpr |
$250 approved for @bernhardoj based on this summary. |
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.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
RHP animation gets shown only once
Actual Result:
RHP animation gets shown twice
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6608862_1726749444034.bandicam_2024-09-19_15-31-14-322.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: