stream-chat-react-native-core 5.22.2-beta.4 → 5.22.2-beta.6

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.
Files changed (47) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +112 -84
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/MessageList/MessageList.js +58 -40
  4. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  5. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +2 -2
  6. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  7. package/lib/commonjs/i18n/en.json +1 -1
  8. package/lib/commonjs/i18n/fr.json +49 -49
  9. package/lib/commonjs/i18n/hi.json +49 -49
  10. package/lib/commonjs/i18n/it.json +49 -49
  11. package/lib/commonjs/i18n/nl.json +49 -49
  12. package/lib/commonjs/i18n/ru.json +49 -49
  13. package/lib/commonjs/i18n/tr.json +49 -49
  14. package/lib/commonjs/version.json +1 -1
  15. package/lib/module/components/Channel/Channel.js +112 -84
  16. package/lib/module/components/Channel/Channel.js.map +1 -1
  17. package/lib/module/components/MessageList/MessageList.js +58 -40
  18. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  19. package/lib/module/components/MessageOverlay/MessageActionListItem.js +2 -2
  20. package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  21. package/lib/module/i18n/en.json +1 -1
  22. package/lib/module/i18n/fr.json +49 -49
  23. package/lib/module/i18n/hi.json +49 -49
  24. package/lib/module/i18n/it.json +49 -49
  25. package/lib/module/i18n/nl.json +49 -49
  26. package/lib/module/i18n/ru.json +49 -49
  27. package/lib/module/i18n/tr.json +49 -49
  28. package/lib/module/version.json +1 -1
  29. package/lib/typescript/i18n/en.json +1 -1
  30. package/lib/typescript/i18n/fr.json +49 -49
  31. package/lib/typescript/i18n/hi.json +49 -49
  32. package/lib/typescript/i18n/it.json +49 -49
  33. package/lib/typescript/i18n/nl.json +49 -49
  34. package/lib/typescript/i18n/ru.json +49 -49
  35. package/lib/typescript/i18n/tr.json +49 -49
  36. package/package.json +1 -1
  37. package/src/components/Channel/Channel.tsx +32 -6
  38. package/src/components/MessageList/MessageList.tsx +44 -9
  39. package/src/components/MessageOverlay/MessageActionListItem.tsx +1 -1
  40. package/src/i18n/en.json +1 -1
  41. package/src/i18n/fr.json +49 -49
  42. package/src/i18n/hi.json +49 -49
  43. package/src/i18n/it.json +49 -49
  44. package/src/i18n/nl.json +49 -49
  45. package/src/i18n/ru.json +49 -49
  46. package/src/i18n/tr.json +49 -49
  47. package/src/version.json +1 -1
@@ -1,20 +1,20 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "1 Risposta alla Discussione",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Sei sicuro di voler eliminare definitivamente questo messaggio?",
8
- "Block User": "Blocca Utente",
9
- "Cancel": "Annulla",
10
- "Cannot Flag Message": "Impossibile Segnalare Messaggio",
11
- "Copy Message": "Copia Messaggio",
12
- "Delete": "Elimina",
13
- "Delete Message": "Cancella il Messaggio",
14
- "Device camera is used to take photos or videos.": "",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Vuoi inviare una copia di questo messaggio a un moderatore per ulteriori indagini?",
16
- "Edit Message": "Modifica Messaggio",
17
- "Editing Message": "",
2
+ "1 Reply": "1 Risposta",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
5
+ "Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
6
+ "Also send to channel": "Invia anche al canale",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "Modificando il Messaggio",
18
18
  "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
@@ -22,55 +22,55 @@
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
24
  "File type not supported": "Tipo di file non supportato",
25
- "Flag": "Contrassegna",
26
- "Flag Message": "Contrassegna Messaggio",
27
- "Flag action failed either due to a network issue or the message is already flagged": "L'azione di segnalazione non è riuscita a causa di un problema di rete o il messaggio è già segnalato.",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "I link sono disabilitati",
32
- "Loading channels...": "",
33
- "Loading messages...": "",
34
- "Loading...": "",
32
+ "Loading channels...": "Caricamento canali in corso...",
33
+ "Loading messages...": "Caricamento messaggi...",
34
+ "Loading...": "Caricamento...",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "È stato raggiunto il limite massimo di caricamento delle dimensioni del file. Carica un file inferiore a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "Reazioni ai Messaggi",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Messaggio contrassegnato",
39
- "Mute User": "Utente Muto",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
40
  "Not supported": "non supportato",
41
41
  "Nothing yet...": "",
42
- "Ok": "Ok",
43
- "Only visible to you": "",
44
- "Open Settings": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Visibile solo a te",
44
+ "Open Settings": "Apri Impostazioni",
45
45
  "Photo": "",
46
- "Photos and Videos": "",
47
- "Pin to Conversation": "Metti in evidenza",
46
+ "Photos and Videos": "Foto e Video",
47
+ "Pin to Conversation": "",
48
48
  "Pinned by": "Fissato da",
49
- "Please enable access to your photos and videos so you can share them.": "",
49
+ "Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
50
50
  "Please select a channel first": "Seleziona un canale",
51
51
  "Reconnecting...": "",
52
- "Reply": "Rispondi",
52
+ "Reply": "",
53
53
  "Reply to Message": "",
54
- "Resend": "Invia di nuovo",
55
- "Search GIFs": "Cerca GIF",
56
- "Select More Photos": "",
57
- "Send a message": "Mandare un messaggio",
54
+ "Resend": "",
55
+ "Search GIFs": "",
56
+ "Select More Photos": "Seleziona Altre foto",
57
+ "Send a message": "",
58
58
  "Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
59
- "Slow mode ON": "Slowmode attiva",
60
- "The message has been reported to a moderator.": "Il messaggio è stato segnalato a un moderatore.",
61
- "Thread Reply": "Rispondi alla Discussione",
62
- "Unblock User": "Sblocca utente",
63
- "Unknown User": "",
64
- "Unmute User": "Riattiva utente",
65
- "Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
59
+ "Slow mode ON": "",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
+ "Unknown User": "Utente sconosciuto",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
67
  "Video": "",
68
68
  "You": "",
69
- "You can't send messages in this channel": "",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "",
72
- "{{ replyCount }} Replies": "",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
74
- "{{ user }} is typing": "",
69
+ "You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Risposte",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} sta scrivendo",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,20 +1,20 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "1 thread antwoord",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
8
- "Block User": "Blokkeer Gebruiker",
9
- "Cancel": "Annuleer",
10
- "Cannot Flag Message": "Kan bericht niet rapporteren",
11
- "Copy Message": "Bericht kopiëren",
12
- "Delete": "Verwijderen",
13
- "Delete Message": "Verwijder bericht",
14
- "Device camera is used to take photos or videos.": "",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Wil je een kopie van dit bericht naar een moderator sturen voor verder onderzoek?",
16
- "Edit Message": "Pas bericht aan",
17
- "Editing Message": "",
2
+ "1 Reply": "1 Antwoord",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
+ "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
+ "Also send to channel": "Stuur ook naar kanaal",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "Bericht aanpassen",
18
18
  "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
@@ -22,55 +22,55 @@
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
24
  "File type not supported": "Bestandstype niet ondersteund",
25
- "Flag": "Markeer",
26
- "Flag Message": "Markeer bericht",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Rapporteren mislukt door een netwerk fout of het berich is al gerapporteerd",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Het versturen van links staat uit",
32
- "Loading channels...": "",
33
- "Loading messages...": "",
34
- "Loading...": "",
32
+ "Loading channels...": "Kanalen aan het laden...",
33
+ "Loading messages...": "Berichten aan het laden...",
34
+ "Loading...": "Aan het laden...",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "Bericht Reacties",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Bericht gemarkeerd",
39
- "Mute User": "Gebruiker dempen",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
40
  "Not supported": "niet ondersteund",
41
41
  "Nothing yet...": "",
42
- "Ok": "Oké",
43
- "Only visible to you": "",
44
- "Open Settings": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Alleen zichtbaar voor jou",
44
+ "Open Settings": "Open instellingen",
45
45
  "Photo": "",
46
- "Photos and Videos": "",
47
- "Pin to Conversation": "Vastmaken aan gesprek",
46
+ "Photos and Videos": "Foto's en video's",
47
+ "Pin to Conversation": "",
48
48
  "Pinned by": "Vastgemaakt door",
49
- "Please enable access to your photos and videos so you can share them.": "",
49
+ "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
50
50
  "Please select a channel first": "Selecteer eerst een kanaal",
51
51
  "Reconnecting...": "",
52
- "Reply": "Antwoord",
52
+ "Reply": "",
53
53
  "Reply to Message": "",
54
- "Resend": "Opnieuw versturen",
55
- "Search GIFs": "Zoek GIF's",
56
- "Select More Photos": "",
57
- "Send a message": "Stuur een bericht",
54
+ "Resend": "",
55
+ "Search GIFs": "",
56
+ "Select More Photos": "Selecteer Meer foto's",
57
+ "Send a message": "",
58
58
  "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
59
- "Slow mode ON": "Langzame modus aan",
60
- "The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
61
- "Thread Reply": "Discussie beantwoorden",
62
- "Unblock User": "Deblokkeer gebruiker",
63
- "Unknown User": "",
64
- "Unmute User": "Dempen van gebruiker opheffen",
65
- "Unpin from Conversation": "Losmaken van gesprek",
59
+ "Slow mode ON": "",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
+ "Unknown User": "Onbekende gebruiker",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
67
  "Video": "",
68
68
  "You": "",
69
- "You can't send messages in this channel": "",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "",
72
- "{{ replyCount }} Replies": "",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
74
- "{{ user }} is typing": "",
69
+ "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} is aan het typen",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,20 +1,20 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "1 тема Ответить",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
- "Block User": "Заблокировать пользователя",
9
- "Cancel": "Отмена",
10
- "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
11
- "Copy Message": "Копировать сообщение",
12
- "Delete": "удалять",
13
- "Delete Message": "Удалить сообщение",
14
- "Device camera is used to take photos or videos.": "",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
16
- "Edit Message": "Редактировать сообщение",
17
- "Editing Message": "",
2
+ "1 Reply": "1 Ответ",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
+ "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
+ "Also send to channel": "Также отправить на канал",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "Редактирование сообщения",
18
18
  "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
@@ -22,55 +22,55 @@
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
24
  "File type not supported": "Тип файла не поддерживается",
25
- "Flag": "Пометить",
26
- "Flag Message": "Пометить сообщение",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Ссылки отключены",
32
- "Loading channels...": "",
33
- "Loading messages...": "",
34
- "Loading...": "",
32
+ "Loading channels...": "Загружаю каналы...",
33
+ "Loading messages...": "Загружаю сообщения...",
34
+ "Loading...": "Загружаю...",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
36
- "Message Reactions": "Сообщения Реакции",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Сообщение отмечено",
39
- "Mute User": "Отключить пользователя",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
40
  "Not supported": "не поддерживается",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "",
44
- "Open Settings": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Видно только вам",
44
+ "Open Settings": "Открыть настройки",
45
45
  "Photo": "",
46
- "Photos and Videos": "",
47
- "Pin to Conversation": "Закрепить к беседе",
46
+ "Photos and Videos": "Фото и видео",
47
+ "Pin to Conversation": "",
48
48
  "Pinned by": "Закреплено пользователем",
49
- "Please enable access to your photos and videos so you can share them.": "",
49
+ "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
50
50
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
51
51
  "Reconnecting...": "",
52
- "Reply": "Ответить",
52
+ "Reply": "",
53
53
  "Reply to Message": "",
54
- "Resend": "Отправить",
55
- "Search GIFs": "Поиск GIF",
56
- "Select More Photos": "",
57
- "Send a message": "Отправить сообщение",
54
+ "Resend": "",
55
+ "Search GIFs": "",
56
+ "Select More Photos": "Выбрать больше фотографий",
57
+ "Send a message": "",
58
58
  "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
