-
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
Fix: preferredSkinTone
type warning
#18789
Fix: preferredSkinTone
type warning
#18789
Conversation
While working on this PR, I found out that if the new Line 191 in 057417c
due to:
Then it would be used like this: App/src/pages/home/report/ReportActionCompose.js Lines 610 to 611 in 66f7c0a
|
This comment was marked as outdated.
This comment was marked as outdated.
There are some unit tests failing! |
Comments're resolved and tests're fixed! |
@mollfpr Waiting on the checklist to do a final review from my side 😄 |
Sorry I’ll working on it in two hours! |
Reviewer Checklist
Screenshots/VideosWeb18789.Web.movMobile Web - Chrome18789.mWeb.Chrome.movMobile Web - Safari18789.mWeb.Safari.mp4Desktop18789.Desktop.moviOS18789.iOS.mp4Android18789.Android.mov |
@tienifr Linter is complaining since you need to run |
It looks good and it was working pretty 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. |
🚀 Deployed to staging by https://github.com/pecanoro in version: 1.3.15-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.15-12 🚀
|
Details
The
preferredSkinTone
is supposed to beNumber
but sometimes it's passed asString
sincedefault
was its legacy default value (becomes-1
now). This PR fixes that.Fixed Issues
$ #18541
PROPOSAL: #18541 (comment)
Tests
:sm
)preferredSkinToneIndex
of typestring
supplied toEmojiSuggestions
, expectednumber
does not appear in the JS consoleOffline tests
QA Steps
:sm
)preferredSkinToneIndex
of typestring
supplied toEmojiSuggestions
, expectednumber
does not appear in the JS consolePR 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
Screencast.from.12-05-2023.01.42.18.webm
Mobile Web - Chrome
Screencast.from.12-05-2023.01.53.16.webm
video_2023-05-12_01-54-36.mp4
Mobile Web - Safari
RPReplay_Final1683878938.mp4
Desktop
Screen.Recording.2023-05-12.at.15.22.51.mov
iOS
Screen.Recording.2023-05-12.at.15.30.11.mov
Android
untitled.webm