-
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
fix: Emoji suggestions is not displayed between '~~' & '__'. #27984
Conversation
Signed-off-by: Krishna Gupta <[email protected]>
@burczu, friendly reminder:) |
@Krishna2323 Yes, I'll review it today - I had some issues building the App for Android on Thursday and Friday - that's the reason for the delay. |
Reviewer Checklist
Screenshots/VideosWeb27984-web.movMobile Web - Chrome27984-web-chrome.movMobile Web - Safari27984-web-safari.movDesktop27984-desktop.moviOS27984-ios.movAndroidScreen.Recording.2023-09-25.at.09.47.09.mov |
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.
Reviewed, tested and approved.
@madmax330, friendly bump for approval. |
✋ 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/madmax330 in version: 1.3.75-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 1.3.76-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
@@ -1230,7 +1230,7 @@ const CONST = { | |||
|
|||
SPECIAL_CHAR_OR_EMOJI: | |||
// eslint-disable-next-line no-misleading-character-class | |||
/[\n\s,/?"{}[\]()&^%\\;`$=#<>!*\p{Extended_Pictographic}\u200d\u{1f1e6}-\u{1f1ff}\u{1f3fb}-\u{1f3ff}\u{e0020}-\u{e007f}\u20E3\uFE0F]|[#*0-9]\uFE0F?\u20E3/gu, | |||
/[\n\s,/?"{}[\]()&_~^%\\;`$=#<>!*\p{Extended_Pictographic}\u200d\u{1f1e6}-\u{1f1ff}\u{1f3fb}-\u{1f3ff}\u{e0020}-\u{e007f}\u20E3\uFE0F]|[#*0-9]\uFE0F?\u20E3/gu, |
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.
✋ Coming from #29081
Because we include _
in this regex, the emoji suggestion won't display any result if we search for an emoji that has an underscore in the name, e.g. :joy_cat
.
Details
Fixed Issues
$ #27602
PROPOSAL: #27602 (comment)
Tests
**
then:jo
in between**
__
or~~
then:jo
in between__
or~~
Offline tests
**
then:jo
in between**
__
or~~
then:jo
in between__
or~~
QA Steps
**
then:jo
in between**
__
or~~
then:jo
in between__
or~~
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
web_browser.mp4
Mobile Web - Chrome
android_chrome.mp4
Mobile Web - Safari
ios_safari.mp4
Desktop
desktop_app.mp4
iOS
ios_native.mp4
Android
android_native.mp4