-
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 2023-03-06] [$1000] The Terms of Service checkbox doesn't respond properly while navigating the connect bank account flow #14972
Comments
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
Hmm. I'm not sure I necessarily agree with the bug here - it seems to me that if you uncheck the Terms of Service checkbox and then return back to that page, it should remain unchecked, not show as checked again. I think the bug might actually be that the checkbox is showing checked when it shouldn't. Going to start a discussion in Slack |
Discussion in Slack validates my thinking here - the bug is actually that the checkbox remains checked after unchecking it and later returning to the screen. |
Updated issue title and adjusted the details in the OP to reflect the incorrect behavior |
Job added to Upwork: https://www.upwork.com/jobs/~0180c6f0674b5baa7b |
Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @NikkiWines ( |
Hey, sorry @rushatgabhane , I overlooked that. I have fixed it now, hope this proposal solves the problem |
ProposalPlease re-state the problem that we are trying to solve in this issue.In connect bank account page, The terms of Service checkbox does not reflect the checked/unchecked draft value correctly, when we open step 1 again then previously unchecked checkbox shows as checked What is the root cause of that problem?Problem is with default value of the accepted Terms chcekbox, default value is alway beinng passed true due to the naming issue, we are passing What changes do you think we should make in order to solve the problem?I would say we use the note adding a code for better understanding Demo14972.mov |
@jayeshmangwani i get the intent behind adding a diff, but we recently changed our guidelines to strictly say no to diffs. Thanks for understanding |
@jayeshmangwani please update the proposal to exactly define the problem |
@rushatgabhane Thanks , I have removed diffs from proposal |
|
@rushatgabhane hey, I have updated the problem statement |
ProposalPlease re-state the problem that we are trying to solve in this issue.The checkbox remains checked, incentivizing the user to try to continue with the flow. However, the form then shows the error "You must accept the Terms of Service to continue". What is the root cause of that problem?This is a regression from #14866 Lines 239 to 242 in b113107
With the changes added in this PR #14866 , If we have a App/src/components/CheckboxWithLabel.js Line 78 in b113107
In conclusion input value is different from it's state value in the form. the input has default value and the form has draft value. What changes do you think we should make in order to solve the problem?
@rushatgabhane should I repost my solution here ? What alternative solutions did you explore? (Optional)I have noticed that when data of bank account is saved in the server , then |
Assigned, contract extended |
Hi @NikkiWines @rushatgabhane , the PR is ready for review. Please help me check it. Thank you! |
Please help me review the PR when you're available @rushatgabhane. Thank you! |
📣 @tienifr! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Contributor detail was already added in here |
Hi @greg-schroeder @NikkiWines @rushatgabhane, below is my regression test. Regression Test ProposalBug: The terms of service checkbox does not respond properly while navigating the connect bank account flow Proposed Test Steps: Connecting bank account (language: English)1, Open workspace => connect bank account manually, enter valid information for first 3 steps Adding debit card (language: English)1, Open workspace => Payments => Add payment method => Debit card, enter valid information.
Connecting bank account (language: English)1, Open workspace => connect bank account manually, enter valid information for first 4 steps
Enabling payments (language: English)1, Open Enable Payments
To test in language: Spanish, please change language from English to Spanish then follow test steps for language: English because they are identical Do we 👍 or 👎 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.76-7 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 2023-03-06. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
We can raise this in slack if necessary but I think this came about largely because QA steps weren't robust enough in this scenario. It's a bit of a niche flow for the user to go through to begin with, but hopefully with @tienifr's regression test proposal and more diligent testing for these type of changes, we won't see the same kind of bugs get to production. |
@tienifr - paid |
Everyone paid, job closed |
Regression test issue: https://github.com/Expensify/Expensify/issues/266422 |
@greg-schroeder I think this is eligible for the PR timeliness bonus since the PR was merged within 3 business days of assignment |
@greg-schroeder what do you think? |
@tienifr hmmm - I don't think so? Based on what I saw: Assigned: 2/17 3:20p PST |
@greg-schroeder It's less than 5 days, minus 2 days of weekends (2/18, 2/19), so I'd say it's less than 3 business days |
Nice catch! Fixed for both of you. |
thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
User should have to re-check the checkbox to continue
Actual Result:
The checkbox remains checked, incentivizing the user to try to continue with the flow. However, the form then shows the error "You must accept the Terms of Service to continue".
Workaround:
Just re-check it, but requires extra clicks
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.67-6
Reproducible in staging?: y
Reproducible in production?: could not check
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Screen.Recording.2023-02-08.at.15.06.24.mov
Recording.1471.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1675843994636499
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: