-
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-01-04] [$1000] IOS - Emoji chopped off from top in workspace name #26044
Comments
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
@johncschuster |
Thanks for calling that out, @DinalJivani! I've updated the OP to indicate that this might be device-specific. |
Job added to Upwork: https://www.upwork.com/jobs/~0119f528f80030b332 |
Current assignee @johncschuster is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The 🚦-emoji is cut-off when used in the name of a workspace. What is the root cause of that problem?The root cause of the problem is the The style gets applied here: App/src/pages/workspace/WorkspaceInitialPage.js Lines 239 to 244 in 96a0db1
The variables in question: Line 54 in 96a0db1
Line 95 in 96a0db1
What changes do you think we should make in order to solve the problem?A clean and simple fix is to change What alternative solutions did you explore? (Optional)Alternative solutions include introducing a new style specifically for where |
ProposalPlease re-state the problem that we are trying to solve in this issue.Emoji chopped off from top in workspace name What is the root cause of that problem?The 🚦 emoji in iOS is one of the tallest emojis and the headline Line 95 in 9701fbe
Lines 10 to 12 in 9701fbe
which is a function) What changes do you think we should make in order to solve the problem?We should these modifiations to the Headline lineheight. Solution 1:We should add a parameter to textheadline that would conditionally increase the fontsize if the parameter is true: textHeadline: (shouldBeTall) = {
...headlineFont,
...whiteSpace.preWrap,
color: themeColors.heading,
fontSize: variables.fontSizeXLarge,
//lineHeight conditionally set:
lineHeight: shouldBeTall ? variables.lineHeightXXXLarge : variables.lineHeightXXLarge,
}, Solution 2:We should add a CSS style called textHeadline: {
...headlineFont,
...whiteSpace.preWrap,
color: themeColors.heading,
fontSize: variables.fontSizeXLarge,
lineHeight: variables.lineHeightXXXLarge, // <--- lineHeight increased
}, This style should be applied to:
This is the cleaner approach and allows us to handpick where we need the Tall Headline (since the other pages What alternative solutions did you explore? (Optional)xx |
@johncschuster, @fedirjh Huh... This is 4 days overdue. Who can take care of this? |
Hey @neonbhai, @dantastisk Does this bug affect other emojis ? or it's just that specific emoji? to me, it seems like an emoji-device-specific edge case. The proposed changes do not really make sense to me, They will affect other platforms and may cause different regression. @johncschuster This bug seems to be an emoji/device-specific case, and it's an extremely edge case, I suggest we do nothing here. |
@fedirjh It affects quite a few tall emojis. Also the issue gets increasingly worse as text size is decreased on the device and affects text too on the lower settings, especially letters with accents (see the Á in the screenshots below). As for potential regressions, I've checked everywhere that the |
@dantastisk what device have you tested on? This is what I get on iPhone 11 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
The screenshots are from a physical iPhone XS. I was not able to reproduce the bug on a simulated iPhone, initially, but I realize now, that this is because the bug is related to the device text size setting (in Settings -> Accessibility -> Display & Text Size -> Larger Text). As far as I can tell, the chopping only happens when this is set to the 3rd tick or lower, worsening as the text size is decreased. I do not know how common it is to adjust these settings and what the policy is for supporting this, but this makes it seem like it should be supported: Lines 3 to 12 in cbda2b0
|
I checked this Text size thing, default selection will be 3rd tick, When we go for larger size it actually works fine, But when you go to smallest size it chopped the emoji even more... Adding video for same below. RPReplay_Final1694002465.mp4 |
@johncschuster, @fedirjh Eep! 4 days overdue now. Issues have feelings too... |
@johncschuster, @fedirjh Eep! 4 days overdue now. Issues have feelings too... |
@fedirjh sorry I missed this comment! I'm a bit torn. Yes, I agree that part of this behavior seems a bit device-specific, but the @Expensify/design, what are your thoughts on fixing this behavior? I kinda feel like we should fix it to ensure all folks are seeing New Expensify as we intend it to be seen. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.18-8 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-01-04. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
Looks like I need to manually create the Upwork job since it wasn't automatically created. We were just discussing a new process for this today. I'll follow the process there and get this paid out. |
@johncschuster, @arosiclair, @fedirjh, @rezkiy37 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payment Summary@fedirjh requires payment by manual request of $1000 |
There was regression |
@johncschuster |
@johncschuster, @arosiclair, @fedirjh, @rezkiy37 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@johncschuster, @arosiclair, @fedirjh, @rezkiy37 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@DinalJivani, I invited you to the Upwork job. Can you please accept that so I can issue payment for the bug report? |
@johncschuster |
@johncschuster Could you please invite me as well? I am already ineligible for the manual requests. |
@johncschuster Thanks |
@DinalJivani sorry about that. I just double-checked when the reporting bonus change was made, and I see it was August 30, while this was reported on August 17th. I've issued the corrected amount of $250. |
Sure thing, @fedirjh, I'll invite you now. |
@johncschuster Thank you accepted. |
Payment has been issued! Thanks everyone! |
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:
Expected Result:
Emoji with some height is being chopped off from top
Actual Result:
🚦 Emoji shouldn’t be chopped off
💥 Please note, this seems to be device-specific and will likely only affect smaller phones (for example, the issue was reproduced on an iPhone 11)💥
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.57.5
Reproducible in staging?: n/a
Reproducible in production?: n/a
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
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692310024902729
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: