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

[HOLD for payment 2022-12-20] Text is clipped on iOS sign in page #13336

Closed
NikkiWines opened this issue Dec 5, 2022 · 62 comments · Fixed by #13389
Closed

[HOLD for payment 2022-12-20] Text is clipped on iOS sign in page #13336

NikkiWines opened this issue Dec 5, 2022 · 62 comments · Fixed by #13389
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@NikkiWines
Copy link
Contributor

NikkiWines commented Dec 5, 2022

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. open New Expensify app.
  2. go to the login page
  3. type an email address that has a ‘g’ in it (e.g. [email protected])

Expected Result:

bottom of ‘g’ isn’t clipped

Actual Result:

bottom of ‘g’ is clipped

Workaround:

N/A user can still use New Expensify

Platform:

  • iOS

Version Number: v1.2.36-1
Reproducible in staging?: No
Reproducible in production?: No
Email or phone of affected tester (no customers): N/A
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
image

Expensify/Expensify Issue URL: N/A

Issue reported by: @Santhosh-Sellavel
Slack conversation: conversation 1, conversation 2

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c5cab80b99e5d1f4
  • Upwork Job ID: 1600914332989022208
@NikkiWines NikkiWines added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 5, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 5, 2022

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

@hungvu193
Copy link
Contributor

Proposal
This cause by the line height of the text input, when the text inside TextInput is bigger than the lineheight, this issue happened.
Solution
We can remove the lineHeight or set it to undefined.

    baseTextInput: {
        fontFamily: fontFamily.EXP_NEUE,
        fontSize: variables.fontSizeNormal,
+       lineHeight: undefined,
-       lineHeight: variables.fontSizeNormalHeight,
        color: themeColors.text,
        paddingTop: 23,
        paddingBottom: 8,
        paddingHorizontal: 11,
        borderWidth: 0,
    },

Result:

simulator_screenshot_FF649684-CA66-4A11-9AAC-5EC4CEE91DCB
Screen Shot 2022-12-06 at 09 45 34

@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Dec 6, 2022

Triaging:

From this SO: https://stackoverflow.com/c/expensify/questions/14418

  • The "bug" is actually a bug:
  • The bug is not a duplicate report of an existing GH (close the GH and add any novel details to the original GH instead):
  • The bug is reproducible, following the reproduction steps:
  • If you're unable to reproduce the bug, add the Needs reproduction label. Comment on the issue outlining the steps you took to try to reproduce the bug, your results and tag the issue reporter and the Applause QA member who created the issue. Ask them to clarify reproduction steps and/or to check the reproduction steps again. Close issue.:
  • The GH template is filled out as fully as possible -- this means the GH body and title are clear (ie. could an external contributor understand it and work on it?):
  • The GH was created by an Expensify employee or a QA tester:
  • If the bug is an OldDot issue, you should decide whether it is widespread enough to justify fixing or it is better to wait for reunification. If it's better to wait, close the GH & provide this justification:
  • If there's a link to Slack, check the discussion to see if we decided not to fix it:
  • Decide if the GH should be resolved by an External contributor or Internal engineer, add the appropriate label:

@joekaufmanexpensify
Copy link
Contributor

Reproduced in iOS:

image

@joekaufmanexpensify
Copy link
Contributor

@NikkiWines I'm assuming this one is good to be external?

@fedirjh

This comment was marked as resolved.

@NikkiWines
Copy link
Contributor Author

NikkiWines commented Dec 6, 2022

@joekaufmanexpensify was going to handle it myself since it's such an easy fix, hence not applying the External label yet.

@hungvu193, @fedirjh, please be aware that issues that aren't marked as External may be worked on internally. For more details please see the propose a solution for the job section of the contributing readme

@joekaufmanexpensify joekaufmanexpensify added Engineering Internal Requires API changes or must be handled by Expensify staff labels Dec 6, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 6, 2022

Current assignee @NikkiWines is eligible for the Engineering assigner, not assigning anyone new.

@NikkiWines NikkiWines linked a pull request Dec 7, 2022 that will close this issue
49 tasks
@NikkiWines NikkiWines added the Reviewing Has a PR in review label Dec 7, 2022
@joekaufmanexpensify
Copy link
Contributor

PR is up and under review!

@Santhosh-Sellavel
Copy link
Collaborator

@joekaufmanexpensify I'm eligible for reporting bonus here.

