Closed mvtglobally closed 2 years ago
Sorry, I don't understand the question or what exactly you need help with. Can you ask it another way or provide more detail? Maybe asking publicly in the Slack channel will help us get unblocked.
Linking to examples in the code when asking your question will probably help me get what you need confirmation on...
For invalid phone number we were showing this error: Please enter a valid phone number without brackets or dashes. If you're outside the US please include your country code, eg. +447782339811
But now the user can enter brackets and dashes in the phone number so we have removed this line: Please enter a valid phone number without brackets or dashes.
And at Add phone number
page we show a different error: I couldn't validate the phone number, please try again with the country code (e.g. +15005550006)
which is from backend. So, I am asking do we wanna use the same error message that we are using at some other places for consistency or can we leave this one as the error message is correct and doesn't need any change.
@marcaaron, just need a small confirmation about the error message here.
I don't know the answer sorry, this would be best to ask marketing or in the open source channel.
Posted in #expensify-open-source here to get consensus.
@thesahindia, please proceed with the same error message as other places in the product:
I couldn't validate the phone number, please try again with the country code (e.g. +15005550006)
Thanks!!
@parasharrajat would you mind reviewing @thesahindia's PR here? https://github.com/Expensify/App/pull/7328
On my list. Coming back to it. There was a long delay for requested changes which shifted the priority for this PR.
@kadiealexander, I have asked some questions on slack but didn't get much 👀. Can you help? Here's the thread.
@thesahindia I see that @luacmartins has responded since you asked this, are you still needing further help?
Nope, it's good now, got the answer.
What's the latest here?
@luacmartins suggested that instead of using a new component we should be stripping parentheses and dashes at validation and on form submission.
I'm not sure that I agree 100% with creating yet another component for this. I'd think that we should strip special chars for frontend validation and on form submission.
So we are thinking to do the same. Can you share you thoughts?
bump @marcaaron ⬆️
I agree with @luacmartins and don't understand the benefits of having an input component that does this for us.
Yeah I agree on this too, I will update the PR and will remove the new component.
I have closed the previous PR ( needed to revert too many changes ) I have raised a new one https://github.com/Expensify/App/pull/8845
Thanks for the update @thesahindia!
Going OOO for a week and will need to re-assign this.
Current assignee @parasharrajat is eligible for the Exported assigner, not assigning anyone new.
Triggered auto assignment to @neil-marcellini (Exported
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
The PR is waiting to be deployed to staging. I'm commenting so that this doesn't go overdue.
I'm adding some labels that never got applied.
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.60-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2022-05-23. :confetti_ball:
@kadiealexander, total compensation for this job is $750. $500 for the fix and $250 as the reporting bonus. Also please end the contract when you get time.
@thesahindia yes, sorry about that I was just confirming the price change with our team. I've issued the remaining $250 and closed the contract.
@parasharrajat has now also been paid.
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 be able to enter phone number in any format
Actual Result:
The phone number placeholder suggests that the input should be in this format (xxx)xxx-xxxx however, it will throw an error if we do that. So, either the placeholder should be updated or the input should be handled accordingly.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.24-0 Reproducible in staging?: Y Reproducible in production?: Y Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43995119/148008018-4a6b6ec5-cdbb-4d2a-92d8-0287b82abc99.mov
Expensify/Expensify Issue URL: Issue reported by: @thesahindia Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1640355502103900
View all open jobs on GitHub