-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[$500] Android - Thread-Mention phone number on reply thread shows expensify.sms in header #39305
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
Comments
Triggered auto assignment to @anmurali ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Thread-Mention phone number on reply thread shows expensify.sms in header What is the root cause of that problem?in App/src/libs/PersonalDetailsUtils.ts Lines 37 to 41 in edacb67
in this issue case the
So the What changes do you think we should make in order to solve the problem?we need to update the condition here to be // if (displayName === passedPersonalDetails?.login && Str.isSMSLogin(passedPersonalDetails?.login)) {
if (
(displayName === passedPersonalDetails?.login && Str.isSMSLogin(passedPersonalDetails?.login)) ||
(!passedPersonalDetails?.login && Str.isSMSLogin(displayName)) // <<<< this issue case
) This will fix the issue in all places, Header, LHN, welcome message and profile details (if you click on the header) What alternative solutions did you explore? (Optional)we can also remove the condition to apply // if (displayName === passedPersonalDetails?.login && Str.isSMSLogin(passedPersonalDetails?.login)) {
displayName = Str.removeSMSDomain(displayName);
// } |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
In the above:
|
I am not sure if this is actually a bug. seems like a minor issue. |
📣 @hayes102! 📣
|
Ah I think it is worth fixing cause that format +@[email protected] is internal and means nothing to the end user and could confuse them |
Job added to Upwork: https://www.upwork.com/jobs/~0187f0ca34aefd2447 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
Agreed with Anu |
Reviewing proposals... |
@ahmedGaber93 The root cause in your proposal is incorrect; we don't use |
@nkdengineer, you've identified the correct root cause in your proposal and suggested changing LGTM. Recording.2024-04-08.142713.mp4@nkdengineer's proposal LGTM! |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer You have been assigned to this job! |
@nkdengineer please let us know your ETA |
@rayane-djouah PR #39994 is ready to review |
@nkdengineer we agreed on the main solution in your proposal #39305 (comment), didn't we? I see that the PR is implementing the alternative one. |
As I mentioned in the PR, we need to consider the case: User sends message "test message [email protected]" directly, If we apply the main solution, it will be "test message +123456789". But I think the expected is "test message [email protected]" |
@anmurali, @thienlnam, we need clarification about the expected result when the user sends a message that contains "@expensify.sms" (not necessarily a mention); as seen in the screenshot below, currently, we remove all "@expensify.sms" occurrences on the message when displaying the last message of the report in the LHN subtitle. In this issue, should we:
|
Asked in Slack |
@nkdengineer, we got an answer in Slack; we should implement your main solution. |
Deployed to production #39994 (comment) |
@anmurali, please remove the Reviewing label and bump to Daily as payment is due |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Regression test proposal We should update this tests to include:
|
@anmurali friendly bump for payment |
Done! |
Sorry @anmurali It seems I wasn't paid here, could you please reopen the issue to help with this? TIA |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.58
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
@ followed by phone number should be displayed in header on selecting reply in thread
Actual Result:
@ followed by phone number should be displayed in header on selecting reply in thread but header displays @ followed by phone number.expensify.sms
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6432086_1711748341603.screenrecorder-2024-03-30-01-16-41-993.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: