-
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 2024-11-26] [$250] Company cards - Error appears after tapping the explanation link for the first time #52144
Comments
Triggered auto assignment to @trjExpensify ( |
Edited by proposal-police: This proposal was edited at 2024-11-07 03:52:51 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Validation error appears when pressing the link in company card step. What is the root cause of that problem?The validation shows every time the input is blurred. When we press the text link, the text input blurs. This doesn't happen in web because by default, we preventDefault it. App/src/components/TextLink.tsx Line 35 in afa7b33
In native, pressing a button normally doesn't blur the active input. But in our case, the page is wrapped with a ScrollView with no App/src/pages/workspace/companyCards/addNew/DetailsStep.tsx Lines 175 to 208 in afa7b33
What changes do you think we should make in order to solve the problem?We can add OR We can just remove the ScrollView and move the Text inside FormProvider because FormProvider already uses a ScrollView which already has App/src/pages/workspace/companyCards/addNew/DetailsStep.tsx Lines 175 to 190 in afa7b33
App/src/components/Form/FormWrapper.tsx Lines 163 to 177 in afa7b33
(we need to remove the padding from text because FormProvider already has the horizontal margin.) OR Don't use the ScrollView (remove it). |
Let's get eyes from @mountiny @allgandalf @DylanDylann on the approach here. What technical approach do we take on native for other links in forms, like a terms link in a RHP form? |
Nice one QA. @allgandalf @DylanDylann which one of you wants to take this one and review the proposals so its in line with how we handle it elsewhere in the app? |
I can help on this issue |
Assigned! Sending |
Job added to Upwork: https://www.upwork.com/jobs/~021856152080745182402 |
Current assignee @DylanDylann is eligible for the External assigner, not assigning anyone new. |
I can't reproduce this bug. @bernhardoj Could you reproduce this bug? Screen.Recording.2024-11-12.at.09.27.22.mov |
I was able to reproduce this, should i take over @DylanDylann ? |
We need enable the keyboard on simulator to reproduce this bug |
@bernhardoj's proposal looks good to me. I prefer the second solution 🎀 👀 🎀 C+ Reviewed |
Current assignee @mountiny is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @DylanDylann |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.63-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 2024-11-26. 🎊 For reference, here are some details about the assignees on this issue:
|
@DylanDylann @trjExpensify @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] |
$250 to @bernhardoj and $125 to @DylanDylann For Dylan the payment is less as he is working on this as a project and we agreed for lower base price |
Cool, sounds good! Payment summary as follows:
@DylanDylann can we get the checklist, please? I believe regression tests will be added centrally for the project, but it would be good to identify where this error was missed to give the author(s) a heads up. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
Requested in ND. |
$250 approved for @bernhardoj |
Great, thanks. 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: 9.0.58-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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
Issue found when executing PR #51575
Action Performed:
Expected Result:
After tapping the explanation link under the input field user is redirected to the relevant web page
Actual Result:
Error appears under the input field "This field is required" after tapping the explanation link for the first time. User is successfully redirected to the relevant page after tapping the link second time
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6656970_1730926601363.Company_cards.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: