-
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 Static emoji autosuggestion issues #15871
Conversation
@AndrewGable Please 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] |
I am getting warning for one case (that we didn't catch earlier). I think we should fix it in this PR @stitesExpensify @fedirjh? We can just cast the return value to Lines 419 to 425 in acc4984
emoji-suggestions-warning.mov |
Reviewer Checklist
Screenshots/VideosWebweb-emoji-suggestions.movMobile Web - Chromemweb-chrome-emoji-suggestions.movMobile Web - Safarimweb-safari-emoji-suggestions.movDesktopdesktop-emoji-suggestions.moviOSios-emoji-suggestions.movAndroidandroid-emoji-suggestions.movThe current changes work well, but I raised another warning and checking if this can be a part of this PR. |
@mananjadhav Good catch , I also think we should fix it here , we can just add a default prop value const defaultProps = {
shouldIncludeReportRecipientLocalTimeHeight: false,
highlightedEmojiIndex: 0,
}; Also I found another warning: For newly created accounts , the App/src/libs/actions/Report.js Lines 39 to 51 in acc4984
|
Thanks for the comment @fedirjh.
I think instead of default prop we should retain the isRequired behaviour and pass the correct value.
I think this was fixed from the backend but @stitesExpensify can confirm. |
I will fix it on the back end. Looks like we didn't update the API layer setting the default in onyx |
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.
Thanks for this! I'll create an issue to make sure you're paid out for fixing these @fedirjh
|
LGMT and tests well. Gonna merge to fix the bugs. |
Fix Static emoji autosuggestion issues (cherry picked from commit c5a3562)
…-15871 🍒 Cherry pick PR #15871 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.2.83-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/roryabraham in version: 1.2.83-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 🚀
|
@stitesExpensify
Details
Fix some issue missed during #14686
Fixed Issues
Tests
Test 1 :
Test 2:
:+1:
Offline tests
Same Tests
QA Steps
Same tests
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-03-11.at.1.21.08.AM.mov
Screen.Recording.2023-03-11.at.1.23.22.AM.mov
Mobile Web - Chrome
Screen.Recording.2023-03-11.at.1.43.33.AM.mov
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.13.-.2023-03-11.at.01.36.51.mp4
Desktop
Screen.Recording.2023-03-11.at.1.39.19.AM.mov
iOS
Simulator.Screen.Recording.-.iPhone.13.-.2023-03-11.at.01.33.30.mp4
Android