Closed izarutskaya closed 11 months ago
The entered magic code should be cleared from the magic code input field
We just cleared the message error when we clicked the close button https://github.com/Expensify/App/blob/4d855643cbfa79f0de91fd16bde132fb6e7b5ada/src/pages/settings/Profile/Contacts/ValidateCodeForm/BaseValidateCodeForm.js#L197
Therefore, the entered magic code will not be cleared.
We should clear the magic code and refocus on the input when clearing the message:
onClose = { () => {
User.clearContactMethodErrors(props.contactMethod, 'validateLogin');
setValidateCode('');
inputValidateCodeRef.current.clear();
}
}
N/A
Triggered auto assignment to @michaelhaxhiu (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are ✅)@michaelhaxhiu Huh... This is 4 days overdue. Who can take care of this?
@michaelhaxhiu Eep! 4 days overdue now. Issues have feelings too...
@michaelhaxhiu Still overdue 6 days?! Let's take care of this!
@michaelhaxhiu Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
@michaelhaxhiu this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@michaelhaxhiu 12 days overdue. Walking. Toward. The. Light...
This doesn't feel like a candid bug to me. It is clear and functional, and there's room to argue the existing behavior is useful.
If you want to make an argument that other platforms handle this differently (e.g. mobile) then you may have a case for a bug report, but I'm not convinced at this stage.
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:
Entered magic code should be cleared from magic code input field
Actual Result:
Entered magic code is not cleared from magic code input field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.63-2
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
https://github.com/Expensify/App/assets/115492554/d5ea129d-32c1-457c-a6de-5bbc96b96baf
https://github.com/Expensify/App/assets/115492554/715753cc-20aa-43d5-8736-985f45a54c89
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693290501329629
View all open jobs on GitHub