Open IuliiaHerets opened 1 week ago
Triggered auto assignment to @mjasikowski (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
Triggered auto assignment to @stephanieelliott (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.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
We think that this bug might be related to #vip-bills
When the device font size is small, the balance on invoices appears cut off.
The issue is due to the use of a static font size in the balance component, specifically styles.textXXXLarge
:
https://github.com/Expensify/App/blob/f8e79289ab1853ad9367250e94b2466644a899a8/src/components/Balance.tsx#L16
https://github.com/Expensify/App/blob/672a937b80e088402de664172068817f1e328b65/src/styles/index.ts#L451-L453
https://github.com/Expensify/App/blob/5b2a329edb9a4a96f521e889b74d709646cae26c/src/styles/variables.ts#L65 The textHeadline
style within the balance component adjusts line height based on screen scale, which in our caseresults in the line height becoming smaller than the font size, causing the text to look cut off.
https://github.com/Expensify/App/blob/672a937b80e088402de664172068817f1e328b65/src/styles/index.ts#L474
https://github.com/Expensify/App/blob/5b2a329edb9a4a96f521e889b74d709646cae26c/src/styles/variables.ts#L113
We should modify the fontSizeXXXLarge
to utilize getValueUsingPixelRatio
, as demonstrated here:
We could override the line height to remain at a constant 32
across all cases.
To implement this, we could initialize a new variable lineHeightFixedLarge:32
and override the height by placing it at the end of the style array
Checking
https://github.com/Expensify/App/pull/46813 this PR introduces the invoice balance view and is a part of this deployment
@rezkiy37 can you take a look?
Hi, I am Michael (Mykhailo) from Callstack, an expert agency and I can work on this issue. I am the author of this PR (https://github.com/Expensify/App/pull/46813).
@mjasikowski Can you please assign me this issue since I reviewed the PR? Thanks!
@allroundexperts done
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.46-5 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-10-16. :confetti_ball:
For reference, here are some details about the assignees on this issue:
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:
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.47-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-10-17. :confetti_ball:
For reference, here are some details about the assignees on this issue:
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:
Hey @allroundexperts can you complete the BZ checklist when you get a sec?
[Upwork Job]()
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.46-1 Reproducible in staging?: Y Reproducible in production?: N/A - new feature, doesn't exist in prod Issue was found when executing this PR: https://github.com/Expensify/App/pull/46813 Email or phone of affected tester (no customers): applausetester+kh051001@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The balance will not be cut off.
Actual Result:
The balance is cut off.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/02f7b321-a954-44be-b888-161113c5e84a
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @stephanieelliott