-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix/make emojis larger in other contexts #15516
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
Fix/make emojis larger in other contexts #15516
Conversation
Fix group member order changing randomly when group members have phone numbers
…-order Fix group member order changing randomly when group members have phone numbers
…ffect-on-request-send-money-messages Fix hover effect on request or send money messages
…ace-badge-visibility fix "LHN - Workspace badge is not fully visible/missing for some Room chats"
Show NotFoundPage if report does not exist in sub report views
fix composer early line break
Decode transaction messages because they may have HTML Entities
…BF9-387B-409C-ADCF-F65045FDEB7D Update version to 1.2.77-4 on main
…thDeletedActionsInTheWay
…layed-in-grey-color-for-a-few-seconds-for-a-non-existing-account-when-invite-new-member Fix/14819: Avatar displayed in grey color for a few seconds for a non-existing account when invite for new member
…yCash [No QA] Remove dead ExpensifyCash files
…:josemak25/expensify into fix/make-emojis-larger-in-other-contexts
|
@josemak25 this PR includes a lot of commits that it should not. Let's once more create a fresh PR with just the commits and changes that are relevant to this issue. This time, please make sure that all your commits are signed before creating the pull request. You can set up automatic commit signing so you don't have to think about it going forward |
|
@josemak25 details are looking good. let's add that in next PR. |
@roryabraham here is the new PR as requested #15611 |
Details
This solution covers several related scenarios:
Scenario 1
Action Performed:
Add an emoji with other plain text characters in a message in the composer.
Expected Result:
The emoji should be larger (19pt) compared to the default size for text (15pt) in the composer. The emoji and text should appear vertically centered with respect to each other, such that the baseline of the emoji is below the plain text and the middle of the text vertically aligns with the middle of the emoji (like the right-hand-side of #4114 (comment).
Scenario 2
Action Performed:
Send a message with emojis and text.
Expected Result:
The emoji should be larger (19pt) compared to the default size for text (15pt) in the chat history. The emoji and text should appear vertically centered with respect to each other, such that the baseline of the emoji is below the plain text and the middle of the text vertically aligns with the middle of the emoji (like the right-hand-side of #4114 (comment)
Scenario 3
Action Performed
Draft a message (of any length) with only an emoji.
Expected Result:
The emoji should appear very large (27pt) in the composer.
Scenario 4
Action Performed
Send a message (of any length) with only emoji.
Expected Result:
The emoji should appear very large (27pt) in the report history.
Scenario 5
Action Performed
Go to
Settings-> Profile and add emoji(s) to your last name 😎Expected Result:
The emoji should appear larger (19pt) than the rest of the text (15pt) in the text input. The emoji and text should appear vertically centered with respect to each other, such that the baseline of the emoji is below the plain text and the middle of the text vertically aligns with the middle of the emoji (like the right-hand-side of #4114 (comment)
Scenario 6
Action Performed
Settings->Profileand add emoji(s) to your last name 😎.SettingsRHP and look at your name:Expected Result:
The emoji should appear larger (21pt) than the rest of the text (17pt) in the text input. The emoji and text should appear vertically centered with respect to each other, such that the baseline of the emoji is below the plain text and the middle of the text vertically aligns with the middle of the emoji (like the right-hand-side of #4114 (comment)
Scenario 7
Action Performed
Settings->Profileand add emoji(s) to your last name 😎.Expected Result:
The emoji should appear larger (19pt) than the rest of the test (15pt). The emoji and text should appear vertically centered with respect to each other, such that the baseline of the emoji is below the plain text and the middle of the text vertically aligns with the middle of the emoji (like the right-hand-side of #4114 (comment)
Fixed Issues
$ #4114
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.Screenshots/Videos
Chrome Web
Chrome.Web.Recording.mov
Safari Web
Safari.Web.Recording.mov
Mobile Web - Chrome
Mobile.Web.-.Chrome.mov
Mobile Web - Safari
Mobile.Web.-.Safari.mp4
Desktop
Desktop.mov
iOS
iOS.mp4
Android
Android.mov