@joekaufmanexpensify
Copy link
Contributor

Re-opening to handle payment.

@joekaufmanexpensify
Copy link
Contributor

Okay, we need to issue two payments here:

@joekaufmanexpensify joekaufmanexpensify added the External Added to denote the issue can be worked on by a contributor label Dec 8, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 8, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Dec 8, 2022

📣 @mollfpr You have been assigned to this job by @joekaufmanexpensify!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot changed the title Text is clipped on iOS sign in page [$1000] Text is clipped on iOS sign in page Dec 8, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 13, 2022

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:

@NikkiWines
Copy link
Contributor Author

Hmm, it's a little difficult to backtrace when this was first introduced actually because the modified line previously hadn't been modified for over a year

image

I suspect it was #10312 that introduced it but it's difficult to trace back. Will do some more digging this week or early next week to see if we can narrow it down

@Santhosh-Sellavel
Copy link
Collaborator

Recent font changes could also may be a problem, I guess.

@Luke9389
Copy link
Contributor

Just want to reiterate that I've got this one covered in this PR: #12447
I see you're doing the RCA, but just putting this here for posterity. 👍

@joekaufmanexpensify
Copy link
Contributor

Next step is bug zero checklist

@joekaufmanexpensify
Copy link
Contributor

@Luke9389 Just for my own understanding as we finish up this issue, your most recent message means that you're fixing the regression that was reported here in the PR you linked, right?

@joekaufmanexpensify
Copy link
Contributor

Okay, just summarizing payment next steps as we approach tomorrow:

  • @Santhosh-Sellavel - $250 for reporting the bug originally.
  • @mollfpr - $500 for PR review (This is reduced by 50% from $1000 originally as this PR introduced a regression).
  • @jatinsonijs - bonus for regression reporting. I believe this is also $250, but am confirming internally.

@joekaufmanexpensify
Copy link
Contributor

Proposed new regression test here.

@Luke9389
Copy link
Contributor

Just for my own understanding as we finish up this issue, your most recent message means that you're fixing the regression that was reported #13336 (comment) in the PR you linked, right?

That's correct

@joekaufmanexpensify
Copy link
Contributor

Great, thanks for confirming!

@jatinsonijs
Copy link
Contributor

Okay, just summarizing payment next steps as we approach tomorrow:

  • @Santhosh-Sellavel - $250 for reporting the bug originally.
  • @mollfpr - $500 for PR review (This is reduced by 50% from $1000 originally as this PR introduced a regression).
  • @jatinsonijs - bonus for regression reporting. I believe this is also $250, but am confirming internally.

@joekaufmanexpensify can you plz confirm, should I apply on https://www.upwork.com/jobs/~01c5cab80b99e5d1f4 ?

@joekaufmanexpensify
Copy link
Contributor

Yes please do. You'll get $250 regression reporting bonus.

@jatinsonijs
Copy link
Contributor

Yes please do. You'll get $250 regression reporting bonus.

Thanks, done

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 20, 2022
@joekaufmanexpensify
Copy link
Contributor

@jatinsonijs Great! Just extended offer.

@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Dec 20, 2022

@mollfpr $500 payment sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

@Santhosh-Sellavel $250 payment sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

Linked regression test above in BZ checklist. All that's left here is to pay the regression reporting bonus, and then the last few items for @NikkiWines and @mollfpr in the BZ checklist.

@jatinsonijs
Copy link
Contributor

@joekaufmanexpensify I have accepted the contract.

@mollfpr
Copy link
Contributor

mollfpr commented Dec 21, 2022

[@mollfpr / @NikkiWines] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

Slack thread here

@joekaufmanexpensify
Copy link
Contributor

@jatinsonijs payment sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

Job is closed in upwork. @mollfpr and @NikkiWines are working on their remaining BZ checklist steps, and then we can close this!

@joekaufmanexpensify
Copy link
Contributor

I'm going to be OOO from tomorrow - January 2nd. All that's left here is the engineering section of the BZ checklist. I'm going to change this to weekly in the interim, as this is not urgent.

@NikkiWines and @mollfpr, if you have a chance to finish up the BZ checklist before then, that's great. If not, I'll change the prioritization back to daily when I'm back so we can finish this up.

@NikkiWines
Copy link
Contributor Author

BZ checklist is completed, any further discussion can happen in the BZ slack thread. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants