feat: Add emoji reaction feature and improve reply formatting

- Add emoji-picker-react package
- Create EmojiReaction component for quick emoji responses
- Replace EmojiHappy icon with interactive EmojiReaction component
- Implement emoji selection as structured reply messages
- Improve reply HTML formatting with better styling and Persian date
- Add contextual information to both emoji reactions and text replies
- Update success messages to be more concise
This commit is contained in:
hamid zarghami
2025-07-22 13:15:42 +03:30
parent f844ff53d4
commit 013d4238c9
5 changed files with 176 additions and 10 deletions
+19
View File
@@ -41,6 +41,9 @@ importers:
clsx:
specifier: ^2.1.1
version: 2.1.1
emoji-picker-react:
specifier: ^4.13.2
version: 4.13.2(react@19.1.0)
formik:
specifier: ^2.4.6
version: 2.4.6(react@19.1.0)
@@ -1579,6 +1582,12 @@ packages:
electron-to-chromium@1.5.158:
resolution: {integrity: sha512-9vcp2xHhkvraY6AHw2WMi+GDSLPX42qe2xjYaVoZqFRJiOcilVQFq9mZmpuHEQpzlgGDelKlV7ZiGcmMsc8WxQ==}
emoji-picker-react@4.13.2:
resolution: {integrity: sha512-azaJQLTshEOZVhksgU136izJWJyZ4Clx6xQ6Vctzk1gOdPPAUbTa/JYDwZJ8rh97QxnjpyeftXl99eRlYr3vNA==}
engines: {node: '>=10'}
peerDependencies:
react: '>=16'
emoji-regex@8.0.0:
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
@@ -1776,6 +1785,9 @@ packages:
resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
engines: {node: '>=10'}
flairup@1.0.0:
resolution: {integrity: sha512-IKlE+pNvL2R+kVL1kEhUYqRxVqeFnjiIvHWDMLFXNaqyUdFXQM2wte44EfMYJNHkW16X991t2Zg8apKkhv7OBA==}
flat-cache@4.0.1:
resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
engines: {node: '>=16'}
@@ -4817,6 +4829,11 @@ snapshots:
electron-to-chromium@1.5.158: {}
emoji-picker-react@4.13.2(react@19.1.0):
dependencies:
flairup: 1.0.0
react: 19.1.0
emoji-regex@8.0.0: {}
engine.io-client@6.6.3:
@@ -5118,6 +5135,8 @@ snapshots:
locate-path: 6.0.0
path-exists: 4.0.0
flairup@1.0.0: {}
flat-cache@4.0.1:
dependencies:
flatted: 3.3.3