59
- "Slow mode ON": "Медленный режим включен",
60
- "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
61
- "Thread Reply": "Тема Ответить",
62
- "Unblock User": "Разблокировать пользователя",
63
- "Unknown User": "",
64
- "Unmute User": "Включить микрофон",
65
- "Unpin from Conversation": "Открепить от беседы",
59
+ "Slow mode ON": "",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
+ "Unknown User": "Неизвестный пользователь",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
67
  "Video": "",
68
68
  "You": "",
69
- "You can't send messages in this channel": "",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "",
72
- "{{ replyCount }} Replies": "",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
74
- "{{ user }} is typing": "",
69
+ "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} пишет",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,20 +1,20 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "1 Konu Yanıtı",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
8
- "Block User": "Kullanıcıyı engelle",
9
- "Cancel": "İptal",
10
- "Cannot Flag Message": "Raporlama Başarısız",
11
- "Copy Message": "Mesajı Kopyala",
12
- "Delete": "Sil",
13
- "Delete Message": "Mesajı Sil",
14
- "Device camera is used to take photos or videos.": "",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
16
- "Edit Message": "Mesajı Düzenle",
17
- "Editing Message": "",
2
+ "1 Reply": "1 Cevap",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "Galerinize erişime izin verin",
5
+ "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
+ "Also send to channel": "Kanala da gönder",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "Mesaj Düzenleniyor",
18
18
  "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
@@ -22,55 +22,55 @@
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
24
  "File type not supported": "Dosya türü desteklenmiyor",
