-
Notifications
You must be signed in to change notification settings - Fork 3k
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-03] [$250] LHN: Emoji is misaligned with message #41367
Comments
Triggered auto assignment to @isabelastisser ( |
Job added to Upwork: https://www.upwork.com/jobs/~01d8085509ba977455 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.LHN: Emoji is misaligned with message in focus mode What is the root cause of that problem?When we are in focus mode we are showing the content of each conversation in the same line, this makes the content try to fit but we are also adding an unnecessary line height and min height which cause the misalignement. What changes do you think we should make in order to solve the problem?We should remove the line height and min height when user is in focus mode from OptionRowLHN component, like:
Testing the change in IOS: IOS.test.misaligned.mp4Testing in other platforms: |
Please re-state the problem that we are trying to solve in this issue.LHN: Emoji is misaligned with message in focus mode What is the root cause of that problem?Currently, we've observed that emojis within the LHN can appear misaligned when users are in focus mode. This misalignment not only affects the visual consistency of the interface but also may lead to usability issues, particularly for users who rely on visual cues for navigation. What changes do you think we should make in order to solve the problem?adjusting the lineHeight property from its current value to a slightly larger value. By increasing the lineHeight, we ensure that there is adequate vertical spacing between lines of text, including emojis, thereby improving their alignment within the LHN. Line 1832 in 57d2aee
we can use this
|
@mananjadhav, please review the proposals above. Thanks! |
I am not sure if we should update the lineHeight, it can have impact on other areas as well. @m-natarajan Did this occur recently? or the bug exists since earlier? I am also going to tag @Expensify/design to see if they have any inputs on the |
Hmm I would think the emoji should just have the same line height as the text that is next to it, no? |
Yeah I also assumed that would fix the issue |
Hi @shawnborton and @dubielzyk-expensify, It would be good to know what the target is, because it looks like the one reported here is for this misalignment: After my proposal I put all the content text in the same line height: Even in gmail emoticons can cause the effect of needing more line height depending on which one it is, see this: Also even here in github (I think this should be the correct alignment): This is not noticeable in emoticons such as 😄: |
@shawnborton raises an important consideration regarding the alignment of emojis with adjacent text. While initially, both text height and lineHeight were set to the same values, we encountered issues with misalignment. Despite having the same line height as the adjacent text, emojis may still appear misaligned due to variations in rendering, inherent size differences, and platform-specific rendering behaviors. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@tgolen, @mananjadhav, @isabelastisser Eep! 4 days overdue now. Issues have feelings too... |
@mananjadhav, can you please provide an update? Thanks! |
Not overdue. |
Waiting for @mananjadhav to update. |
Still waiting on proposals. I don't see any proposals that solve this in an accurate way. I agree that Emojis being rendered different on platforms, apps and devices. But if the expectation is that the emoji should pick the line height of the given |
Current assignee @tgolen is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @samilabud 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@tgolen @isabelastisser Can any of you help with assignment for me as reviewer ? I need this for both the issue and PR #42162 (reviewer was auto-assigned already). @samilabud Is PR ready for review ? |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Yes it is |
Done! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.75-1 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-03. 🎊 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:
|
No need to start a discussion or update the PR review checklist since this was a rare platform specific styling edge case.
No need for a regression test since this was a rare platform specific styling edge case. |
The payments were processed in Upwork. All set! |
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: 1.4.68-3
Reproducible in staging?: y
Reproducible in production?: y
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: @tgolen
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1714492986409729
Action Performed:
Expected Result:
There is no misalignment with emoji
Actual Result:
Emoji is misaliged
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @isabelastisserThe text was updated successfully, but these errors were encountered: