stream-chat-react-native-core 9.4.0-beta.6 → 9.4.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Attachment/Attachment.js +4 -3
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +2 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +4 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +3 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +8 -3
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +2 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/index.js +11 -0
- package/lib/commonjs/components/ChannelPreview/hooks/index.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
- package/lib/commonjs/components/Poll/components/PollModalHeader.js +1 -2
- package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +2 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js +20 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItemsById.js +3 -1
- package/lib/commonjs/hooks/actions/useChannelActionItemsById.js.map +1 -1
- package/lib/commonjs/i18n/ar.json +6 -1
- package/lib/commonjs/i18n/en.json +5 -0
- package/lib/commonjs/i18n/es.json +6 -1
- package/lib/commonjs/i18n/fr.json +6 -1
- package/lib/commonjs/i18n/he.json +6 -1
- package/lib/commonjs/i18n/hi.json +6 -1
- package/lib/commonjs/i18n/it.json +6 -1
- package/lib/commonjs/i18n/ja.json +6 -1
- package/lib/commonjs/i18n/ko.json +6 -1
- package/lib/commonjs/i18n/nl.json +6 -1
- package/lib/commonjs/i18n/pt-br.json +6 -1
- package/lib/commonjs/i18n/ru.json +6 -1
- package/lib/commonjs/i18n/tr.json +6 -1
- package/lib/commonjs/icons/index.js +12 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +4 -3
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +2 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +4 -1
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +3 -0
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js +8 -3
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +2 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/index.js +11 -0
- package/lib/module/components/ChannelPreview/hooks/index.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
- package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
- package/lib/module/components/Poll/components/PollModalHeader.js +1 -2
- package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/module/components/index.js +11 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js +2 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +1 -0
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActionItems.js +20 -1
- package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActionItemsById.js +3 -1
- package/lib/module/hooks/actions/useChannelActionItemsById.js.map +1 -1
- package/lib/module/i18n/ar.json +6 -1
- package/lib/module/i18n/en.json +5 -0
- package/lib/module/i18n/es.json +6 -1
- package/lib/module/i18n/fr.json +6 -1
- package/lib/module/i18n/he.json +6 -1
- package/lib/module/i18n/hi.json +6 -1
- package/lib/module/i18n/it.json +6 -1
- package/lib/module/i18n/ja.json +6 -1
- package/lib/module/i18n/ko.json +6 -1
- package/lib/module/i18n/nl.json +6 -1
- package/lib/module/i18n/pt-br.json +6 -1
- package/lib/module/i18n/ru.json +6 -1
- package/lib/module/i18n/tr.json +6 -1
- package/lib/module/icons/index.js +12 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts +6 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +3 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/index.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts +3 -0
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +1 -0
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +1 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +1 -0
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +35 -2
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts +3 -2
- package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts.map +1 -1
- package/lib/typescript/i18n/ar.json +6 -1
- package/lib/typescript/i18n/en.json +5 -0
- package/lib/typescript/i18n/es.json +6 -1
- package/lib/typescript/i18n/fr.json +6 -1
- package/lib/typescript/i18n/he.json +6 -1
- package/lib/typescript/i18n/hi.json +6 -1
- package/lib/typescript/i18n/it.json +6 -1
- package/lib/typescript/i18n/ja.json +6 -1
- package/lib/typescript/i18n/ko.json +6 -1
- package/lib/typescript/i18n/nl.json +6 -1
- package/lib/typescript/i18n/pt-br.json +6 -1
- package/lib/typescript/i18n/ru.json +6 -1
- package/lib/typescript/i18n/tr.json +6 -1
- package/lib/typescript/icons/index.d.ts +1 -0
- package/lib/typescript/icons/index.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +5 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Attachment/Attachment.tsx +8 -3
- package/src/components/ChannelDetails/__tests__/useChannelDetailsActionItems.test.tsx +6 -2
- package/src/components/ChannelDetails/hooks/useChannelDetailsActionItems.ts +1 -1
- package/src/components/ChannelList/ChannelList.tsx +3 -0
- package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -0
- package/src/components/ChannelPreview/ChannelPreview.tsx +21 -3
- package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +25 -0
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +18 -2
- package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +5 -1
- package/src/components/ChannelPreview/hooks/__tests__/useIsChannelPinned.test.tsx +35 -0
- package/src/components/ChannelPreview/hooks/index.ts +1 -0
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +3 -1
- package/src/components/ChannelPreview/hooks/useIsChannelPinned.ts +8 -0
- package/src/components/Poll/components/PollModalHeader.tsx +1 -2
- package/src/components/index.ts +1 -0
- package/src/contexts/channelsContext/ChannelsContext.tsx +1 -0
- package/src/contexts/componentsContext/defaultComponents.ts +2 -0
- package/src/contexts/themeContext/utils/theme.ts +2 -0
- package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +137 -14
- package/src/hooks/actions/__tests__/useChannelActionItemsById.test.tsx +3 -1
- package/src/hooks/actions/useChannelActionItems.tsx +60 -2
- package/src/hooks/actions/useChannelActionItemsById.ts +8 -1
- package/src/i18n/ar.json +6 -1
- package/src/i18n/en.json +5 -0
- package/src/i18n/es.json +6 -1
- package/src/i18n/fr.json +6 -1
- package/src/i18n/he.json +6 -1
- package/src/i18n/hi.json +6 -1
- package/src/i18n/it.json +6 -1
- package/src/i18n/ja.json +6 -1
- package/src/i18n/ko.json +6 -1
- package/src/i18n/nl.json +6 -1
- package/src/i18n/pt-br.json +6 -1
- package/src/i18n/ru.json +6 -1
- package/src/i18n/tr.json +6 -1
- package/src/icons/index.ts +1 -0
- package/src/version.json +1 -1
|
@@ -246,6 +246,8 @@
|
|
|
246
246
|
"Leave Group": "Leave Group",
|
|
247
247
|
"Mute Chat": "Mute Chat",
|
|
248
248
|
"Mute Group": "Mute Group",
|
|
249
|
+
"Pin Chat": "Pin Chat",
|
|
250
|
+
"Pin Group": "Pin Group",
|
|
249
251
|
"Admin": "Admin",
|
|
250
252
|
"Moderator": "Moderator",
|
|
251
253
|
"Offline": "Offline",
|
|
@@ -255,6 +257,8 @@
|
|
|
255
257
|
"Unarchive Group": "Unarchive Group",
|
|
256
258
|
"Unmute Chat": "Unmute Chat",
|
|
257
259
|
"Unmute Group": "Unmute Group",
|
|
260
|
+
"Unpin Chat": "Unpin Chat",
|
|
261
|
+
"Unpin Group": "Unpin Group",
|
|
258
262
|
"{{memberCount}} members, {{onlineCount}} online_one": "{{memberCount}} member, {{onlineCount}} online",
|
|
259
263
|
"{{memberCount}} members, {{onlineCount}} online_other": "{{memberCount}} members, {{onlineCount}} online",
|
|
260
264
|
"{{memberCount}} members, {{onlineCount}} online_many": "{{memberCount}} members, {{onlineCount}} online",
|
|
@@ -284,6 +288,7 @@
|
|
|
284
288
|
"a11y/Message from you": "Message from you",
|
|
285
289
|
"a11y/Message from {{sender}}": "Message from {{sender}}",
|
|
286
290
|
"a11y/Muted": "Muted",
|
|
291
|
+
"a11y/Pinned": "Pinned",
|
|
287
292
|
"a11y/New message from {{user}}": "New message from {{user}}",
|
|
288
293
|
"a11y/Offline": "Offline",
|
|
289
294
|
"a11y/Open message actions": "Open message actions",
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Error al cargar",
|
|
275
275
|
"a11y/Message actions": "Acciones del mensaje",
|
|
276
276
|
"a11y/Muted": "Silenciado",
|
|
277
|
+
"a11y/Pinned": "Fijado",
|
|
277
278
|
"a11y/New message from {{user}}": "Nuevo mensaje de {{user}}",
|
|
278
279
|
"a11y/Offline": "Sin conexión",
|
|
279
280
|
"a11y/Open message actions": "Abrir acciones del mensaje",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Mensaje de {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Imagen de la galería",
|
|
437
438
|
"a11y/Gallery Video": "Vídeo de la galería",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}",
|
|
440
|
+
"Pin Chat": "Fijar chat",
|
|
441
|
+
"Pin Group": "Fijar grupo",
|
|
442
|
+
"Unpin Chat": "Desfijar chat",
|
|
443
|
+
"Unpin Group": "Desfijar grupo"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Échec du chargement",
|
|
275
275
|
"a11y/Message actions": "Actions du message",
|
|
276
276
|
"a11y/Muted": "Mis en sourdine",
|
|
277
|
+
"a11y/Pinned": "Épinglé",
|
|
277
278
|
"a11y/New message from {{user}}": "Nouveau message de {{user}}",
|
|
278
279
|
"a11y/Offline": "Hors ligne",
|
|
279
280
|
"a11y/Open message actions": "Ouvrir les actions du message",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Message de {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Image de la galerie",
|
|
437
438
|
"a11y/Gallery Video": "Vidéo de la galerie",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} sur {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} sur {{count}}",
|
|
440
|
+
"Pin Chat": "Épingler la discussion",
|
|
441
|
+
"Pin Group": "Épingler le groupe",
|
|
442
|
+
"Unpin Chat": "Détacher la discussion",
|
|
443
|
+
"Unpin Group": "Détacher le groupe"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "הטעינה נכשלה",
|
|
275
275
|
"a11y/Message actions": "פעולות הודעה",
|
|
276
276
|
"a11y/Muted": "מושתק",
|
|
277
|
+
"a11y/Pinned": "מוצמד",
|
|
277
278
|
"a11y/New message from {{user}}": "הודעה חדשה מ-{{user}}",
|
|
278
279
|
"a11y/Offline": "לא מקוון",
|
|
279
280
|
"a11y/Open message actions": "פתח פעולות הודעה",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "הודעה מאת {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "תמונה מהגלריה",
|
|
437
438
|
"a11y/Gallery Video": "סרטון מהגלריה",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} מתוך {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} מתוך {{count}}",
|
|
440
|
+
"Pin Chat": "הצמד/י צ'אט",
|
|
441
|
+
"Pin Group": "הצמד/י קבוצה",
|
|
442
|
+
"Unpin Chat": "בטל/י הצמדת צ'אט",
|
|
443
|
+
"Unpin Group": "בטל/י הצמדת קבוצה"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "लोड नहीं हो सका",
|
|
275
275
|
"a11y/Message actions": "संदेश की कार्रवाइयां",
|
|
276
276
|
"a11y/Muted": "म्यूट किया गया",
|
|
277
|
+
"a11y/Pinned": "पिन किया गया",
|
|
277
278
|
"a11y/New message from {{user}}": "{{user}} से नया संदेश",
|
|
278
279
|
"a11y/Offline": "ऑफलाइन",
|
|
279
280
|
"a11y/Open message actions": "संदेश की कार्रवाइयां खोलें",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "{{sender}} से संदेश",
|
|
436
437
|
"a11y/Gallery Image": "गैलरी छवि",
|
|
437
438
|
"a11y/Gallery Video": "गैलरी वीडियो",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{count}} में से {{position}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}} में से {{position}}",
|
|
440
|
+
"Pin Chat": "चैट पिन करें",
|
|
441
|
+
"Pin Group": "ग्रुप पिन करें",
|
|
442
|
+
"Unpin Chat": "चैट अनपिन करें",
|
|
443
|
+
"Unpin Group": "ग्रुप अनपिन करें"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Caricamento non riuscito",
|
|
275
275
|
"a11y/Message actions": "Azioni del messaggio",
|
|
276
276
|
"a11y/Muted": "Silenziato",
|
|
277
|
+
"a11y/Pinned": "Fissato",
|
|
277
278
|
"a11y/New message from {{user}}": "Nuovo messaggio da {{user}}",
|
|
278
279
|
"a11y/Offline": "Offline",
|
|
279
280
|
"a11y/Open message actions": "Apri azioni del messaggio",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Messaggio da {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Immagine della galleria",
|
|
437
438
|
"a11y/Gallery Video": "Video della galleria",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} di {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} di {{count}}",
|
|
440
|
+
"Pin Chat": "Fissa chat",
|
|
441
|
+
"Pin Group": "Fissa gruppo",
|
|
442
|
+
"Unpin Chat": "Sfissa chat",
|
|
443
|
+
"Unpin Group": "Sfissa gruppo"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "読み込みに失敗しました",
|
|
275
275
|
"a11y/Message actions": "メッセージの操作",
|
|
276
276
|
"a11y/Muted": "ミュート中",
|
|
277
|
+
"a11y/Pinned": "ピン留め中",
|
|
277
278
|
"a11y/New message from {{user}}": "{{user}}からの新しいメッセージ",
|
|
278
279
|
"a11y/Offline": "オフライン",
|
|
279
280
|
"a11y/Open message actions": "メッセージの操作を開く",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "{{sender}}からのメッセージ",
|
|
436
437
|
"a11y/Gallery Image": "ギャラリー画像",
|
|
437
438
|
"a11y/Gallery Video": "ギャラリービデオ",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{count}} 中 {{position}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}} 中 {{position}}",
|
|
440
|
+
"Pin Chat": "チャットをピン留め",
|
|
441
|
+
"Pin Group": "グループをピン留め",
|
|
442
|
+
"Unpin Chat": "チャットのピン留めを解除",
|
|
443
|
+
"Unpin Group": "グループのピン留めを解除"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "로드 실패",
|
|
275
275
|
"a11y/Message actions": "메시지 작업",
|
|
276
276
|
"a11y/Muted": "음소거됨",
|
|
277
|
+
"a11y/Pinned": "고정됨",
|
|
277
278
|
"a11y/New message from {{user}}": "{{user}}님의 새 메시지",
|
|
278
279
|
"a11y/Offline": "오프라인",
|
|
279
280
|
"a11y/Open message actions": "메시지 작업 열기",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "{{sender}}님의 메시지",
|
|
436
437
|
"a11y/Gallery Image": "갤러리 이미지",
|
|
437
438
|
"a11y/Gallery Video": "갤러리 동영상",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{count}}개 중 {{position}}번째"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}}개 중 {{position}}번째",
|
|
440
|
+
"Pin Chat": "채팅 고정",
|
|
441
|
+
"Pin Group": "그룹 고정",
|
|
442
|
+
"Unpin Chat": "채팅 고정 해제",
|
|
443
|
+
"Unpin Group": "그룹 고정 해제"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Laden mislukt",
|
|
275
275
|
"a11y/Message actions": "Berichtacties",
|
|
276
276
|
"a11y/Muted": "Gedempt",
|
|
277
|
+
"a11y/Pinned": "Vastgemaakt",
|
|
277
278
|
"a11y/New message from {{user}}": "Nieuw bericht van {{user}}",
|
|
278
279
|
"a11y/Offline": "Offline",
|
|
279
280
|
"a11y/Open message actions": "Berichtacties openen",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Bericht van {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Galerij-afbeelding",
|
|
437
438
|
"a11y/Gallery Video": "Galerij-video",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} van {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} van {{count}}",
|
|
440
|
+
"Pin Chat": "Chat vastmaken",
|
|
441
|
+
"Pin Group": "Groep vastmaken",
|
|
442
|
+
"Unpin Chat": "Chat losmaken",
|
|
443
|
+
"Unpin Group": "Groep losmaken"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Falha ao carregar",
|
|
275
275
|
"a11y/Message actions": "Ações da mensagem",
|
|
276
276
|
"a11y/Muted": "Silenciado",
|
|
277
|
+
"a11y/Pinned": "Fixado",
|
|
277
278
|
"a11y/New message from {{user}}": "Nova mensagem de {{user}}",
|
|
278
279
|
"a11y/Offline": "Offline",
|
|
279
280
|
"a11y/Open message actions": "Abrir ações da mensagem",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Mensagem de {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Imagem da galeria",
|
|
437
438
|
"a11y/Gallery Video": "Vídeo da galeria",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}",
|
|
440
|
+
"Pin Chat": "Fixar conversa",
|
|
441
|
+
"Pin Group": "Fixar grupo",
|
|
442
|
+
"Unpin Chat": "Desafixar conversa",
|
|
443
|
+
"Unpin Group": "Desafixar grupo"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Не удалось загрузить",
|
|
275
275
|
"a11y/Message actions": "Действия с сообщением",
|
|
276
276
|
"a11y/Muted": "Без звука",
|
|
277
|
+
"a11y/Pinned": "Закреплено",
|
|
277
278
|
"a11y/New message from {{user}}": "Новое сообщение от {{user}}",
|
|
278
279
|
"a11y/Offline": "Не в сети",
|
|
279
280
|
"a11y/Open message actions": "Открыть действия с сообщением",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Сообщение от {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Изображение из галереи",
|
|
437
438
|
"a11y/Gallery Video": "Видео из галереи",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} из {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} из {{count}}",
|
|
440
|
+
"Pin Chat": "Закрепить чат",
|
|
441
|
+
"Pin Group": "Закрепить группу",
|
|
442
|
+
"Unpin Chat": "Открепить чат",
|
|
443
|
+
"Unpin Group": "Открепить группу"
|
|
439
444
|
}
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Yükleme başarısız",
|
|
275
275
|
"a11y/Message actions": "Mesaj eylemleri",
|
|
276
276
|
"a11y/Muted": "Sessize alındı",
|
|
277
|
+
"a11y/Pinned": "Sabitlendi",
|
|
277
278
|
"a11y/New message from {{user}}": "{{user}} kullanıcısından yeni mesaj",
|
|
278
279
|
"a11y/Offline": "Çevrimdışı",
|
|
279
280
|
"a11y/Open message actions": "Mesaj eylemlerini aç",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "{{sender}} kullanıcısından mesaj",
|
|
436
437
|
"a11y/Gallery Image": "Galeri görüntüsü",
|
|
437
438
|
"a11y/Gallery Video": "Galeri videosu",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}",
|
|
440
|
+
"Pin Chat": "Sohbeti sabitle",
|
|
441
|
+
"Pin Group": "Grubu sabitle",
|
|
442
|
+
"Unpin Chat": "Sohbetin sabitlemesini kaldır",
|
|
443
|
+
"Unpin Group": "Grubun sabitlemesini kaldır"
|
|
439
444
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../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S,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
|
|
@@ -382,6 +382,8 @@ export declare class Streami18n {
|
|
|
382
382
|
"Leave Group": string;
|
|
383
383
|
"Mute Chat": string;
|
|
384
384
|
"Mute Group": string;
|
|
385
|
+
"Pin Chat": string;
|
|
386
|
+
"Pin Group": string;
|
|
385
387
|
Admin: string;
|
|
386
388
|
Moderator: string;
|
|
387
389
|
Offline: string;
|
|
@@ -391,6 +393,8 @@ export declare class Streami18n {
|
|
|
391
393
|
"Unarchive Group": string;
|
|
392
394
|
"Unmute Chat": string;
|
|
393
395
|
"Unmute Group": string;
|
|
396
|
+
"Unpin Chat": string;
|
|
397
|
+
"Unpin Group": string;
|
|
394
398
|
"{{memberCount}} members, {{onlineCount}} online_one": string;
|
|
395
399
|
"{{memberCount}} members, {{onlineCount}} online_other": string;
|
|
396
400
|
"{{memberCount}} members, {{onlineCount}} online_many": string;
|
|
@@ -420,6 +424,7 @@ export declare class Streami18n {
|
|
|
420
424
|
"a11y/Message from you": string;
|
|
421
425
|
"a11y/Message from {{sender}}": string;
|
|
422
426
|
"a11y/Muted": string;
|
|
427
|
+
"a11y/Pinned": string;
|
|
423
428
|
"a11y/New message from {{user}}": string;
|
|
424
429
|
"a11y/Offline": string;
|
|
425
430
|
"a11y/Open message actions": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAa,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAElF,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE/E,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAahD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AAEzB;;;;GAIG;AACH,OAAO,iBAAiB,CAAC;AAmGzB,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAsBF,KAAK,oBAAoB,GAAG,OAAO,KAAK,GAAG,OAAO,cAAc,CAAC;AAajE,KAAK,iBAAiB,GAAG;IACvB,cAAc,CAAC,EAAE,oBAAoB,CAA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AQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "9.4.0-beta.
|
|
4
|
+
"version": "9.4.0-beta.8",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -232,9 +232,13 @@ const useAudioAttachmentStyles = () => {
|
|
|
232
232
|
return useMemo(() => {
|
|
233
233
|
return StyleSheet.create({
|
|
234
234
|
container: {
|
|
235
|
-
paddingVertical:
|
|
235
|
+
paddingVertical: shouldRemoveAudioAttachmentPadding
|
|
236
|
+
? primitives.spacingXxs
|
|
237
|
+
: primitives.spacingXs,
|
|
236
238
|
paddingLeft: shouldRemoveAudioAttachmentPadding ? 0 : primitives.spacingXs,
|
|
237
|
-
paddingRight: shouldRemoveAudioAttachmentPadding
|
|
239
|
+
paddingRight: shouldRemoveAudioAttachmentPadding
|
|
240
|
+
? primitives.spacingXxs
|
|
241
|
+
: primitives.spacingSm,
|
|
238
242
|
borderWidth: 0,
|
|
239
243
|
backgroundColor: showBackgroundTransparent
|
|
240
244
|
? 'transparent'
|
|
@@ -257,7 +261,8 @@ const useAudioAttachmentStyles = () => {
|
|
|
257
261
|
fontWeight: primitives.typographyFontWeightSemiBold,
|
|
258
262
|
},
|
|
259
263
|
leftContainer: {
|
|
260
|
-
|
|
264
|
+
paddingVertical: shouldRemoveAudioAttachmentPadding ? 0 : primitives.spacingXxs,
|
|
265
|
+
paddingHorizontal: primitives.spacingXxs,
|
|
261
266
|
},
|
|
262
267
|
});
|
|
263
268
|
}, [shouldRemoveAudioAttachmentPadding, showBackgroundTransparent, isMyMessage, semantics]);
|
|
@@ -51,7 +51,11 @@ describe('useChannelDetailsActionItems', () => {
|
|
|
51
51
|
renderHook(() => useChannelDetailsActionItems());
|
|
52
52
|
|
|
53
53
|
expect(spy).toHaveBeenCalledTimes(1);
|
|
54
|
-
expect(spy).toHaveBeenCalledWith({
|
|
54
|
+
expect(spy).toHaveBeenCalledWith({
|
|
55
|
+
channel,
|
|
56
|
+
getChannelActionItems: undefined,
|
|
57
|
+
surface: 'details',
|
|
58
|
+
});
|
|
55
59
|
});
|
|
56
60
|
|
|
57
61
|
it('forwards the getChannelActionItems prop from context unchanged', () => {
|
|
@@ -61,7 +65,7 @@ describe('useChannelDetailsActionItems', () => {
|
|
|
61
65
|
|
|
62
66
|
renderHook(() => useChannelDetailsActionItems());
|
|
63
67
|
|
|
64
|
-
expect(spy).toHaveBeenCalledWith({ channel, getChannelActionItems });
|
|
68
|
+
expect(spy).toHaveBeenCalledWith({ channel, getChannelActionItems, surface: 'details' });
|
|
65
69
|
});
|
|
66
70
|
|
|
67
71
|
it('returns non-leave/non-delete items referentially unchanged', () => {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
export const useChannelDetailsActionItems = (): ChannelActionItem[] => {
|
|
13
13
|
const { channel, getChannelActionItems, onChannelDismiss } = useChannelDetailsContext();
|
|
14
14
|
|
|
15
|
-
const items = useChannelActionItems({ channel, getChannelActionItems });
|
|
15
|
+
const items = useChannelActionItems({ channel, getChannelActionItems, surface: 'details' });
|
|
16
16
|
|
|
17
17
|
return useMemo(
|
|
18
18
|
() =>
|
|
@@ -41,6 +41,7 @@ export type ChannelListProps = Partial<
|
|
|
41
41
|
| 'maxUnreadCount'
|
|
42
42
|
| 'numberOfSkeletons'
|
|
43
43
|
| 'mutedStatusPosition'
|
|
44
|
+
| 'pinnedStatusPosition'
|
|
44
45
|
>
|
|
45
46
|
> & {
|
|
46
47
|
/** Optional function to filter channels prior to rendering the list. Do not use any complex logic that would delay the loading of the ChannelList. We recommend using a pure function with array methods like filter/sort/reduce. */
|
|
@@ -252,6 +253,7 @@ export const ChannelList = (props: ChannelListProps) => {
|
|
|
252
253
|
queryChannelsOverride,
|
|
253
254
|
notificationHostId: notificationHostIdProp,
|
|
254
255
|
mutedStatusPosition = 'inlineTitle',
|
|
256
|
+
pinnedStatusPosition = 'inlineTitle',
|
|
255
257
|
swipeActionsEnabled = true,
|
|
256
258
|
} = props;
|
|
257
259
|
|
|
@@ -375,6 +377,7 @@ export const ChannelList = (props: ChannelListProps) => {
|
|
|
375
377
|
}
|
|
376
378
|
},
|
|
377
379
|
mutedStatusPosition,
|
|
380
|
+
pinnedStatusPosition,
|
|
378
381
|
});
|
|
379
382
|
|
|
380
383
|
return (
|
|
@@ -23,6 +23,7 @@ export const useCreateChannelsContext = ({
|
|
|
23
23
|
reloadList,
|
|
24
24
|
setFlatListRef,
|
|
25
25
|
mutedStatusPosition,
|
|
26
|
+
pinnedStatusPosition,
|
|
26
27
|
}: ChannelsContextValue) => {
|
|
27
28
|
const channelValueString = channels
|
|
28
29
|
?.map(
|
|
@@ -56,6 +57,7 @@ export const useCreateChannelsContext = ({
|
|
|
56
57
|
reloadList,
|
|
57
58
|
setFlatListRef,
|
|
58
59
|
mutedStatusPosition,
|
|
60
|
+
pinnedStatusPosition,
|
|
59
61
|
}),
|
|
60
62
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
61
63
|
[
|
|
@@ -69,6 +71,7 @@ export const useCreateChannelsContext = ({
|
|
|
69
71
|
swipeActionsEnabled,
|
|
70
72
|
refreshing,
|
|
71
73
|
mutedStatusPosition,
|
|
74
|
+
pinnedStatusPosition,
|
|
72
75
|
],
|
|
73
76
|
);
|
|
74
77
|
|
|
@@ -30,19 +30,37 @@ export const ChannelPreview = (props: ChannelPreviewProps) => {
|
|
|
30
30
|
|
|
31
31
|
const client = propClient || contextClient;
|
|
32
32
|
|
|
33
|
-
const { muted, unread, lastMessage } = useChannelPreviewData(
|
|
33
|
+
const { muted, pinned, unread, lastMessage } = useChannelPreviewData(
|
|
34
|
+
channel,
|
|
35
|
+
client,
|
|
36
|
+
propForceUpdate,
|
|
37
|
+
);
|
|
34
38
|
|
|
35
39
|
const translatedLastMessage = useTranslatedMessage(lastMessage);
|
|
36
40
|
|
|
37
41
|
const message = translatedLastMessage ? translatedLastMessage : lastMessage;
|
|
38
42
|
|
|
39
43
|
if (!swipeActionsEnabled) {
|
|
40
|
-
return
|
|
44
|
+
return (
|
|
45
|
+
<ChannelPreview
|
|
46
|
+
channel={channel}
|
|
47
|
+
muted={muted}
|
|
48
|
+
pinned={pinned}
|
|
49
|
+
unread={unread}
|
|
50
|
+
lastMessage={message}
|
|
51
|
+
/>
|
|
52
|
+
);
|
|
41
53
|
}
|
|
42
54
|
|
|
43
55
|
return (
|
|
44
56
|
<ChannelSwipableWrapper channel={channel} getChannelActionItems={getChannelActionItems}>
|
|
45
|
-
<ChannelPreview
|
|
57
|
+
<ChannelPreview
|
|
58
|
+
channel={channel}
|
|
59
|
+
muted={muted}
|
|
60
|
+
pinned={pinned}
|
|
61
|
+
unread={unread}
|
|
62
|
+
lastMessage={message}
|
|
63
|
+
/>
|
|
46
64
|
</ChannelSwipableWrapper>
|
|
47
65
|
);
|
|
48
66
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { useA11yLabel } from '../../a11y/hooks/useA11yLabel';
|
|
4
|
+
import { useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
5
|
+
import { Pin } from '../../icons';
|
|
6
|
+
import { CompositeAccessibilityProbe } from '../Accessibility/CompositeAccessibilityProbe';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* This UI component displays a pinned indicator for a particular channel.
|
|
10
|
+
*/
|
|
11
|
+
export const ChannelPreviewPinnedStatus = () => {
|
|
12
|
+
const {
|
|
13
|
+
theme: {
|
|
14
|
+
channelPreview: { pinnedStatus },
|
|
15
|
+
semantics,
|
|
16
|
+
},
|
|
17
|
+
} = useTheme();
|
|
18
|
+
const accessibilityLabel = useA11yLabel('a11y/Pinned');
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<CompositeAccessibilityProbe label={accessibilityLabel}>
|
|
22
|
+
<Pin height={20} stroke={semantics.textTertiary} width={20} {...pinnedStatus} />
|
|
23
|
+
</CompositeAccessibilityProbe>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
@@ -17,7 +17,10 @@ import { useStableCallback } from '../../hooks';
|
|
|
17
17
|
import { primitives } from '../../theme';
|
|
18
18
|
|
|
19
19
|
export type ChannelPreviewViewPropsWithContext = Pick<ChannelPreviewProps, 'channel'> &
|
|
20
|
-
Pick<
|
|
20
|
+
Pick<
|
|
21
|
+
ChannelsContextValue,
|
|
22
|
+
'maxUnreadCount' | 'onSelect' | 'mutedStatusPosition' | 'pinnedStatusPosition'
|
|
23
|
+
> & {
|
|
21
24
|
/**
|
|
22
25
|
* Formatter function for date of latest message.
|
|
23
26
|
* @param date Message date
|
|
@@ -30,6 +33,8 @@ export type ChannelPreviewViewPropsWithContext = Pick<ChannelPreviewProps, 'chan
|
|
|
30
33
|
formatLatestMessageDate?: (date: Date) => string;
|
|
31
34
|
/** If the channel is muted. */
|
|
32
35
|
muted?: boolean;
|
|
36
|
+
/** If the channel is pinned for the current user. */
|
|
37
|
+
pinned?: boolean;
|
|
33
38
|
/** Number of unread messages on the channel */
|
|
34
39
|
unread?: number;
|
|
35
40
|
lastMessage?: LastMessageType;
|
|
@@ -42,14 +47,17 @@ const ChannelPreviewViewWithContext = (props: ChannelPreviewViewPropsWithContext
|
|
|
42
47
|
maxUnreadCount,
|
|
43
48
|
muted,
|
|
44
49
|
onSelect,
|
|
50
|
+
pinned,
|
|
45
51
|
unread,
|
|
46
52
|
mutedStatusPosition,
|
|
53
|
+
pinnedStatusPosition,
|
|
47
54
|
lastMessage,
|
|
48
55
|
} = props;
|
|
49
56
|
const {
|
|
50
57
|
ChannelPreviewAvatar,
|
|
51
58
|
ChannelPreviewMessage,
|
|
52
59
|
ChannelPreviewMutedStatus,
|
|
60
|
+
ChannelPreviewPinnedStatus,
|
|
53
61
|
ChannelPreviewStatus,
|
|
54
62
|
ChannelPreviewTitle,
|
|
55
63
|
ChannelPreviewUnreadCount,
|
|
@@ -111,6 +119,9 @@ const ChannelPreviewViewWithContext = (props: ChannelPreviewViewPropsWithContext
|
|
|
111
119
|
{muted && mutedStatusPosition === 'inlineTitle' ? (
|
|
112
120
|
<ChannelPreviewMutedStatus />
|
|
113
121
|
) : null}
|
|
122
|
+
{pinned && pinnedStatusPosition === 'inlineTitle' ? (
|
|
123
|
+
<ChannelPreviewPinnedStatus />
|
|
124
|
+
) : null}
|
|
114
125
|
</View>
|
|
115
126
|
|
|
116
127
|
<View style={[styles.statusContainer, statusContainer]}>
|
|
@@ -132,6 +143,9 @@ const ChannelPreviewViewWithContext = (props: ChannelPreviewViewPropsWithContext
|
|
|
132
143
|
{muted && mutedStatusPosition === 'trailingBottom' ? (
|
|
133
144
|
<ChannelPreviewMutedStatus />
|
|
134
145
|
) : null}
|
|
146
|
+
{pinned && pinnedStatusPosition === 'trailingBottom' ? (
|
|
147
|
+
<ChannelPreviewPinnedStatus />
|
|
148
|
+
) : null}
|
|
135
149
|
</View>
|
|
136
150
|
</View>
|
|
137
151
|
</Pressable>
|
|
@@ -151,7 +165,8 @@ const MemoizedChannelPreviewViewWithContext = React.memo(
|
|
|
151
165
|
* from the ChannelPreview component.
|
|
152
166
|
*/
|
|
153
167
|
export const ChannelPreviewView = (props: ChannelPreviewViewProps) => {
|
|
154
|
-
const { forceUpdate, maxUnreadCount, onSelect, mutedStatusPosition } =
|
|
168
|
+
const { forceUpdate, maxUnreadCount, onSelect, mutedStatusPosition, pinnedStatusPosition } =
|
|
169
|
+
useChannelsContext();
|
|
155
170
|
return (
|
|
156
171
|
<MemoizedChannelPreviewViewWithContext
|
|
157
172
|
{...{
|
|
@@ -159,6 +174,7 @@ export const ChannelPreviewView = (props: ChannelPreviewViewProps) => {
|
|
|
159
174
|
maxUnreadCount,
|
|
160
175
|
onSelect,
|
|
161
176
|
mutedStatusPosition,
|
|
177
|
+
pinnedStatusPosition,
|
|
162
178
|
}}
|
|
163
179
|
{...props}
|
|
164
180
|
/>
|
|
@@ -41,7 +41,11 @@ export const ChannelSwipableWrapper = ({
|
|
|
41
41
|
}>) => {
|
|
42
42
|
const { ChannelDetailsBottomSheet: ChannelDetailsBottomSheetComponent } = useComponentsContext();
|
|
43
43
|
const [channelDetailSheetOpen, setChannelDetailSheetOpen] = useState(false);
|
|
44
|
-
const channelActionItems = useChannelActionItems({
|
|
44
|
+
const channelActionItems = useChannelActionItems({
|
|
45
|
+
channel,
|
|
46
|
+
getChannelActionItems,
|
|
47
|
+
surface: 'list',
|
|
48
|
+
});
|
|
45
49
|
const sheetItems = useMemo(
|
|
46
50
|
() => channelActionItems.filter((item) => item.placement !== 'swipe'),
|
|
47
51
|
[channelActionItems],
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { renderHook } from '@testing-library/react-native';
|
|
2
|
+
import { Channel } from 'stream-chat';
|
|
3
|
+
|
|
4
|
+
import { useIsChannelPinned } from '../useIsChannelPinned';
|
|
5
|
+
|
|
6
|
+
describe('useIsChannelPinned', () => {
|
|
7
|
+
afterEach(() => {
|
|
8
|
+
jest.clearAllMocks();
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
const buildMockChannel = (membership: Record<string, unknown> = {}) =>
|
|
12
|
+
({
|
|
13
|
+
initialized: true,
|
|
14
|
+
on: jest.fn().mockReturnValue({ unsubscribe: jest.fn() }),
|
|
15
|
+
state: { membership },
|
|
16
|
+
}) as unknown as Channel;
|
|
17
|
+
|
|
18
|
+
it('returns false when membership has no pinned_at', () => {
|
|
19
|
+
const channel = buildMockChannel({ pinned_at: null });
|
|
20
|
+
const { result } = renderHook(() => useIsChannelPinned(channel));
|
|
21
|
+
expect(result.current).toBe(false);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('returns true when membership has a pinned_at timestamp', () => {
|
|
25
|
+
const channel = buildMockChannel({ pinned_at: '2026-06-15T08:00:00.000Z' });
|
|
26
|
+
const { result } = renderHook(() => useIsChannelPinned(channel));
|
|
27
|
+
expect(result.current).toBe(true);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it('subscribes to member.updated events', () => {
|
|
31
|
+
const channel = buildMockChannel({ pinned_at: null });
|
|
32
|
+
renderHook(() => useIsChannelPinned(channel));
|
|
33
|
+
expect(channel.on).toHaveBeenCalledWith('member.updated', expect.any(Function));
|
|
34
|
+
});
|
|
35
|
+
});
|