Skip to content

[Payment due 8-18][$250] Group - Users with an external domain are displayed as Hidden in the group list #48464

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.0.27-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4909728
Email or phone of affected tester (no customers): sustinov@applausemail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Open NewExpensify app
  2. Log in to the new HT account
  3. Create a group chat with two users bob@domain.com
    and alice@domain.com
  4. Open the list of members of the created group

Expected Result:

Users with an external domain should be displayed by email or name in a group list

Actual Result:

Users with an external domain are displayed as Hidden in the group list

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6591417_1725344788657.RPReplay_Final1725280032.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0181038d02cba6971d
  • Upwork Job ID: 1831023091657812719
  • Last Price Increase: 2024-09-03
  • Automatic offers:
    • jjcoffee | Contributor | 103800323
    • nkdengineer | Contributor | 103829257
Issue OwnerCurrent Issue Owner: @jjcoffee

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 3, 2024
  2. melvin-bot commented on Sep 3, 2024

    @melvin-bot

    Triggered auto assignment to @Christinadobrzyn (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. lanitochka17 commented on Sep 3, 2024

    @lanitochka17
    Author

    @Christinadobrzyn FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  4. mohamed-iyed-rhimi-1 commented on Sep 3, 2024

    @mohamed-iyed-rhimi-1

    Proposal

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

    Users with an external domain should be displayed by email or name in a group list

    What is the root cause of that problem?

    The problem is here. If a participant does not have a displayName it defaults to the text "Hidden".

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

    We can simply check if the participant has either a displayName or an email ( eg: login ).
    The new version will be :

    let displayName = passedPersonalDetails?.displayName ?? passedPersonalDetails?.login ?? '';

    What alternative solutions did you explore? (Optional)

    Result:
    image

  5. Christinadobrzyn commented on Sep 3, 2024

    @Christinadobrzyn
    Contributor

    I can reproduce this. This Hidden user has been going on for a while. I don't know if we have another GH related to resolving this - I don't see one. I'm assuming this is a BE fix but adding external for a C+ review first.

  6. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Sep 3, 2024
  7. melvin-bot commented on Sep 3, 2024

    @melvin-bot
  8. changed the title [-]Group - Users with an external domain are displayed as Hidden in the group list[/-] [+][$250] Group - Users with an external domain are displayed as Hidden in the group list[/+] on Sep 3, 2024
  9. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Sep 3, 2024
  10. removed
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 3, 2024
  11. melvin-bot commented on Sep 3, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (External)

  12. 17 remaining items

  13. melvin-bot commented on Sep 5, 2024

    @melvin-bot

    📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

    Offer link
    Upwork job
    Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
    Keep in mind: Code of Conduct | Contributing 📖

  14. added
    ReviewingHas a PR in review
    and removed on Sep 7, 2024
  15. Christinadobrzyn commented on Sep 11, 2024

    @Christinadobrzyn
    Contributor

    monitoring the PR - #48681

  16. removed their assignment
    on Sep 12, 2024
  17. changed the title [-][$250] Group - Users with an external domain are displayed as Hidden in the group list[/-] [+][Payment due 8-18][$250] Group - Users with an external domain are displayed as Hidden in the group list[/+] on Sep 16, 2024
  18. Christinadobrzyn commented on Sep 16, 2024

    @Christinadobrzyn
    Contributor

    PR merged 4 days ago so adding a payment due date to this GH. #48681

    Payouts due:

  19. jjcoffee commented on Sep 17, 2024

    @jjcoffee
    Contributor
    • The PR that introduced the bug has been identified. Link to the PR: Update the Group Chat creation flow UI and Details page #39639
    • 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: 9dba74f#r146817794
    • A discussion in #expensify-bugs 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 - this type of thing would be hard to catch in standard PR testing imo
    • Determine if we should create a regression test for this bug. Yes
    • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

    Regression Test Proposal

    1. Create a group chat with two users (bob@domain.com and alice@domain.com)
    2. Open the list of members of the created group
    3. Tap on one of the added users to open the participant details page
    4. Verify that either the user's name, email or Hidden is displayed below the avatar (not an empty space)

    Do we agree 👍 or 👎

  20. jjcoffee commented on Sep 19, 2024

    @jjcoffee
    Contributor

    @Christinadobrzyn Friendly bump for payment 🙇

  21. Christinadobrzyn commented on Sep 19, 2024

    @Christinadobrzyn
    Contributor

    Ah thanks for the nudge @jjcoffee!

    Regression test - https://github.com/Expensify/Expensify/issues/429387
    Payment is initiated in Upwork based on this summary - #48464 (comment)

    Closing!

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions