-
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
Remove incorrect this
from replaceEmojis function
#16902
Conversation
@Santhosh-Sellavel @PauloGasparSv One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@Santhosh-Sellavel are you free to test this soon? It's fixing a deploy blocker. If not I may ask internally 👍 |
Yes will get to it shortly. |
Videos finally all updated 🙏 |
Reviewer Checklist
Screenshots/VideosDesktop & WebScreen.Recording.2023-04-04.at.5.11.39.PM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-04-04.at.5.16.02.PM.moviOS & AndroidScreen.Recording.2023-04-04.at.5.14.01.PM.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tests well!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@cristipaval @Beamanator this should have been CPed to staging, should it not? |
@mountiny frick, i always forget that label 🙃 |
What do we do now?? 😅 |
I can do this, you can just trigger the CP staging manually just wanted to confirm |
Okkk phew thanks 😅 👍 |
https://stackoverflowteams.com/c/expensify/questions/10366/10367#10367 for context. Scheduled it |
Remove incorrect `this` from replaceEmojis function (cherry picked from commit b302017)
…-16902 🍒 Cherry pick PR #16902 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.2.94-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
* @param {Number} preferredSkinToneIndex | ||
* @returns {String} | ||
*/ | ||
const getEmojiCodeWithSkinColor = (item, preferredSkinToneIndex) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we moved the function here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeahhh just cuz the linter was upset that we were calling a function before it was declared
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to see the error here: https://github.com/Expensify/App/actions/runs/4606109496/jobs/8138999140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
🚀 Deployed to production by https://github.com/thienlnam in version: 1.2.94-3 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
Fixed Issues
$ #16896
Tests
:100:
(you won't see auto-complete but you will have to type the 2nd:
to finish the emoji replacementOffline tests
Same as above, nothing special needed here
QA Steps
Same as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screen.Recording.2023-04-04.at.11.16.42.AM.mov
Mobile Web - Chrome
Screen.Recording.2023-04-04.at.11.32.39.AM.mov
Mobile Web - Safari
Screen.Recording.2023-04-04.at.1.08.16.PM.mov
Desktop
Screen.Recording.2023-04-04.at.11.23.06.AM.mov
iOS
Screen.Recording.2023-04-04.at.1.06.21.PM.mov
Android
Screen.Recording.2023-04-04.at.11.30.37.AM.mov