Skip to content
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

[$1000] Web - Inconsistency in the email's content when verifying the new contact method. #25838

Closed
1 of 6 tasks
izarutskaya opened this issue Aug 24, 2023 · 23 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Help Wanted Apply this label when an issue is open to proposals by contributors Internal Requires API changes or must be handled by Expensify staff

Comments

@izarutskaya
Copy link

izarutskaya commented Aug 24, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Login to any account.
  2. Go to Settings >> Profile >> Contact method >> choose New contact method.
  3. Provide the new Contact method and click Add >> check the email's content.
  4. Click on the "Didn't receive a magic code?" option to get a new verification code >> check the email's content.
  5. Observation: The email content in step 3 and step 4 is not consistent.

Expected Result:

The email content sent in step #4 should be similar to the email sent in step #3, in order to avoid confusion with the magic code used for login.

Actual Result:

There is inconsistency in the email content between step #3 and step #4. The email’s content at step #4 is confusing because it appears the same as the email used for login.

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: v1.3.57-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

Notes/Photos/Videos: Any additional supporting documentation

AddNewContactMethod

RequestContactMethodValidateCode

20230824_180036.mp4

Expensify/Expensify Issue URL:

Issue reported by: @tranvantoan-qn

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692036965973929

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01624b023e6db373cc
  • Upwork Job ID: 1696962559910027264
  • Last Price Increase: 2023-08-30
@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 24, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 24, 2023

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

@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 30, 2023

@maddylewis Huh... This is 4 days overdue. Who can take care of this?

@maddylewis
Copy link
Contributor

sorry for the delay on this one. there were some other things that i needed to prioritize over this, but let me try to repro now!

@maddylewis
Copy link
Contributor

maddylewis commented Aug 30, 2023

Okay, so when i add a Secondary Login, I receive an email titled Verify secondary email for Expensify:

image

And, if i click Didn't receive magic code?, I receive a new email titled Your magic sign-in link for Expensify:

image

The link in the Didn't receive magic code? email doesn't work for validating a Secondary Login so it sends the customer in a loop and they might end up needing to delete / re-add their secondary login to resolve this.

@maddylewis

This comment was marked as resolved.

@tranvantoan-qn
Copy link

tranvantoan-qn commented Aug 30, 2023

Please note about the attached link too.
The link in the 2nd email can not be used for secondary email validation either (as It is a link for login).
So the text + the email's structure is confusing and doesn't make sense in the context

@melvin-bot melvin-bot bot removed the Overdue label Aug 30, 2023
@maddylewis maddylewis added the External Added to denote the issue can be worked on by a contributor label Aug 30, 2023
@melvin-bot melvin-bot bot changed the title Web - Inconsistency in the email's content when verifying the new contact method. [$1000] Web - Inconsistency in the email's content when verifying the new contact method. Aug 30, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 30, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 30, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 30, 2023

Current assignee @maddylewis is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Aug 30, 2023

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

@b4s36t4
Copy link
Contributor

b4s36t4 commented Aug 30, 2023

Is this supposed to be external? I don't think email templates/email related triggers are related App. @maddylewis maybe this has to be internal.

@mananjadhav
Copy link
Collaborator

@maddylewis This would have to be internal because email content is sent from the backend.

@maddylewis maddylewis added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Aug 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 31, 2023

Current assignee @mananjadhav is eligible for the Internal assigner, not assigning anyone new.

@maddylewis
Copy link
Contributor

updated the label - thanks!

@melvin-bot melvin-bot bot added the Overdue label Sep 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 4, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 6, 2023

Triggered auto assignment to @mountiny (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@maddylewis
Copy link
Contributor

@mountiny - my friend, Vit! i think i am meant to add the Engineering label to internal issues. But, lmk if I'm mistaken and i will go about triaging this differently!

@melvin-bot melvin-bot bot removed the Overdue label Sep 6, 2023
@mountiny
Copy link
Contributor

mountiny commented Sep 7, 2023

All good

@NikkiWines Do you know if this is a regression or maybe this loophole was missed? Would you be interested in taking this one over as you go experience with these? No problem if not 😄

@melvin-bot
Copy link

melvin-bot bot commented Sep 11, 2023

@mananjadhav, @mountiny, @maddylewis Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 11, 2023
@mountiny
Copy link
Contributor

asked in DM

@melvin-bot melvin-bot bot removed the Overdue label Sep 11, 2023
@NikkiWines
Copy link
Contributor

👋 sorry for the delay

@NikkiWines Do you know if this is a regression or maybe this loophole was missed? Would you be interested in taking this one over as you go experience with these? No problem if not 😄

I wasn't involved in this flow, but I'd guess that it was either overlooked or just not considered important when we added the Didn't receive a magic code link to the Add Contact Methods page. The code that the user receives still works, but I agree the copy is a little weird given the flow they're in.

This occurs because we call two different commands (AddNewContactMethod and RequestContactMethodValidateCode) which use two distinct templates (SecondaryLoginAdd vs. SendValidateCode) to send the code in the backend.

The latter command ultimately calls this function which does support using different templates depending on a number of factors. We could adjust it to use the SecondaryLoginAdd template (or a new template like SendValidateCode but specific to secondary logins).

Ultimately though I think it's fine to leave as is. Kind of a "nice to have" fix. FWIW, expensify.com has the same behavior

@mountiny
Copy link
Contributor

Ok, really appreciate this, I think I agree that this is super low priority and we can focus on this kind of polish after reunification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Help Wanted Apply this label when an issue is open to proposals by contributors Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants