Skip to content

Commit 6784b82

Browse files
committed
add a temporary patch to testing custom emojis
1 parent f80ca12 commit 6784b82

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/node_modules/expensify-common/dist/CONST.js b/node_modules/expensify-common/dist/CONST.js
2+
index 8fcfff8..b03f043 100644
3+
--- a/node_modules/expensify-common/dist/CONST.js
4+
+++ b/node_modules/expensify-common/dist/CONST.js
5+
@@ -393,7 +393,8 @@ const CONST = {
6+
*
7+
* @type RegExp
8+
*/
9+
- EMOJI_RULE: /[\p{Extended_Pictographic}](\u200D[\p{Extended_Pictographic}]|[\u{1F3FB}-\u{1F3FF}]|[\u{E0020}-\u{E007F}]|\uFE0F|\u20E3)*|[\u{1F1E6}-\u{1F1FF}]{2}|[#*0-9]\uFE0F?\u20E3/gu,
10+
+ EMOJI_RULE:
11+
+ /[\p{Extended_Pictographic}\uE000-\uF8FF\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}](\u200D[\p{Extended_Pictographic}]|[\u{1F3FB}-\u{1F3FF}]|[\u{E0020}-\u{E007F}]|\uFE0F|\u20E3)*|[\u{1F1E6}-\u{1F1FF}]{2}|[#*0-9]\uFE0F?\u20E3/gu,
12+
/**
13+
* Regex to match a piece of text or @here, needed for both shortMention and userMention
14+
*/

src/components/ReportActionItem/TaskView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ function TaskView({report}: TaskViewProps) {
7171

7272
const attachmentContextValue = useMemo(() => ({type: CONST.ATTACHMENT_TYPE.ONBOARDING, accountID}), [accountID]);
7373

74+
console.log("Task report?.description ", report?.description);
75+
7476
return (
7577
<ShowContextMenuContext.Provider value={contextValue}>
7678
<AttachmentContext.Provider value={attachmentContextValue}>

0 commit comments

Comments
 (0)