-
Notifications
You must be signed in to change notification settings - Fork 10.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
fix: broken client-side updates for recent emoji list #33808
Conversation
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: f73b21a The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #33808 +/- ##
===========================================
- Coverage 75.42% 75.20% -0.22%
===========================================
Files 493 495 +2
Lines 21499 21595 +96
Branches 5337 5362 +25
===========================================
+ Hits 16215 16240 +25
- Misses 4644 4713 +69
- Partials 640 642 +2
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
b855ab6
to
82f9d85
Compare
Proposed changes (including videos or screenshots)
This PR fixes the broken client-side updates for recent emoji list when custom emojis are modified.
Currently, we are calling updateRecent with hard coded string value 'rocket' which inserts the rocket emoji whenever a custom emoji changes. Instead, the update in the recent emoji list should reflect an updated custom emoji or remove a deleted custom emoji from the recent list:
Rocket.Chat/apps/meteor/app/emoji-custom/client/lib/emojiCustom.ts
Line 52 in 5fddfcc
same here:
Rocket.Chat/apps/meteor/app/emoji-custom/client/lib/emojiCustom.ts
Line 97 in 5fddfcc
Issue(s)
Steps to test or reproduce
Further comments
CORE-690