App icon indicating copy to clipboard operation
App copied to clipboard

Login placeholder text repeats label text

Open anthony-hull opened this issue 5 years ago • 18 comments

Action Performed:

Log out and view login form

image same on iOS: image

The Label and placeholder repeats the same information.

https://expensify.slack.com/archives/C01GTK53T8Q/p1629309005011200 It was suggested in the above thread we remove the placeholder text.

Platform:

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

View all open jobs on GitHub

anthony-hull avatar Aug 18 '21 18:08 anthony-hull

Triggered auto assignment to @ntrepanier (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Aug 18 '21 18:08 MelvinBot

Since the label and placeholders look to be inverted between web and mobile. How would we like them to appear?

anthony-hull avatar Aug 18 '21 18:08 anthony-hull

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

MelvinBot avatar Aug 18 '21 19:08 MelvinBot

Triggered auto assignment to @michelle-thompson (Design), see these Stack Overflow questions for more details.

MelvinBot avatar Aug 18 '21 21:08 MelvinBot

Just a quick confirmation. Which one should we remove?

I kind of like the idea of removing the black label, but probably clearer to just remove the inside teh field grey'd placeholder

ctkochan22 avatar Aug 18 '21 21:08 ctkochan22

I think the iOS screenshot provided is an old screenshot, the new text input style is actually what is shown in the first screenshot: image

If you pull the latest version of the code and run the iOS simulator locally, I am hopeful that the new input should appear. If not, that's a separate bug.

In terms of the label, I agree - I think we just consolidate and use "Phone or email" especially since "Enter your phone or email" is written in the heading above.

shawnborton avatar Aug 19 '21 08:08 shawnborton

I don't think this is really an issue. its just preferences.

parasharrajat avatar Aug 19 '21 08:08 parasharrajat

Personally I think this is an issue worth solving - it should be quite simple to fix this as well.

shawnborton avatar Aug 19 '21 08:08 shawnborton

Do you mean to change the label to Phone or email? @shawnborton . That's is quite easy.

parasharrajat avatar Aug 19 '21 08:08 parasharrajat

Basically let's keep the text input label as it is and then remove the placeholder text from the input - the placeholder text is the duplicate that we want to get rid of.

shawnborton avatar Aug 19 '21 08:08 shawnborton

Proposal: remove

placeholder={this.props.translate('loginForm.enterYourPhoneOrEmail')}
placeholderTextColor={themeColors.placeholderText}

from LoginForm.js and enterYourPhoneOrEmail from the translations

anthony-hull avatar Aug 20 '21 08:08 anthony-hull

image

image

ctkochan22 avatar Aug 30 '21 18:08 ctkochan22

is it normal for a staff member to make a PR instead of hiring?

anthony-hull avatar Aug 31 '21 14:08 anthony-hull

@anthony-hull My bad, it was assigned to me and I just fixed it. I just chatted with @arielgreen and she confirmed that since you proposed it, you will still get compensated.

ctkochan22 avatar Aug 31 '21 19:08 ctkochan22

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

botify avatar Aug 31 '21 20:08 botify

@anthony-hull to clarify what's changed, since this is a brand new, more pro-contributor change to our process: we just (yesterday, actually) updated our CONTRIBUTING.md so if you propose an issue that gets implemented (either via contributor or via Expensify staff) you are eligible for the $250 bounty, regardless of whether you are the one who implemented the fix.

Here is the updated language around that.

I've just sent over the over the bounty offer for this on Upwork. Once you accept, we'll pay it out. :)

Sorry for the confusion, let me know if you have any questions!

arielgreen avatar Aug 31 '21 20:08 arielgreen

🚀 Deployed to staging by @stitesExpensify in version: 1.0.90-3 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

botify avatar Sep 01 '21 03:09 botify

🚀 Deployed to production by @roryabraham in version: 1.0.91-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

botify avatar Sep 02 '21 00:09 botify