Skip to content

[Due for payment 2025-04-10] [$250] Workspace - "@expensify.sms" is added for a phone number account as a workspace owner #58864

Closed

Description

@lanitochka17

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.1.16-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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:

  1. Navigate to https://staging.new.expensify.com/
  2. Log into a valid phone number account without any email as a secondary contact
  3. Create a workspace
  4. Navigate to Settings - Workspaces

Expected Result:

Only the phone number should be visible

Actual Result:

"@expensify.sms" is added for a phone number account as a workspace owner

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6777313_1742501162296.bandicam_2025-03-20_21-02-10-135.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021904955254478863011
  • Upwork Job ID: 1904955254478863011
  • Last Price Increase: 2025-03-26
  • Automatic offers:
    • ikevin127 | Reviewer | 106701750
    • CyberAndrii | Contributor | 106701751
Issue OwnerCurrent Issue Owner: @CortneyOfstad

Activity

  1. added
    Bug
    Daily
    on Mar 20, 2025
  2. melvin-bot commented on Mar 20, 2025

    @melvin-bot

    Triggered auto assignment to @CortneyOfstad (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.

  3. andriivitiv commented on Mar 20, 2025

    @andriivitiv
    Contributor

    🚨 Edited by proposal-police: This proposal was edited at 2025-03-20 21:28:44 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Workspace - "@expensify.sms" is added for a phone number account as a workspace owner

    What is the root cause of that problem?

    When a user is created, we append the @expensify.sms suffix to their phone number. However on the workspaces page we display the phone number without removing the suffix.

    What changes do you think we should make in order to solve the problem?

    We can use the formatPhoneNumber function to display the phone number in the correct format. Note that if the number is from the same country as the user, then this country's local format will be used, otherwise international.

    {formatPhoneNumber(ownerDetails.login ?? '')}

    This approach is already used in many other places, such as on the members page

    alternateText: formatPhoneNumber(details?.login ?? ''),

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    None, UI bug

    What alternative solutions did you explore? (Optional)

    Or use the removeSMSDomain function

    {ownerDetails.login}

    {Str.removeSMSDomain(ownerDetails?.login ?? '')}

    Result

    Solution Image
    Current Before
    Main (national, different for each country) After
    Main (international) After
    Alternative After
  4. melvin-bot commented on Mar 24, 2025

    @melvin-bot

    @CortneyOfstad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  5. melvin-bot commented on Mar 26, 2025

    @melvin-bot

    @CortneyOfstad Eep! 4 days overdue now. Issues have feelings too...

  6. CortneyOfstad commented on Mar 26, 2025

    @CortneyOfstad
    Contributor

    Was able to confirm, so getting eyes!

  7. added
    External
    Help Wanted
    on Mar 26, 2025
  8. CortneyOfstad commented on Mar 26, 2025

    @CortneyOfstad
    Contributor

    Auto-assigner is not working so going to try again

  9. removed
    External
    Help Wanted
    on Mar 26, 2025
  10. 25 remaining items

  11. CortneyOfstad commented on Mar 28, 2025

    @CortneyOfstad
    Contributor

    Hey team! I am heading OoO this afternoon — March 28 to April 7. If any action is needed by BZ during that time, please reapply the label or reach out in Slack, otherwise I will review when I get back. Thanks!

  12. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Apr 3, 2025
  13. changed the title [-][$250] Workspace - "@expensify.sms" is added for a phone number account as a workspace owner[/-] [+][Due for payment 2025-04-10] [$250] Workspace - "@expensify.sms" is added for a phone number account as a workspace owner[/+] on Apr 3, 2025
  14. removed
    Reviewing
    on Apr 3, 2025
  15. melvin-bot commented on Apr 3, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  16. melvin-bot commented on Apr 3, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.22-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-04-10. 🎊

    For reference, here are some details about the assignees on this issue:

  17. melvin-bot commented on Apr 3, 2025

    @melvin-bot

    @ikevin127 @CortneyOfstad @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  18. ikevin127 commented on Apr 4, 2025

    @ikevin127
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to comment: https://github.com/Expensify/App/pull/32817/files#r2029276963.

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: N/A

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    1. Log into a valid phone number account without any email as a secondary contact.
    2. Create a workspace.
    3. Navigate to Settings - Workspaces.
    4. Verify that the owner's phone number is displayed without the @expensify.sms domain.

    Do we agree 👍 or 👎.

  19. added
    Daily
    and removed
    Weekly
    on Apr 10, 2025
  20. CortneyOfstad commented on Apr 10, 2025

    @CortneyOfstad
    Contributor

    Payment Summary

    @ikevin127 — paid $250 via Upwork
    @CyberAndrii — paid $250 via Upwork

    Regression Test

    https://github.com/Expensify/Expensify/issues/489610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions