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] 'validateCodeForm.codeSent' is displayed when clicking 'Request a new code here' instead of displaying a normal text for the users #17857

Closed
1 of 6 tasks
kavimuru opened this issue Apr 23, 2023 · 16 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented Apr 23, 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. Go to web chrome on staging
  2. Log out and enter your email that you haven't used for signing with a magic code earlier
  3. Now check your mail and click on the link 'Click onto sign in to your expensify account'
  4. A new page appears
  5. Click on the link 'just sign in here'
  6. Then click on the link 'Request a new code' and notice that it displays message like 'validateCodeForm.codeSent' instead of a normal text

Expected Result:

Normal message should be displayed instead of 'validateCodeForm.codeSent'

Actual Result:

'validateCodeForm.codeSent' is displayed on clicking 'just sign in here'.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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: 1.3.4
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
Screenshot from 2023-04-22 10-13-17

code.mp4
Recording.328.mp4

Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682137890899889

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010f1880da5fbe2921
  • Upwork Job ID: 1654566323152588800
  • Last Price Increase: 2023-05-05
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 23, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@priya-zha
Copy link

As per the conversation here in Slack, https://expensify.slack.com/archives/C049HHMV9SM/p1682137890899889, to reproduce the issue, please make sure to have logged out from the new.expensify.com in production. Thus, go to new.expensify.com and if you are already logged in, please log out and then following the above mentioned steps in the staging dot would help to reproduce the bug.

@allroundexperts
Copy link
Contributor

allroundexperts commented Apr 23, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

validateCodeForm.codeSent is shown on the ExpiredValidateCodeModel

What is the root cause of that problem?

The root cause is that we're not wrapping the message inside the translate function.

What changes do you think we should make in order to solve the problem?

We need to replace codeRequestedMessage with this.props.translate(codeRequestedMessage) here.
This is consistent with how this message is being displayed here and here.

I also noticed that we're using the codeRequestedErrors text without translation here as well. We thus need to wrap this inside the translate function as well.

What alternative solutions did you explore? (Optional)

None

@mollfpr
Copy link
Contributor

mollfpr commented Apr 24, 2023

Thanks @allroundexperts for the proposal! This is a regression from #17216, so @Pujan92 will work on this to fix it.

cc @tgolen @puneetlath

@Pujan92
Copy link
Contributor

Pujan92 commented Apr 24, 2023

@mollfpr are you able to reach out to this page in dev env?
Able to land on this page.

@mollfpr
Copy link
Contributor

mollfpr commented Apr 24, 2023

@Pujan92 Actually, I haven't! How do you do it?

@Pujan92
Copy link
Contributor

Pujan92 commented Apr 24, 2023

@Pujan92 Actually, I haven't! How do you do it?

Once received magic link email, try to open a previous expired link. With this, you will get that page and link request a new code here

@MelvinBot
Copy link

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

@puneetlath puneetlath added the External Added to denote the issue can be worked on by a contributor label May 5, 2023
@melvin-bot melvin-bot bot changed the title 'validateCodeForm.codeSent' is displayed when clicking 'Request a new code here' instead of displaying a normal text for the users [$1000] 'validateCodeForm.codeSent' is displayed when clicking 'Request a new code here' instead of displaying a normal text for the users May 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

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

melvin-bot bot commented May 5, 2023

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

@puneetlath puneetlath removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 5, 2023
@puneetlath
Copy link
Contributor

Marking as External just so we can get @priya-zha paid out for the issue report. All other payments will be handled on #17216.

@priya-zha can you apply to https://www.upwork.com/jobs/~010f1880da5fbe2921 please?

@priya-zha
Copy link

@puneetlath Submitted the proposal. Thanks.

@puneetlath
Copy link
Contributor

All paid!

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 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

8 participants