App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-11-04] Login - Long Email is cut off for a Welcome Page

Open mvtglobally opened this issue 5 years ago • 16 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. Lunch the app
  2. Enter a new account with long email which hasn't been validated
  3. Click Continue

Expected Result:

Long Email is fully visible for a Welcome Page

Actual Result:

Long Email is cut off for a Welcome Page

Workaround:

n/a

Platform:

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

**Version Number:1.1.8-0 **Reproducible in staging?:Y **Reproducible in production?:Y Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Expensify/Expensify Issue URL: **Issue reported by:Applause Slack conversation:

View all open jobs on GitHub

mvtglobally avatar Oct 19 '21 02:10 mvtglobally

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

MelvinBot avatar Oct 19 '21 02:10 MelvinBot

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

MelvinBot avatar Oct 19 '21 02:10 MelvinBot

Proposal

  1. Fix Login Text on the ResendValidationForm. https://github.com/Expensify/App/blob/5b3baae12e3a3695d0439e1a54ef4e536866c750/src/pages/signin/ResendValidationForm.js#L115

  2. We just need to add numberOfLines and it will be trimmed with an ellipsis.


                        <Text style={[styles.textStrong]} numberOfLines={1}>
                            {login}
                        </Text>

OR

If we want to wrap this text.

then we have to wrap the Text in a View with flex:1.

  <View style={[styles.flex1]}>
                        <Text style={[styles.textStrong]}>
                            {login}
                        </Text>
                    </View>

parasharrajat avatar Oct 19 '21 02:10 parasharrajat

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

MelvinBot avatar Oct 19 '21 16:10 MelvinBot

Getting posted NOW

dylanexpensify avatar Oct 20 '21 10:10 dylanexpensify

Internal: https://www.upwork.com/ab/applicants/1450770992699342848/job-details External: https://www.upwork.com/jobs/~01644481d603264770

dylanexpensify avatar Oct 20 '21 10:10 dylanexpensify

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

MelvinBot avatar Oct 20 '21 10:10 MelvinBot

Solution Proposal

If wanting the text to be wrapped to the next line, "flex" can be used like so;

<Text style={[styles.textStrong, {flex: 1} ]}>
    {login}  
</Text>

If wanting the text to be cut off at the edge of the screen with an ellipsis afterwards, "numberOfLines" can be used like so;

<Text style={[styles.textStrong]} numberOfLines={1}>
    {login}
</Text>

Castineiras avatar Oct 20 '21 11:10 Castineiras

@parasharrajat Your solution for wrapping (not ellipsis trimming) looks good! Assigning to you now.

johnmlee101 avatar Oct 20 '21 14:10 johnmlee101

@johnmlee101 am I good to hire?

dylanexpensify avatar Oct 20 '21 15:10 dylanexpensify

Yes!

johnmlee101 avatar Oct 20 '21 15:10 johnmlee101

done! cc @parasharrajat

dylanexpensify avatar Oct 20 '21 16:10 dylanexpensify

Issue not reproducible during KI retests. (First Week)

mvtglobally avatar Oct 26 '21 01:10 mvtglobally

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.10-2 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/5961
  • https://github.com/Expensify/App/pull/5961

If no regressions arise, payment will be issued on 2021-11-04. :confetti_ball:

botify avatar Oct 28 '21 20:10 botify

Issue not reproducible during KI retests. (Second week)

mvtglobally avatar Nov 02 '21 00:11 mvtglobally

Paid out job, ended contract, and closed out job posting!

dylanexpensify avatar Nov 05 '21 12:11 dylanexpensify