-
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 #18244] Not all the magic code input dashes are red when error appears #20416
Comments
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.App should display all the digit input in red if there is any error during contact method verification What is the root cause of that problem?The Green dash style on focus is come from here In login verification and contact method verifycation, we are using the same component MagicCodeInput. In login verification, we will call What changes do you think we should make in order to solve the problem?We need to add a blur function in here and it's will be run logic in here to set
ResultScreen.Recording.2023-06-07.at.01.10.58.mov |
Please re-state the problem that we are trying to solve in this issue.App should display all the digit input in red if there is any error during contact method verification What is the root cause of that problem?After pressing submit the app displays 1st digit input in green because after submitting the app is still focusing on the current input. It results in the input being blue because the style App/src/components/MagicCodeInput.js Line 309 in 96adb8e
Use magic code: App/src/pages/settings/Profile/Contacts/ValidateCodeForm/BaseValidateCodeForm.js Lines 123 to 133 in 96adb8e
After submitting and returning an error we haven’t unfocus it yet: App/src/pages/settings/Profile/Contacts/ValidateCodeForm/BaseValidateCodeForm.js Lines 106 to 119 in 96adb8e
What changes do you think we should make in order to solve the problem?We will update the function validateAndSubmitForm when an error occurs then unfocus input:
Result: Screen.Recording.2023-06-08.at.07.13.00.movWhat alternative solutions did you explore? (Optional)N/A |
I think it is related to #18244 , and solution of that issue will resolve this one too, since that issue will gurantee that when clicking outside of magic input, magic input will be blurred |
@kevinksullivan Can you add hold here please. |
Updated @Santhosh-Sellavel |
@kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Still held. |
Still held |
@kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Held |
@kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Held, and making this weekly as the relevant GH is still in planning. |
This issue has not been updated in over 15 days. @kevinksullivan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
held on #18244 |
held |
@kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@kevinksullivan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
still on hold |
@kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
held |
Closing unless we see it again |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should display all the digit input in red if there is any error during contact method verification
Actual Result:
App displays 1st digit input in green and rest in red if we click on verify without inserting any code and 'Please enter your magic code' is triggered
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.25-3
Reproducible in staging?: y
Reproducible in production?: y
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: Any additional supporting documentation
inconsistent.error.display.verify.contact.mp4
Recording.905.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685873935586999
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: