-
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 2022-11-11] [$1500] some emojis are not displayed correctly as they should be - reported by Karim mostafa #10356
Comments
Triggered auto assignment to @johncschuster ( |
Triggered auto assignment to @aldo-expensify ( |
Triggered auto assignment to @bfitzexpensify ( |
@parasharrajat #9123 is referencing a particular subset of emoji problems (skin tone), but if I'm understanding correctly, you're saying that it will address this problem too? |
I got the feeling that it was something different. This happens even in chrome and I think it is coming from the hardcoded list of emojis in this file: Lines 8779 to 8784 in e3c8897
I tested manually changing the symbol, and I saw it changing in the app. |
#9123 has two issues in it.
This one is same as 2 but the system is different so we will need another font for this (Apple Color Emoji) |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Triggered auto assignment to @tgolen ( |
ProposalBy replacing the incorrect emojis inside but in Chrome all Emojis will appear in the correct shapes except these 8 arrow emojis. to solve these 8 emojis we will need to change the in MONOSPACE_BOLD: 'GTAmericaExpMono-Bd',
MONOSPACE_BOLD_ITALIC: 'GTAmericaExpMono-BdIt',
+ SANS_SERIF: 'sans-serif', in baseTextInput: {
- fontFamily: fontFamily.GTA,
+ fontFamily: fontFamily.SANS_SERIF,
fontSize: variables.fontSizeNormal,
lineHeight: variables.fontSizeNormalHeight,
color: themeColors.text,
textLabelSupporting: {
- fontFamily: fontFamily.GTA,
+ fontFamily: fontFamily.SANS_SERIF,
fontSize: variables.fontSizeLabel,
textInputCompose: addOutlineWidth({
backgroundColor: themeColors.componentBG,
borderColor: themeColors.border,
color: themeColors.text,
- fontFamily: fontFamily.GTA,
+ fontFamily: fontFamily.SANS_SERIF,
fontSize: variables.fontSizeNormal,
borderWidth: 0,
emojiText: {
- fontFamily: fontFamily.GTA_BOLD,
+ fontFamily: fontFamily.SANS_SERIF,
textAlign: 'center', in import canUseTouchScreen from '../../../libs/canUseTouchscreen';
import compose from '../../../libs/compose';
+import fontFamily from '../../../styles/fontFamily';
<Text
selectable={!canUseTouchScreen() || !props.isSmallScreenWidth}
- style={EmojiUtils.containsOnlyEmojis(props.fragment.text) ? styles.onlyEmojisText : undefined}
+ style={[{fontFamily: fontFamily.SANS_SERIF}, EmojiUtils.containsOnlyEmojis(props.fragment.text) ? styles.onlyEmojisText : undefined]}
> Result : chrome.results.movDon't forget to replace |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.23-9 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 2022-11-11. 🎊 |
Made a note to pay on my calendar! |
@MitchExpensify SO is updated. |
@tgolen @mananjadhav Can I please request to increase the compensation for this one by some amount? I didn't factor in the changes to process the emojis and refactor of the Tests. I know the tests are to be part of the PR, but the new emojis did break the current test, and I cleaned up some of the unwanted to code while fixing the tests not related to the change. Would be great if you can consider the request. |
@mananjadhav, following these instructions - Mind pointing to me to the PR that cause this bug? Thank you |
@MitchExpensify This has been a problem since the inception. What I mean is our emoji datasource didn't support them since the beginning. #1991 here's the PR when we added the previous emojis with the emoji picker. |
@puneetlath "A discussion in #contributor-plus 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." Curious for your thoughts as I try to follow these instructions, the PR that introduced the emoji picker didn't have a C+ or CME. Does it still make sense to post in #contributor-plus in a similar manner tagging internal engineers involved? Thank you! |
I can appreciate that there was more work required to complete this than was figured in the original proposal. However, I was pretty disappointed that it took almost a month to get the PR created for this. You originally said on Sep 30:
The PR was taken out of draft and marked ready to review on Oct. 30 and there was a gap of nearly a month where the branch didn't have any commits. If the work would have been done with greater urgency, I would be OK doubling the price of this issue, but due to the solution taking so long to get to completion, I am only approving a $500 increase to the price of this issue to a total of $1500. |
Thank you for the consideration @tgolen. I agree with the speed. I had some issues with the conflicts, and then I had to reset the branch. Because emojis files even a small change, is causing the conflict, as I was replacing the whole file. I also had to reupdate the emojis because another PR also had the datasource with the new key added. I should've been more mindful in giving weekly updates on the issue. I totally agree if you don't want to increase the budget too if you're unhappy with the experience. |
@akshayasalvi Few points of feedback in addition to @tgolen mentioned.
Thank you so much for taking it to the finish line! Appreciate that you refactored some of the code. |
Making a note for myself:
|
@MitchExpensify I am already hired for this job with this link. When I click on the link you've shared it says Job no longer available. I am guessing it's the same link, but still fyi. |
@mananjadhav Yes all set! Issuing payment now |
@Karim-30 mins accepting the offer here? Thank you! |
Paid @mananjadhav & @akshayasalvi ! Thank you! |
Thanks @MitchExpensify |
@MitchExpensify Accepted the offer, Thanks. |
@tgolen I got paid, we can close it. |
Issue not reproducible during KI retests. (First week) |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
1- open app
2- Type emoji's keyword in the chat box
3- observe the shape of the emoji appeared
Expected Result:
Emojis should appear in the normal shapes as they are supposed to
Actual Result:
Emojis appeared in different shape than they are supposed to
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.88-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
VID-20220720-WA0004.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Karim-30 (Karim mostafa)
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1658404495570899
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: