-
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
[$250] Wallet - Check Box is unselected when changing Account Type #55688
Comments
Triggered auto assignment to @cead22 ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Different behavior on prod (bank account flow) bandicam.2025-01-24.02-13-31-549.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~021882570613169902798 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dominictb ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When user changes account types the check box for Terms of service gets unchecked What is the root cause of that problem?We are not considering the default condition for the toggle to be checked based on the formValues here: App/src/pages/settings/Wallet/InternationalDepositAccount/substeps/Confirmation.tsx Lines 174 to 179 in d930fea
What changes do you think we should make in order to solve the problem?Add default value to it based on the form filled values by passing this prop to the defaultValue={!!formValues.acceptTerms} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)NA Screen.Recording.2025-01-24.at.5.48.21.AM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.The checkbox is unselected after changing account type What is the root cause of that problem?The confirmation step is unmounted when we go to the account type step. The account type step doesn't use App/src/pages/settings/Wallet/InternationalDepositAccount/substeps/AccountType.tsx Line 34 in 4b8278b
The reason it's an empty string instead of App/src/components/Form/FormProvider.tsx Line 294 in 4b8278b
What changes do you think we should make in order to solve the problem?We have two options to fix this issue
App/src/pages/settings/Wallet/InternationalDepositAccount/substeps/AccountType.tsx Line 34 in 4b8278b
Using Optional: We can add What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)NA Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@cead22, @dominictb Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@cead22, @dominictb Eep! 4 days overdue now. Issues have feelings too... |
Waiting for proposal reviews |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@mkzie2 provided correct RCA. Let's go with this solution to follow our form convention. LGTM 🎀👀🎀 |
Current assignee @cead22 is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @mkzie2 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@cead22, @dominictb, @mkzie2 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@dominictb The PR is ready for review. |
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.89-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #54798
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The checkbox should remain selected after changing account type
Actual Result:
The checkbox is unselected after changing account type
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6722248_1737672192939.Screen_Recording_2025-01-24_at_1.37.24_at_night.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dominictbThe text was updated successfully, but these errors were encountered: