@poolse/react-native 3.2.0-dev.5 → 3.3.0
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/CHANGELOG.md +26 -0
- package/README.md +10 -0
- package/dist/index.cjs +330 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +149 -103
- package/dist/index.d.ts +149 -103
- package/dist/index.js +330 -160
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ All notable changes to `@poolse/react-native` are documented here.
|
|
|
4
4
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
|
|
5
5
|
versions follow [semver](https://semver.org).
|
|
6
6
|
|
|
7
|
+
## [3.3.0] - 2026-11-20
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `ConversationView` props: `focusMessageId` (load older pages until the
|
|
12
|
+
message is there, scroll to it and highlight it) with
|
|
13
|
+
`onFocusMessageNotFound`; `onSenderPress(user)` and `onAvatarPress(user)`
|
|
14
|
+
(`MessageUser`, exported); `composer={false}` / `readOnly` hide the
|
|
15
|
+
composer (and quote-reply and the attachment picker with it).
|
|
16
|
+
- Tapping a quoted message jumps to the original.
|
|
17
|
+
- `MessageRow` `onSenderPress` / `onAvatarPress`, `MessageBubble`
|
|
18
|
+
`onSenderPress`, `MessageList` `scrollToMessageId` / `scrollRequest`.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- `ConversationView` always marks messages read; `readReceipts={false}`
|
|
23
|
+
now only hides the read ticks. Before, it also stopped marking read, so
|
|
24
|
+
unread counts never cleared.
|
|
25
|
+
- `onMarkedRead` fires once the server accepts the read (it fired before the
|
|
26
|
+
request). The badge in every `useConversations()` under the provider is
|
|
27
|
+
already cleared by then.
|
|
28
|
+
|
|
29
|
+
## [3.2.0] — 2026-11-17
|
|
30
|
+
|
|
31
|
+
Stable release of everything in the 3.2.0 prereleases below (streaming agent replies, screen sharing, full screen, the redesigned call screen, screen sharing from iOS).
|
|
32
|
+
|
|
7
33
|
## [3.2.0-dev.5] — 2026-11-17 (prerelease, npm tag `dev`)
|
|
8
34
|
|
|
9
35
|
No changes; released with the other packages.
|
package/README.md
CHANGED
|
@@ -65,6 +65,16 @@ function ChatRoot() {
|
|
|
65
65
|
To show one conversation inside your own navigation, render
|
|
66
66
|
`<ConversationView conversationId={id} keyboardOffset={headerHeight} />`.
|
|
67
67
|
|
|
68
|
+
`ConversationView` marks messages read as they arrive, which clears the
|
|
69
|
+
conversation's badge in every `useConversations()` / `ConversationList` under
|
|
70
|
+
the same provider; `readReceipts={false}` only hides the ticks. Other props:
|
|
71
|
+
`focusMessageId` (load older pages until the message is there, scroll to it and
|
|
72
|
+
highlight it) with `onFocusMessageNotFound`, `onSenderPress` and
|
|
73
|
+
`onAvatarPress` (receive a `MessageUser`:
|
|
74
|
+
`{ userId, externalId, displayName, avatarUrl }`), and `composer={false}` (or
|
|
75
|
+
`readOnly`) to hide the composer. Tapping a quoted message jumps to the
|
|
76
|
+
original.
|
|
77
|
+
|
|
68
78
|
## `useAppStateLifecycle()`
|
|
69
79
|
|
|
70
80
|
Call it once inside `<PoolseProvider>`. From 3.1 it pauses the socket when
|