You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-06-20] [$500] Status - Emoji in custom status holder is not centered #35389
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2DesignEngineeringExternalAdded to denote the issue can be worked on by a contributor
Version Number: v1.4.33-3 Reproducible in staging?: y Reproducible in production?: new feature If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal team Slack conversation:
👋 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:
Identify the pull request that introduced this issue and revert it.
Some emojis are aligned differently on different platforms as right now we are using text to display emojis and it taking space different on platform basis, and I think that was discussed on the original PR.
does we need to fix text of emoji on the platform basis ?
cc: @shawnborton@dubielzyk-expensify@mollfpr
When we test this with Figma, basically vertically and horizontally centering the text gives us pretty predictable results with centering:
The only thing I could think to do would be to give the emoji text a set line height, height, and width. And then make sure this view also does vertical and horizontal centering?
Some emojis are aligned differently on different platforms as right now we are using text to display emojis and it taking space different on platform basis, and I think that was discussed on the original PR.
I don’t think we can find a quick fix for this. Either way we want to fix this or close it, this shouldn’t be a blocker.
The only thing I could think to do would be to give the emoji text a set line height, height, and width. And then make sure this view also does vertical and horizontal centering?
changed the title [-][$500] Status - Emoji in custom status holder is not centered[/-][+][HOLD for payment 2024-06-20] [$500] Status - Emoji in custom status holder is not centered[/+]on Jun 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve 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:
[@abdulrahuman5196] The PR that introduced the bug has been identified. Link to the PR:
[@abdulrahuman5196] 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:
[@abdulrahuman5196] 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:
[@abdulrahuman5196] Determine if we should create a regression test for this bug.
[@abdulrahuman5196] 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.
[@abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
The PR that introduced the bug has been identified. Link to the PR:
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:
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:
Not a regression.
Determine if we should create a regression test for this bug.
Yes.
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.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2DesignEngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
github-actions commentedon Jan 30, 2024
👋 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:
melvin-bot commentedon Jan 30, 2024
Triggered auto assignment to @madmax330 (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.kbecciv commentedon Jan 30, 2024
We think that this bug might be related to #vip-vsb
CC @quinthar
Krishna2323 commentedon Jan 30, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Status - Emoji in custom status holder is not centered
What is the root cause of that problem?
This is a browser specific issue, more details here.
What changes do you think we should make in order to solve the problem?
We need to increase the font-size and use scale property to get the emoji back in original size.
For chrome:
For safari:
Result
situchan commentedon Jan 30, 2024
cc: @jayeshmangwani
jayeshmangwani commentedon Jan 30, 2024
Some emojis are aligned differently on different platforms as right now we are using text to display emojis and it taking space different on platform basis, and I think that was discussed on the original PR.
does we need to fix text of emoji on the platform basis ?
cc: @shawnborton @dubielzyk-expensify @mollfpr
shawnborton commentedon Jan 30, 2024
How are we currently handling the alignment? Are we just using text-align: center or something like that here?
jayeshmangwani commentedon Jan 30, 2024
Currently we are adding the alignItemsCenter & justifyContentCenter to the parent View of the Text component
App/src/styles/index.ts
Lines 3930 to 3932 in cfb6f2c
shawnborton commentedon Jan 30, 2024
Hmm, I have no idea then.
When we test this with Figma, basically vertically and horizontally centering the text gives us pretty predictable results with centering:

The only thing I could think to do would be to give the emoji text a set line height, height, and width. And then make sure this view also does vertical and horizontal centering?
mollfpr commentedon Jan 30, 2024
I don’t think we can find a quick fix for this. Either way we want to fix this or close it, this shouldn’t be a blocker.
dannymcclain commentedon Jan 30, 2024
This is where my mind went too.
210 remaining items
[-][$500] Status - Emoji in custom status holder is not centered[/-][+][HOLD for payment 2024-06-20] [$500] Status - Emoji in custom status holder is not centered[/+]melvin-bot commentedon Jun 13, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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-20. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jun 13, 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:
abekkala commentedon Jun 20, 2024
PAYMENT SUMMARY FOR JUNE 20
Please complete checklist
abekkala commentedon Jun 20, 2024
@Krishna2323 payment sent and contract ended - thank you! 🎉
abdulrahuman5196 commentedon Jun 20, 2024
Not a regression.
Yes.
@abekkala
abekkala commentedon Jun 21, 2024
@abdulrahuman5196 payment sent and contract ended - thank you! 🎉