regression: Legacy emoji in composer popup - #41581
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout. (5)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
**/*.spec.ts📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
🧠 Learnings (6)📚 Learning: 2026-02-26T19:25:44.063ZApplied to files:
📚 Learning: 2026-02-26T19:25:44.063ZApplied to files:
📚 Learning: 2026-05-06T12:21:44.083ZApplied to files:
📚 Learning: 2026-07-22T19:03:06.706ZApplied to files:
📚 Learning: 2026-02-24T19:22:48.358ZApplied to files:
📚 Learning: 2026-03-06T18:10:15.268ZApplied to files:
🔇 Additional comments (2)
WalkthroughThe emoji list now supports legacy metadata, native Emjione fallback entries are marked as legacy, and legacy entries are excluded from composer autocomplete and search results while remaining manually renderable. ChangesLegacy emoji autocomplete handling
Estimated code review effort: 2 (Simple) | ~15 minutes Sequence Diagram(s)sequenceDiagram
participant useNativeEmoji
participant EmojiList
participant ComposerPopupProvider
participant getEmojisBySearchTerm
useNativeEmoji->>EmojiList: Register legacy shortcode with legacy=true
ComposerPopupProvider->>EmojiList: Read emoji entry
ComposerPopupProvider->>ComposerPopupProvider: Exclude legacy autocomplete entry
getEmojisBySearchTerm->>EmojiList: Iterate emoji entries
getEmojisBySearchTerm->>getEmojisBySearchTerm: Skip legacy search entry
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.7.0 #41581 +/- ##
=================================================
- Coverage 68.61% 68.58% -0.04%
=================================================
Files 4138 4138
Lines 159416 159424 +8
Branches 28206 28217 +11
=================================================
- Hits 109384 109341 -43
- Misses 44893 44942 +49
- Partials 5139 5141 +2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
Currently we don't show legacy emojis in emoji picker but we still show them in composer popup. This results in inconsistent behavior. To keep consistency, we should also remove legacy emojis from composer emoji popup.
This PR introduces a new flag on emoji list
legacywhich is true for legacy emojis and based on this flag we render the emoji on composer popup.Issue(s)
Steps to test or reproduce
Further comments
CORE-2467
Summary by CodeRabbit