25
- "Flag": "Raporla",
26
- "Flag Message": "Mesajı Raporla",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Bağlantılar devre dışı",
32
- "Loading channels...": "",
33
- "Loading messages...": "",
34
- "Loading...": "",
32
+ "Loading channels...": "Kanallar yükleniyor...",
33
+ "Loading messages...": "Mesajlar yükleniyor...",
34
+ "Loading...": "Yükleniyor...",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maksimum dosya boyutu yükleme sınırına ulaşıldı. Lütfen {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB'ın altında bir dosya yükleyin.",
36
- "Message Reactions": "Mesaj Tepkileri",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Mesaj işaretlendi",
39
- "Mute User": "Kullanıcıyı sessize al",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
40
  "Not supported": "Desteklenmiyor",
41
41
  "Nothing yet...": "",
42
- "Ok": "Tamam",
43
- "Only visible to you": "",
44
- "Open Settings": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Sadece siz görebilirsiniz",
44
+ "Open Settings": "Ayarları aç",
45
45
  "Photo": "",
46
- "Photos and Videos": "",
47
- "Pin to Conversation": "Konuşmaya sabitle",
46
+ "Photos and Videos": "Fotoğraflar ve Videolar",
47
+ "Pin to Conversation": "",
48
48
  "Pinned by": "Tarafından sabitlendi",
49
- "Please enable access to your photos and videos so you can share them.": "",
49
+ "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
50
50
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
51
51
  "Reconnecting...": "",
52
- "Reply": "Yanıtla",
52
+ "Reply": "",
53
53
  "Reply to Message": "",
54
- "Resend": "Yeniden gönder",
55
- "Search GIFs": "GIF Ara",
56
- "Select More Photos": "",
57
- "Send a message": "Mesaj gönder",
54
+ "Resend": "",
55
+ "Search GIFs": "",
56
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
57
+ "Send a message": "",
58
58
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
59
- "Slow mode ON": "Yavaş Mod Açık",
60
- "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
61
- "Thread Reply": "Konu Yanıtı",
62
- "Unblock User": "Kullanıcının engelini kaldır",
63
- "Unknown User": "",
64
- "Unmute User": "Kullanıcının sesini aç",
65
- "Unpin from Conversation": "Sabitlemeyi kaldır",
59
+ "Slow mode ON": "",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
+ "Unknown User": "Bilinmeyen kullanıcı",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
67
  "Video": "",
68
68
  "You": "",
69
- "You can't send messages in this channel": "",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "",
72
- "{{ replyCount }} Replies": "",
73
- "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
74
- "{{ user }} is typing": "",
69
+ "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} yazıyor",
75
75
  "🏙 Attachment...": ""
76
76
  }
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": "5.22.2-beta.4",
4
+ "version": "5.22.2-beta.6",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -817,12 +817,43 @@ const ChannelWithContext = <
817
817
  async (
818
818
  queryCall: () => Promise<void>,
819
819
  onAfterQueryCall: (() => void) | undefined = undefined,
820
+ // if we are targeting a message after the query, pass it here
821
+ targetMessageId: string | undefined = undefined,
820
822
  ) => {
821
823
  setError(false);
822
824
  try {
823
825
  await queryCall();
824
826
  setLastRead(new Date());
825
827
  setHasMore(true);
828
+ if (channel && targetMessageId) {
829
+ // 30 is the maxToRenderPerBatch in MessageList
830
+ const limit = 30 * 3; // we allow 3 batches of messages to be rendered
831
+ const currentMessages = channel.state.messages;
832
+ // number of messages are over the limit, limit the length of messages
833
+ if (currentMessages.length > limit) {
834
+ const targetMessageIndex = currentMessages.findIndex(
835
+ ({ id }) => id === targetMessageId,
836
+ );
837
+ let startIndex = Math.max(targetMessageIndex - Math.floor(limit / 2), 0);
838
+ const endIndex = targetMessageIndex + Math.floor(limit / 2);
839
+ if (endIndex > currentMessages.length) {
840
+ startIndex = Math.max(startIndex - (endIndex - currentMessages.length - 1) - 1, 0);
841
+ }
842
+ const hadLatestMessages = channel.state.messages === channel.state.latestMessages;
843
+ const recentMessage = currentMessages[currentMessages.length - 1];
844
+ channel.state.clearMessages();
845
+ channel.state.messages = currentMessages.slice(startIndex, endIndex);
846
+ const stillHasLatestMessages =
847
+ hadLatestMessages &&
848
+ channel.state.messages[channel.state.messages.length - 1] === recentMessage;
849
+ setHasNoMoreRecentMessagesToLoad(stillHasLatestMessages);
850
+ channel.state.setIsUpToDate(stillHasLatestMessages);
851
+ }
852
+ } else {
853
+ const areLatestMessages = channel.state.messages === channel.state.latestMessages;
854
+ setHasNoMoreRecentMessagesToLoad(areLatestMessages);
855
+ channel.state.setIsUpToDate(areLatestMessages);
856
+ }
826
857
  copyChannelState();
827
858
  onAfterQueryCall?.();
828
859
  } catch (err) {
@@ -851,7 +882,6 @@ const ChannelWithContext = <
851
882
  // if last read date is present we can just fetch messages around that date
852
883
  // last read date not being present is an edge case if somewhere the user of SDK deletes the read state (this will usually never happen)
853
884
  if (lastReadDate) {
854
- setHasNoMoreRecentMessagesToLoad(false); // we are jumping to a message, hence we do not know for sure anymore if there are no more recent messages
855
885
  // get totally 30 messages... max 15 before last read date and max 15 after last read date
856
886
  // ref: https://github.com/GetStream/chat/pull/2588
857
887
  await channel.query(
@@ -870,7 +900,6 @@ const ChannelWithContext = <
870
900
  // we just load the latest messages (25 is the default) and we cant scroll to first unread message
871
901
  await channel.state.loadMessageIntoState('latest');
872
902
  }
873
- setLoading(false);
874
903
  },
875
904
  () => {
876
905
  if (unreadMessageIdToScrollTo) {
@@ -895,16 +924,13 @@ const ChannelWithContext = <
895
924
  } else {
896
925
  await channel.state.loadMessageIntoState('latest');
897
926
  }
898
- const areLatestMessages = channel.state.messages === channel.state.latestMessages;
899
- setHasNoMoreRecentMessagesToLoad(areLatestMessages);
900
- channel.state.setIsUpToDate(areLatestMessages);
901
- setLoading(false);
902
927
  },
903
928
  () => {
904
929
  if (messageIdToLoadAround) {
905
930
  setTargetedMessage(messageIdToLoadAround);
906
931
  }
907
932
  },
933
+ messageIdToLoadAround,
908
934
  );
909
935
 
910
936
  /**