App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment Aug 12] Log in - Update copy for Set a password screen

Open isagoico opened this issue 5 years ago • 11 comments

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:

  1. Log in with a new account
  2. Check the inbox for the magic link

Expected Result:

Page should mention something like "Welcome back! Please set a password.

Actual Result:

Page says "Enter your phone number or email to continue"

Workaround:

N/A

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.0.81-3

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos:

image

Expensify/Expensify Issue URL:

View all open jobs on Upwork


From @muttmuure https://expensify.slack.com/archives/C01GTK53T8Q/p1627559622440500

The set first password screen references entering your phone/email address. It should say something like: “Welcome back! Please set a password”

isagoico avatar Jul 29 '21 22:07 isagoico

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

MelvinBot avatar Jul 29 '21 22:07 MelvinBot

The same problem exists in the login flow, enter the password page too.

Proposal

At the moment, SignInPageLayoutWide and SignInPageLayoutNarrow both have a Text that shows welcomeText.phrase1. SignInPageLayout internally calls one of the layouts based on dimension.

SignInPage and SetPassword screen use SignInPageLayout as the container.

Approach:

  1. Add two translate keys phrase4: Welcome back to Expensify! Please set your Password, phrase5: `Welcome back to Expensify! Please enter your password
  2. In the SiginWithLayout, SignInPageLayoutNarrow, SignInPageLayoutWide, take a prop for welcomeText for translation
  3. Change the hardcoding of {props.translate('welcomeText.phrase1')} with the passed prop in SignInPageLayoutNarrow and SignInPageLayoutWide
  4. Send welcomeText prop in SetPassword welcomeText.phrase4
  5. In SiginInPage, handle the welcomeText prop based on the conditions showLoginForm: 'welcomeText.phrase1' and showPasswordForm: 'welcomeText.phrase5'

mananjadhav avatar Jul 29 '21 22:07 mananjadhav

Triggered auto assignment to @mallenexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Jul 30 '21 08:07 MelvinBot

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

MelvinBot avatar Aug 02 '21 19:08 MelvinBot

https://www.upwork.com/jobs/~0145dfd23aa42149f9 Posted!

mallenexpensify avatar Aug 03 '21 01:08 mallenexpensify

Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Aug 03 '21 01:08 MelvinBot

Problem Identification Hi there, Please note that this issue is not related to react native. it's related to website which is using React atm.

Let me clear you the issue Now. Screenshot 2021-08-03 at 7 04 35 AM Screenshot 2021-08-03 at 7 05 06 AM

As you can see in 2nd screenshot these are Typos issues here in https://new.expensify.com/setpassword

Solution Proposal Keep in Mind --> when a user valid his email then in app you are opening a WebView for the users to setPassword. so solution for this is to Edit your Website code and edit the /setpassword page Text.

Note I did't even check the app code but I just take alook and understand and sure this is the solution.

I see your project on upwork and now i'm writing proposal. Thanks

@isagoico @HorusGoul @Jag96

zain148 avatar Aug 03 '21 02:08 zain148

We add the new translate key inside welcomeText in "main/src/languages/en.js" like (phrase4: 'Welcome back to Expensify! Please set your Password') and use inside {props.translate('welcomeText.phrase4')} with condition in "/src/pages/signin/SignInPageLayout/SignInPageLayoutWide.js" and "/src/pages/signin/SignInPageLayout/SignInPageLayoutNarrow.js"

arpitdeveloper avatar Aug 04 '21 04:08 arpitdeveloper

@mananjadhav your proposal sounds good, offer sent, feel free to start on a PR

Jag96 avatar Aug 04 '21 17:08 Jag96

@Jag96 PR Raised. Need help with Esp translations.

mananjadhav avatar Aug 04 '21 18:08 mananjadhav

Paid!

Jag96 avatar Aug 13 '21 02:08 Jag96