Skip to content

[HOLD for payment 2023-11-28][$500] Chat - New user should not be suggested when add @ into 1:1 message composer offline #30720

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:**1.3.94-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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Click FAB icon and select new chat
  3. Enter new email and create new chat with User A
  4. Into chat composer type @ and start typing User's A e-mail

Expected Result:

The suggestion list shows User A e-mail

Actual Result:

User A is not suggested when add @ into 1:1 message composer

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

Bug6259621_1698856143454.az_recorder_20231101_131811.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018ce070dae84873af
  • Upwork Job ID: 1719758999805837312
  • Last Price Increase: 2023-11-08
  • Automatic offers:
    • dukenv0307 | Contributor | 27671110

Activity

  1. added
    External
    Daily
    Bug
    on Nov 1, 2023
  2. changed the title [-]Chat - New user is not suggested when add @ into 1:1 message composer[/-] [+][$500] Chat - New user is not suggested when add @ into 1:1 message composer[/+] on Nov 1, 2023
  3. melvin-bot commented on Nov 1, 2023

    @melvin-bot
  4. melvin-bot commented on Nov 1, 2023

    @melvin-bot

    Triggered auto assignment to @adelekennedy (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. added
    Help Wanted
    on Nov 1, 2023
  6. melvin-bot commented on Nov 1, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  7. melvin-bot commented on Nov 1, 2023

    @melvin-bot

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

  8. dukenv0307 commented on Nov 1, 2023

    @dukenv0307
    Contributor

    Proposal

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

    New user is not suggested when add @ into 1:1 message composer

    What is the root cause of that problem?

    It's expected that we don't show the user that we don't have the primary login of this user

    But we have a bug here: if the chat is created in offline mode, we can see this user in the suggestion mention because we don't exclude the optimistic personal detail here

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

    We should exclude the optimistic personal detail here since it's removed in successData and it doesn't makes since to display suggestion for otimistic personal detail

    if (!detail.login || detail.isOptimisticPersonalDetail) {
        return false;
    }
    

    What alternative solutions did you explore? (Optional)

  9. melvin-bot commented on Nov 7, 2023

    @melvin-bot

    @adelekennedy, @Santhosh-Sellavel Eep! 4 days overdue now. Issues have feelings too...

  10. adelekennedy commented on Nov 7, 2023

    @adelekennedy
    Contributor

    @Santhosh-Sellavel I think we have some proposals above to review!

  11. 27 remaining items

  12. melvin-bot commented on Nov 14, 2023

    @melvin-bot

    📣 @Santhosh-Sellavel Please request via NewDot manual requests for the Contributor role ($500)

  13. melvin-bot commented on Nov 14, 2023

    @melvin-bot

    📣 @Santhosh-Sellavel Please request via NewDot manual requests for the Reviewer role ($500)

  14. melvin-bot commented on Nov 14, 2023

    @melvin-bot

    📣 @dukenv0307 🎉 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 📖

  15. dangrous commented on Nov 14, 2023

    @dangrous
    Contributor

    okay i think that worked

  16. added
    Reviewing
    Weekly
    and removed
    Daily
    on Nov 15, 2023
  17. dukenv0307 commented on Nov 15, 2023

    @dukenv0307
    Contributor

    @Santhosh-Sellavel The PR is ready for review.

  18. dangrous commented on Nov 22, 2023

    @dangrous
    Contributor

    This hit production on 11/21 (Eastern time), so we should expect payment on 11/28. Not sure why the automation didn't trigger, I'll give it a little time and we can update the issue title manually if needed if it never pings

  19. changed the title [-][$500] Chat - New user should not be suggested when add @ into 1:1 message composer offline[/-] [+][HOLD for payment 2023-11-28][$500] Chat - New user should not be suggested when add @ into 1:1 message composer offline[/+] on Nov 27, 2023
  20. adelekennedy commented on Nov 29, 2023

    @adelekennedy
    Contributor

    Payouts due:

    Contributor: $500 @dukenv0307 (Upwork)
    Contributor+: $500 @Santhosh-Sellavel (NewDot)

    Upwork job is here.

  21. Santhosh-Sellavel commented on Jan 10, 2024

    @Santhosh-Sellavel
    Collaborator

    Requested on ND

  22. JmillsExpensify commented on Jan 14, 2024

    @JmillsExpensify
    Contributor

    $500 payment approved for @Santhosh-Sellavel based on comment above.

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

Metadata

Metadata

Labels

BugExternalReviewingWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions