From 4cb8ad3b1ff8529363cc8d5b754328ce2478176a Mon Sep 17 00:00:00 2001 From: Margalit Date: Fri, 18 Sep 2026 01:58:34 +0300 Subject: [PATCH] Add 10 missing paralinguistic delivery tags to ParalinguisticInput --- .../components/Generation/ParalinguisticInput.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/src/components/Generation/ParalinguisticInput.tsx b/app/src/components/Generation/ParalinguisticInput.tsx index d6c44210..cfa44bff 100644 --- a/app/src/components/Generation/ParalinguisticInput.tsx +++ b/app/src/components/Generation/ParalinguisticInput.tsx @@ -23,9 +23,19 @@ const PARALINGUISTIC_TAGS = [ { tag: '[sniff]', label: 'sniff', emoji: '\u{1F443}' }, { tag: '[shush]', label: 'shush', emoji: '\u{1F92B}' }, { tag: '[clear throat]', label: 'clear throat', emoji: '\u{1F64A}' }, + { tag: '[angry]', label: 'angry', emoji: '\u{1F621}' }, + { tag: '[crying]', label: 'crying', emoji: '\u{1F622}' }, + { tag: '[dramatic]', label: 'dramatic', emoji: '\u{1F3AD}' }, + { tag: '[fear]', label: 'fear', emoji: '\u{1F628}' }, + { tag: '[happy]', label: 'happy', emoji: '\u{1F60A}' }, + { tag: '[narration]', label: 'narration', emoji: '\u{1F4D6}' }, + { tag: '[sarcastic]', label: 'sarcastic', emoji: '\u{1F60F}' }, + { tag: '[surprised]', label: 'surprised', emoji: '\u{1F632}' }, + { tag: '[whispering]', label: 'whispering', emoji: '\u{1F92B}' }, + { tag: '[advertisement]', label: 'advertisement', emoji: '\u{1F4E2}' }, ] as const; -const TAG_REGEX = /\[(laugh|chuckle|gasp|cough|sigh|groan|sniff|shush|clear throat)\]/gi; +const TAG_REGEX = /\[(laugh|chuckle|gasp|cough|sigh|groan|sniff|shush|clear throat|angry|crying|dramatic|fear|happy|narration|sarcastic|surprised|whispering|advertisement)\]/gi; // Data attribute used to identify badge spans in the DOM const BADGE_ATTR = 'data-ptag';