-
Notifications
You must be signed in to change notification settings - Fork 577
Re-add Shopper Insights #2354
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
Re-add Shopper Insights #2354
Conversation
Co-authored-by: elizabethmv <[email protected]> Co-authored-by: Shane Brunson <[email protected]>
923bb9e
to
20ff8a4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2354 +/- ##
==========================================
- Coverage 58.00% 51.20% -6.80%
==========================================
Files 153 154 +1
Lines 12232 12527 +295
Branches 742 726 -16
==========================================
- Hits 7095 6415 -680
- Misses 5041 6008 +967
- Partials 96 104 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 The code comments were helpful! Nice job!
|
||
if (!isValidPhone) { | ||
throw new ValidationError( | ||
`Expected shopper information to be a valid phone number format` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be helpful to end users to include the format, like:
`Expected shopper information to be a valid phone number format: /\d{5,}/`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats good suggestion. We are going to have some changes on the interface. I will take a note to update the validation message with the next PR.
...(sdkConfig.environment !== "production" && { | ||
country_code: sdkConfig.buyerCountry, | ||
}), | ||
// $FlowIssue too many cases? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this ^ happened to me recently - frustrating! (maybe we can ignore it in the near future)
No description provided.