You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-11-28][$500] Chat - New user should not be suggested when add @ into 1:1 message composer offline #30720
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
**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:
Go to staging.new.expensify.com
Click FAB icon and select new chat
Enter new email and create new chat with User A
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?
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
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;
}
📣 @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 📖
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
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
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
[-]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[/+]melvin-bot commentedon Nov 1, 2023
Job added to Upwork: https://www.upwork.com/jobs/~018ce070dae84873af
melvin-bot commentedon Nov 1, 2023
Triggered auto assignment to @adelekennedy (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Nov 1, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Nov 1, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (
External)dukenv0307 commentedon Nov 1, 2023
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
App/src/pages/home/report/ReportActionCompose/SuggestionMention.js
Line 155 in 83a4cce
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
App/src/pages/home/report/ReportActionCompose/SuggestionMention.js
Line 155 in 83a4cce
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
successDataand it doesn't makes since to display suggestion for otimistic personal detailApp/src/pages/home/report/ReportActionCompose/SuggestionMention.js
Line 155 in 83a4cce
What alternative solutions did you explore? (Optional)
melvin-bot commentedon Nov 7, 2023
@adelekennedy, @Santhosh-Sellavel Eep! 4 days overdue now. Issues have feelings too...
adelekennedy commentedon Nov 7, 2023
@Santhosh-Sellavel I think we have some proposals above to review!
27 remaining items
melvin-bot commentedon Nov 14, 2023
📣 @Santhosh-Sellavel Please request via NewDot manual requests for the Contributor role ($500)
melvin-bot commentedon Nov 14, 2023
📣 @Santhosh-Sellavel Please request via NewDot manual requests for the Reviewer role ($500)
melvin-bot commentedon Nov 14, 2023
📣 @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 📖
dangrous commentedon Nov 14, 2023
okay i think that worked
dukenv0307 commentedon Nov 15, 2023
@Santhosh-Sellavel The PR is ready for review.
dangrous commentedon Nov 22, 2023
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
[-][$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[/+]adelekennedy commentedon Nov 29, 2023
Payouts due:
Contributor: $500 @dukenv0307 (Upwork)
Contributor+: $500 @Santhosh-Sellavel (NewDot)
Upwork job is here.
Santhosh-Sellavel commentedon Jan 10, 2024
Requested on ND
JmillsExpensify commentedon Jan 14, 2024
$500 payment approved for @Santhosh-Sellavel based on comment above.