-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Payment Request] [$250] Mention - Avatar is not displaying on Concierge in mention list #41014
Comments
Triggered auto assignment to @neil-marcellini ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@neil-marcellini 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 |
Ok, taking a look. In general we can add external and the contributors can help us figure out if it's a backend problem. |
Job added to Upwork: https://www.upwork.com/jobs/~015c5e79bf2b62e7b7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
I finally confirmed that the personal detail for concierge has the correct avatar link https://d2k5nsl2zxldvw.cloudfront.net/images/icons/concierge_2022.png. On production it's the same value, so I don't think it's a problem with the data. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Mention - Avatar is not displaying on Concierge in mention list What is the root cause of that problem?The problem is that when we try to get the default avatar, we use Lines 85 to 107 in 6060e6f
What changes do you think we should make in order to solve the problem?To fix this issue we can update this code and add App/src/pages/home/report/ReportActionCompose/SuggestionMention.tsx Lines 238 to 250 in 6060e6f
And also pass accountID for Avatar App/src/components/MentionSuggestions.tsx Lines 82 to 89 in 6060e6f
What alternative solutions did you explore? (Optional)As alternative we can update |
Thanks @ZhenjaHorbach. Can you explain the root cause a bit more please? Why is it that we don't pass the accountID when creating the mention? It looks to me like we do. |
In this PR we added accountID for Avatar and added additional checking which use accountID inside And here we can't get ConciergeAvatar without accountID Lines 86 to 88 in 6060e6f
Actually in this case I think we need to check all places where we use Avatar |
Ok @ZhenjaHorbach I think I finally understand your proposal. I would say the root cause is this.
I'm wondering how we can test this. I can't reproduce on dev because the avatar is always blank for me. I'll try against the staging api instead of our dev api. Or we could just revert Use fallback user avatar in cases where the user is unknown to us. @grgia what do you think since you were involved there? |
@ZhenjaHorbach I put up a PR based loosely on your proposal. I hope that's cool with you and I really appreciate you pointing me in the right direction. I would have approved your proposal earlier, but I didn't really understand the root cause until I investigate it thoroughly myself. |
Happy to help ) |
@Kicu could you take a look at this? |
@neil-marcellini I doubt we will need to revert, I'm fairly certain this will be an easy fix |
hey I'm the author of #39229 and I took a look at this, few points from me in random order
Because of this I believe the best fix for this is to actually do pass I tested locally on my dev the same fix, and it looks good before (main)![]() after passing accountID![]() In general we only need |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
The PR was closed and the offending PR was reverted. As such, we don't need to wait for the 7 days for the payment. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.67-7 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 2024-05-06. 🎊 For reference, here are some details about the assignees on this issue:
|
Sounds like this is all done then. Please correct me if I'm wrong. |
Can I have a payment summary @neil-marcellini? Thanks! |
Re-opening for payment summary. |
Assigning a bug zero member to handle payment |
Triggered auto assignment to @strepanier03 ( |
Payment Summary
@JmillsExpensify - Payment request incoming. |
$250 approved for @allroundexperts |
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.66-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4516979&group_by=cases:section_id&group_order=asc&group_id=306201&group_by=cases:section_id&group_order=asc&group_id=306201
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Avatar should be displayed on Concierge in mention list
Actual Result:
Avatar is not displaying on Concierge in mention list
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6461797_1714061858309.2024-04-25_21-12-29.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allroundexpertsThe text was updated successfully, but these errors were encountered: