Open IuliiaHerets opened 17 hours ago
Triggered auto assignment to @jasperhuangg (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Triggered auto assignment to @lschurr (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
💬 A slack conversation has been started in #expensify-open-source
Edited by proposal-police: This proposal was edited at 2024-10-21 06:21:30 UTC.
App shows "is not a valid email address" when starting a DM with phone user via Search. Note that user can initiate DM with the same phone number via Start chat in FAB.
we already have logic to format the search value string if it is phone number:
but we don't do it in Search:
+ const parsedPhoneNumber = PhoneNumber.parsePhoneNumber(LoginUtils.appendCountryCode(Str.removeSMSDomain(debouncedInputValue)));
+ const searchValue = parsedPhoneNumber.possible && parsedPhoneNumber.number?.e164 ? parsedPhoneNumber.number.e164 : debouncedInputValue;
const userToInvite = OptionsListUtils.pickUserToInvite({
canInviteUser: true,
recentReports: newOptions.recentReports,
personalDetails: newOptions.personalDetails,
+ searchValue: searchValue,
optionsToExclude: [{login: CONST.EMAIL.NOTIFICATIONS}],
});
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.51-1 Reproducible in staging?: Y Reproducible in production?: N Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
No error should show up because user should be able to initiate a DM with phone number user via Search.
Actual Result:
App shows "is not a valid email address" when starting a DM with phone user via Search. Note that user can initiate DM with the same phone number via Start chat in FAB.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/53cfffc4-4025-4d30-9611-aaad59c6c9de
View all open jobs on GitHub