-
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
[HOLD for payment 2023-07-21] [$1000] Login - Inconsistent copy in error message on 2FA entry screen #21321
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing 'Authentication' word in error message in 2FA entry screen What is the root cause of that problem?In the What changes do you think we should make in order to solve the problem?If this is a valid inconsistent bug then we can update the translations for en.js and es.js for below key. Line 558 in a777544
Please enter your two-factor authentication code
Line 558 in a777544
|
Agreed, let's make it consistent. Question, why do we have two error codes that say almost the same thing. Do we not have a library of errors that we can reference in both step 4 and 5? It would be more organized to write the error once and reference it in various places, wouldn't it? If that's not our standard practice - fine, but if it is then let's make sure that both cases reference the same error |
Job added to Upwork: https://www.upwork.com/jobs/~0181c49131acb5e082 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
@sonialiap Straight forward we just need the updated copy here in both languages, and we can go with @Pujan92 here! C+ Reviewed |
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
We just need updated copies to get started @amyevans! |
I don't agree this is a bug, the error messages communicate different things. In the first case, the user hasn't entered any 2FA code at all, so they're instructed to enter one. In the second case, they entered a code, but it was incorrect, so the error message communicates that. It's a tad subtle, but I think it's helpful and in service of helping the customer. @sonialiap thoughts? |
Sure, cleaning it up a bit sounds good 👍. I am not sure if For context, it looks like we're exclusively using the hyphenated, lowercase phrase in the App repo. In Web-E it looks like we're largely standardized on "Two Factor Authentication" but not exclusively. It also seems like moving to capitalization was intentional (in https://github.com/Expensify/Web-Expensify/pull/36159, cc @NikkiWines as I'd be curious for more context). The It's not a proper noun, so I think lowercase is correct. I think hyphenated is also correct since two-factor is a compound adjective. So based on that my suggestion would be to update the 3 instances of |
IIRC we standardized on |
here's the last time this was brought up, https://github.com/Expensify/Expensify/issues/175847#issuecomment-910290429. |
@amyevans Bump! |
Slack thread for internal reference: https://expensify.slack.com/archives/C21FRDWCV/p1688764627188419 In requesting the translation, @iwiznia pointed out that we have a rule
that should trump any older rules we were following for OldDot. So I think the best course of action is to leave the frontend error messages and translations as they are, and update the backend error (https://github.com/Expensify/Web-Expensify/blob/main/lib/UserAPI.php#L2701) to be The method is only used by NewDot, which is a detail I was missing before. So while it might be inconsistent within the code in Web-E, it would not be inconsistent within the app (OldDot would handle it one way, NewDot would handle it another). |
We don't want to do this too? Right? |
Right - just update any errors that get surfaced in NewDot flows, do not touch OldDot flows. |
So do we only need to update Line 571 in 6a7c1b2
|
Yes, so that can be |
@Santhosh-Sellavel @amyevans PR is ready for review, Thanks! |
🎯 ⚡️ Woah @Santhosh-Sellavel / @Pujan92, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.40-5 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 2023-07-21. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Everything was intentionally added earlier so we can skip this @amyevans |
Request Payment on ND |
Approved 1500 to Santhosh based on #21321 (comment) |
@Pujan92 offer sent for fix (+bonus) |
@sonialiap thanks, accepted the offer. |
Thanks, paid 🚀 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The term used for 2FA in the error message in Step 4 and 5 should be the same.
Actual Result:
Error message in
Step 4 - Please enter your two-factor code.
Step 5 - Incorrect Two Factor Authentication code. Please try again.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.30.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug6102839_Screen_Recording_20230622_224816_New_Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: