v5.2.0
This release prepares the codebase for User types!
Read more from the pull request.
In addition, it's going to be possible to
- Toggle the visibility of unselected options on SectionMultiEnumMaybe through hosted assets.
- StripeConnectAccount: use 'collectionOptions' instead of deprecated 'collect'. The
future_requirements uses 'include' by default.
Translation changes
New translations
"ConfirmSignupForm.displayNameLabel": "Display name",
"ConfirmSignupForm.displayNamePlaceholder": "Jane D",
"ConfirmSignupForm.displayNameRequired": "You need to add a display name.",
"ConfirmSignupForm.phoneNumberLabel": "Phone number",
"ConfirmSignupForm.phoneNumberPlaceholder": "Enter your phone number.",
"ConfirmSignupForm.phoneNumberRequired": "You need to add a phone number.",
"ContactDetailsForm.phoneRequired": "A phone number is required.",
"EditListingDetailsForm.listingTypeRequired": "You need to select a listing type.",
"FieldSelectUserType.label": "User type",
"FieldSelectUserType.placeholder": "Choose a user type",
"FieldSelectUserType.required": "You need to select a user type.",
"ListingPage.errorInvalidListingMessage": "The listing contained invalid data. Please contact the marketplace operator.",
"ProfileSettingsForm.displayNameHeading": "Your display name",
"ProfileSettingsForm.displayNameInfo": "The display name defaults to first name plus initial of last name.",
"ProfileSettingsForm.displayNameLabel": "Display name",
"ProfileSettingsForm.displayNamePlaceholder": "Jane D",
"ProfileSettingsForm.displayNameRequired": "This field is required.",
"SignupForm.displayNameLabel": "Display name",
"SignupForm.displayNamePlaceholder": "Jane D",
"SignupForm.displayNameRequired": "You need to add a display name.",
"SignupForm.phoneNumberLabel": "Phone number",
"SignupForm.phoneNumberPlaceholder": "Enter your phone number.",
"SignupForm.phoneNumberRequired": "You need to add a phone number.",
Changed translations
"ModalMissingInformation.verifyEmailText": "Please verify your email address so we can send you your receipt and information on your order status. We are unable to send you emails before your email has been verified.",
"StripeConnectAccountForm.stripeToSText": "By saving the details, you agree to the {stripeConnectedAccountTermsLink}.",
Changes v5.2.0
-
[add] add currently available translations for de, es, fr.
#400 -
[add] This adds user types. User fields can be tied to user types
- User fields contain multiple default user fields
- Only displayName and phoneNumber can be toggle on/off
- You can also toggle wether those are shown on sign up forms.
- Only displayName and phoneNumber can be toggle on/off
- Custom user fields can be tied to user types.
- AuthenticationPage: SignupForm and ConfirmSignupForm show a dropdown to select user type if it's
not preselected- Default
- New route SignupForUserTypePage with path
/signup/:userType
- This route preselects one user type for the sign up forms.
- If preselected userType is there (
/signup/:userType
), then- Dropdown selector is not shown.
- Toggling between login & signup tabs should keep the userType in memory
- Using SSO, saves the preselected user type to a temporary cookie (to be used in
ConfirmSignupForm after returning from ID provider's website)
- An unknown (e.g. outdated) userType in the route will show 404 page.
- User fields contain multiple default user fields
-
[add] Toggle the visibility of unselected options on SectionMultiEnumMaybe through hosted assets.
#382 -
[fix] Update SDK to v1.21.1. Fixes bug with extended data with a key
length
and a number type
value. #398 -
[fix] util/sanitize.js: handle publicData = null case which happens with banned user
#397 -
[fix] en.json: typo on 'ModalMissingInformation.verifyEmailText'
#396 -
[fix] Ensure that there is listingType, transactionProcessAlias and unitType defined.
#394 -
[fix] en.json: typo on 'StripeConnectAccountForm.stripeToSText'
#395 -
[change] StripeConnectAccount: use 'collectionOptions' instead of deprecated 'collect'. The
future_requirements uses 'include' by default.
#392 -
[fix] mergeDefaultTypesAndFieldsForDebugging was set to true, which is wrong. The 0 handling with
min and max was wrong. #393