Closed lanitochka17 closed 4 days ago
Triggered auto assignment to @mallenexpensify (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.
@mallenexpensify 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
The connect bank account page slide animation isn't smooth.
On the bank account page, we have a navigation code that will be called whenever the step is changed. https://github.com/Expensify/App/blob/c11ae2f8244bbef15c153bfaa8bb707a5d1ab645/src/pages/ReimbursementAccount/ReimbursementAccountPage.tsx#L312
When we open the bank account page, the step is initially empty and will be updated to /new
which is mapped to BankAccountStep that shows whether to connect manually or with Plaid.
The navigation code is there to update the step params of the bank account page. However, the navigation code is called while the slide animation is still ongoing which makes it not smooth.
Instead of using navigate
to update the params, we can use setParams
.
Navigation.setParams({stepToOpen: getRouteForCurrentStep(currentStep)});
Triggered auto assignment to @shawnborton (Design
), see these Stack Overflow questions for more details.
@shawnborton 👀 plz, I think this is the bug
Yup, agree that it looks like a bug.
Seems like @bernhardoj has a good solution but let's get an engineer/C+ assigned to review. I also wonder if this is happening in other places too.
Job added to Upwork: https://www.upwork.com/jobs/~01747cba36f37ce546
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External
)
Thanks @shawnborton @getusha and @bernhardoj can you dig around to see if you can find other instances we can fix at the same time as this?
@getusha can you review @bernhardoj 's proposal above too plz
@bernhardoj, the solution seems to work, but I don't think we have a complete RCA.
Check out this branch: https://github.com/software-mansion-labs/expensify-app-fork/tree/exclude-magic-code-from-last-visited-path. I am not able to reproduce the issue. We need to make sure we fix the root cause if possible.
It doesn't happen in https://github.com/software-mansion-labs/expensify-app-fork/tree/exclude-magic-code-from-last-visited-path because navigating to the same page does nothing which is from this PR.
@shawnborton, @mallenexpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick!
Looks like a regression from https://github.com/Expensify/App/pull/43651
Before https://github.com/Expensify/App/pull/42335, navigation action to the same screen with the same name and params is executed.
After that PR, the action is ignored. https://github.com/Expensify/App/pull/43651 fixed it if the params are different. It's the same case as: https://github.com/Expensify/App/blob/d005e6ec239b74aed37d26e5a584e6a85fce3bc7/src/libs/Navigation/linkTo/index.ts#L84-L93
What's the next step here? @madmax330 and @eh2077 , do you agree with @getusha 's comment above that this looks like a regression from https://github.com/Expensify/App/pull/43651 ?
Reminder to self to check on this before issue payment
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@shawnborton @mallenexpensify @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@shawnborton, @mallenexpensify, @getusha Eep! 4 days overdue now. Issues have feelings too...
I am not able to repro this after reverting https://github.com/Expensify/App/pull/43651, will dig into this more tomorrow.
Found another place where this issue is happening.
https://github.com/Expensify/App/assets/75031127/c02014fd-6f71-4efc-ae35-fcc3902653e5
It's also happening if you click Settings
in the RHP too.
https://github.com/Expensify/App/assets/22508304/bee66310-611a-46b2-95c6-dd7278a170bc
Are these the repro steps @getusha? If so, Any reason I shouldn't update the OP with the steps?
Members
or Settings
The other RHP sliding animation issue is currently caused by the focus trap which is being handled in https://github.com/Expensify/App/issues/44421 I believe. It affects the bank account page too.
But when the focus trap issue is fixed, our issue here will still exist.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Are these the repro steps @getusha? If so, Any reason I shouldn't update the OP with the steps?
I think one instance is enough, they all seem to have a common root cause.
@shawnborton, @mallenexpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick!
@bernhardoj does your proposal need to be updated before @getusha reviews?
The solution for our issue is still the same, but looks like I can't repro this anymore
I think this got fixed here https://github.com/Expensify/App/issues/44421 we can close this @mallenexpensify (you're assigned there too 😅 )
for this we can close https://github.com/Expensify/App/issues/39463 without payment for C+
you're assigned there too 😅 )
d'oh, sorry I didn't catch that sooner.
for https://github.com/Expensify/App/issues/43920#issuecomment-2195955423 we can close https://github.com/Expensify/App/issues/39463 without payment for C+
Can you provide more context here, I'm unsure how they're related.
Can you provide more context here, I'm unsure how they're related.
@mallenexpensify I got paid twice (via newDot and upwork) in that issue and we planned to close this without a payment to compensate that.
Let's keep that issue separate for now @getusha .
Closing
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.85-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The animation should be smooth, and without any distortions
Actual Result:
Connect bank account one moment page sliding animation is distorted. The sliding animation is choppy and you can see the text at it's intended position before the animation finishes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/92468aee-3491-49a6-83b6-a81c8ac44f83
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @getusha