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 2024-06-28] Default line height is 21 instead of 20 #43371

Closed
6 tasks done
shawnborton opened this issue Jun 10, 2024 · 17 comments
Closed
6 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@shawnborton
Copy link
Contributor

shawnborton commented Jun 10, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v1.4.81-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): @shawnborton @Expensify/design
Logs: N/A
Expensify/Expensify Issue URL: N/A
Issue reported by: @shawnborton
Slack conversation: Link

Action Performed:

View any default font size in the app

Expected Result:

The default line height should be 20

Actual Result:

The default line height is 21. This is caused by a commit introduced here by @j-piasecki

Workaround:

N/A

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @jliexpensify
@shawnborton shawnborton added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 10, 2024
Copy link

melvin-bot bot commented Jun 10, 2024

Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@shawnborton
Copy link
Contributor Author

Also just noting that we do not want to accept external proposals for this, as @j-piasecki plans to create a fix for this.

@jliexpensify
Copy link
Contributor

@j-piasecki hello, do you mind commenting on this issue so I can assign you? Cheers.

@j-piasecki
Copy link
Contributor

@jliexpensify Ah, sorry for the delay, I didn't see the notification

@j-piasecki
Copy link
Contributor

Update: The problem with emojis being cut off from the top looks to be somewhat related to the font being used - it's broken when using Expensify Neue and Arial but looks ok when using Segoe. I've found that on the new arch, the baseline is moved by this code fragment. After removing it, the emojis are displayed whole.

I'm a bit confused as the exact same code exists on the old architecture. I'll try to figure out what's causing the difference in behavior tomorrow.

@j-piasecki
Copy link
Contributor

Update: opened up an issue upstream: facebook/react-native#44929, alongside PR fixing it: facebook/react-native#44932. I'll open a PR fixing it in the App assuming there's nothing wrong with that approach.

@shawnborton
Copy link
Contributor Author

Amazing, thanks for doing that!

@melvin-bot melvin-bot bot added the Overdue label Jun 17, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Overdue Daily KSv2 labels Jun 18, 2024
@j-piasecki
Copy link
Contributor

Upstream PR got merged, so I opened a PR that adds a patch with the same changes to the App: #43902

Copy link

melvin-bot bot commented Jun 19, 2024

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

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 21, 2024
@melvin-bot melvin-bot bot changed the title Default line height is 21 instead of 20 [HOLD for payment 2024-06-28] Default line height is 21 instead of 20 Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.0-9 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 2024-06-28. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jun 21, 2024

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:

  • [@mountiny] The PR that introduced the bug has been identified. Link to the PR:
  • [@mountiny] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mountiny] 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:
  • [@j-piasecki] Determine if we should create a regression test for this bug.
  • [@j-piasecki] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mananjadhav
Copy link
Collaborator

@jliexpensify Can you assign me this issue. I helped with the PR review on this one.

@jliexpensify
Copy link
Contributor

Guessing this is the payment summary?

Any checklist needed?

@mananjadhav
Copy link
Collaborator

That's all @jliexpensify. There's no checklist / regression test needed here. I am going to use the previous comment for the payment summary.

@JmillsExpensify
Copy link

$250 approved for @mananjadhav

@jliexpensify
Copy link
Contributor

Great, thanks! Closing this out.

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. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants