App icon indicating copy to clipboard operation
App copied to clipboard

Concierge doesn't have an avatar in the unread summary email of expense reports

Open m-natarajan opened this issue 1 year ago • 23 comments

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: Reproducible in staging?: Needs Reproduction Reproducible in production?: Needs Reproduction If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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: @blimpich Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs

Action Performed:

  1. Setup a control workspace with instant submit and auto-reimbursement
  2. Have an employee of that workspace create/submit an expense
  3. As the approver, comment on the expense report
  4. Then approve the report, confirm it’s auto-reimbursed and the sys message from Concierge is added to the expense report.
  5. As the submitter, wait 10mins for the unread summary email to be received for the comment added in step 3.

Expected Result:

The unread summary email sent to the expense submitter should include an avatar for the Concierge comment.

Actual Result:

The avatar is missing from the Concierge comment in the email.

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
  • [x] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Screenshot 2024-11-20 at 10 44 23 AM

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021859743425112993650
  • Upwork Job ID: 1859743425112993650
  • Last Price Increase: 2024-11-21
Issue OwnerCurrent Issue Owner: @MarioExpensify

m-natarajan avatar Nov 20 '24 21:11 m-natarajan

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

melvin-bot[bot] avatar Nov 20 '24 21:11 melvin-bot[bot]

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

MelvinBot avatar Nov 20 '24 21:11 MelvinBot

Chatting here about the steps.

trjExpensify avatar Nov 20 '24 21:11 trjExpensify

Applause repro'd in thread!

trjExpensify avatar Nov 21 '24 23:11 trjExpensify

Job added to Upwork: https://www.upwork.com/jobs/~021859743425112993650

melvin-bot[bot] avatar Nov 21 '24 23:11 melvin-bot[bot]

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

melvin-bot[bot] avatar Nov 21 '24 23:11 melvin-bot[bot]

@allgandalf I have a feeling this might be internal, but not 100% sure.

trjExpensify avatar Nov 21 '24 23:11 trjExpensify

@allgandalf I have a feeling this might be internal, but not 100% sure.

Definitely internal, has to do something with our ESP or the way we configure things

allgandalf avatar Nov 22 '24 04:11 allgandalf

Kewl, making it internal.

trjExpensify avatar Nov 22 '24 18:11 trjExpensify

Hopefully this will get called out in today's #retain update! CC: @maddylewis

trjExpensify avatar Nov 25 '24 17:11 trjExpensify

Called out!

trjExpensify avatar Nov 26 '24 19:11 trjExpensify

Still looking for a volunteer!

trjExpensify avatar Nov 29 '24 14:11 trjExpensify

@blimpich as this is confirmed backend and we have the steps to repro easily, maybe you fancy it?

trjExpensify avatar Dec 02 '24 13:12 trjExpensify

My plate is full at the moment but will put this on my radar 👍

blimpich avatar Dec 02 '24 17:12 blimpich

Hey @trjExpensify, I can take a look at this one!

MarioExpensify avatar Dec 02 '24 21:12 MarioExpensify

Perfect, thanks!

trjExpensify avatar Dec 03 '24 10:12 trjExpensify

Update

Just a quick update, had to deal with a production bug today so could not focus 100% on this one, I already found where and how the email is sent, not 100% sure why Concierge icon is not appearing, will probably have an update (and possibly PR) tomorrow.

MarioExpensify avatar Dec 03 '24 20:12 MarioExpensify

@trjExpensify @MarioExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

melvin-bot[bot] avatar Dec 04 '24 09:12 melvin-bot[bot]

Update

Another quick update, I'm still working on this one, I've got a small question regarding the flow in ND (before the summary email hits the user) that I've left in this thread. Now I'm taking a look at how the Concierge avatar is added to the message. I'll keep you posted.

Edit. It seems the message sent to ND comes from the workspace admin, while the email receives the system message from the Concierge, I believe that may be the source of the issue, looking how to fix it:

ND: image

Email: image

@trjExpensify now, which of these is actually wrong? Is it the ND message that should come from Concierge or the Email notification that should have the system message from the workspace admin?

MarioExpensify avatar Dec 05 '24 17:12 MarioExpensify

Chatted it out here!

trjExpensify avatar Dec 05 '24 18:12 trjExpensify

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

melvin-bot[bot] avatar Dec 09 '24 09:12 melvin-bot[bot]

Update

Hey, no updates during the weekend, sorry 😅 . I already started working on how to change the email to stop using Concierge account as "sender" for the sys message. Expecting to have a PR ready for review Today if this is the only flow affected.

MarioExpensify avatar Dec 09 '24 11:12 MarioExpensify

Love it, appreciate the update!

trjExpensify avatar Dec 09 '24 13:12 trjExpensify

Update

Still working on this one, I thought I had the fix already but after the test the problem persists. The testing of this issue locally takes some time as sometimes the email takes more than 10 minutes to arrive so I'm multitasking a little. Will have this wrapped up soon.

MarioExpensify avatar Dec 12 '24 12:12 MarioExpensify

@trjExpensify, @MarioExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Dec 16 '24 09:12 melvin-bot[bot]

Update

PR on its way (finally!) - Testing locally and updating unit/integration tests before wrapping up.

MarioExpensify avatar Dec 16 '24 16:12 MarioExpensify

PR is ready for review!

MarioExpensify avatar Dec 17 '24 17:12 MarioExpensify

Deployed to production. Waiting for any regressions then we can close thise.

MarioExpensify avatar Dec 20 '24 12:12 MarioExpensify