Skip to content

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

Closed

Description

@izarutskaya

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

Activity

  1. added
    Daily
    Bug
    on Aug 24, 2023
  2. melvin-bot commented on Aug 24, 2023

    @melvin-bot

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

  3. melvin-bot commented on Aug 24, 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
  4. melvin-bot commented on Aug 28, 2023

    @melvin-bot

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

  5. melvin-bot commented on Aug 30, 2023

    @melvin-bot

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

  6. maddylewis commented on Aug 30, 2023

    @maddylewis
    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!

  7. maddylewis commented on Aug 30, 2023

    @maddylewis
    Contributor

    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.

  8. maddylewis commented on Aug 30, 2023

    @maddylewis
  9. tranvantoan-qn commented on Aug 30, 2023

    @tranvantoan-qn

    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

  10. added
    External
    on Aug 30, 2023
  11. 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.[/+] on Aug 30, 2023
  12. 12 remaining items

  13. melvin-bot commented on Sep 4, 2023

    @melvin-bot

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

  14. melvin-bot commented on Sep 6, 2023

    @melvin-bot

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

  15. maddylewis commented on Sep 6, 2023

    @maddylewis
    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!

  16. mountiny commented on Sep 7, 2023

    @mountiny
    Contributor

    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 😄

  17. melvin-bot commented on Sep 11, 2023

    @melvin-bot

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

  18. mountiny commented on Sep 11, 2023

    @mountiny
    Contributor

    asked in DM

  19. NikkiWines commented on Sep 12, 2023

    @NikkiWines
    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

  20. mountiny commented on Sep 12, 2023

    @mountiny
    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

Metadata

Metadata

Labels

BugDailyEngineeringHelp WantedInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions