-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 UpdateFrequentlyUsedEmojis
and support new frequentlyUsedEmojis NVP format
#42208
Conversation
UpdateFrequentlyUsedEmojis
UpdateFrequentlyUsedEmojis
and support new frequentlyUsedEmojis NVP format
UpdateFrequentlyUsedEmojis
and support new frequentlyUsedEmojis NVP formatUpdateFrequentlyUsedEmojis
and support new frequentlyUsedEmojis NVP format
…ateFrequentlyUsedEmojis
UpdateFrequentlyUsedEmojis
and support new frequentlyUsedEmojis NVP formatUpdateFrequentlyUsedEmojis
and support new frequentlyUsedEmojis NVP format
75bf992
to
d8e64e8
Compare
…ateFrequentlyUsedEmojis
…ateFrequentlyUsedEmojis
@marcochavezf 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemWeb-chrome.moviOS: NativeiOS.moviOS: mWeb SafarimWeb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
@jasperhuangg Changes are working fine, and frequently used emojis are functioning correctly when we send an emoji in a message and react to it. Additionally, I have added a few suggestions above for the unused code. |
@jayeshmangwani Thanks for the review! We're good for another look 🙇 |
@jasperhuangg Thanks for making changes 🙏 ; changes looks good to me. However, can we please remove the below code as well? We have removed the use of insertedEmojisRef.current. App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Line 306 in dd79314
App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Line 414 in dd79314
|
@jayeshmangwani Wow thanks for the thorough review! Removed the unused parts. |
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.
Changes looks good, Test well! 🚀
@MonilBhavsar 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] |
🎯 @jayeshmangwani, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #45110. |
@marcochavezf all yours |
✋ 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/marcochavezf in version: 9.0.7-3 🚀
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 9.0.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
Details
This removes any calls to
UpdateFrequentlyUsedEmojis
.We are now setting the NVP whenever a user adds an emoji reaction or sends a comment in the back-end.
We also store the frequentlyUsedEmojis NVP with either the emoji code/name depending on how it is updated (via adding a comment or adding a reaction). So this updates the front-end to fill in the missing parts of the frequently used emoji if any are missing.
Fixed Issues
Related to https://github.com/Expensify/Expensify/issues/379910
Related to #37807
Tests/QA
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-06-04.at.3.49.59.PM.mov
MacOS: Desktop