@poolse/react-ui 0.1.2 → 0.2.0-alpha.2

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 CHANGED
@@ -4,6 +4,49 @@ All notable changes to `@poolse/react-ui` are documented here. Format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
5
5
  [semver](https://semver.org).
6
6
 
7
+ ## [0.2.0] — 2026-06-01
8
+
9
+ ### Added — new components
10
+
11
+ - `<MessageActions>` — hover-triggered popover with react / reply
12
+ (open thread) / edit / delete affordances. Built on `PoolseIcon`
13
+ and reuses the existing `ReactionPicker`.
14
+ - `<EditableMessageBubble>` — extends `MessageBubble` with an
15
+ inline-edit mode (controlled `editing` prop, textarea with
16
+ Enter-to-save / Esc-to-cancel).
17
+ - `<ThreadView>` — side-pane component for thread replies.
18
+ Composes `useThread` + `MessageBubble` + `MessageComposer` with
19
+ the same brand styling as the main view. Includes a root-message
20
+ preview at the top.
21
+
22
+ ### Added — `<ConversationView>` feature toggles (all default ON)
23
+
24
+ - `reactions` — render `<ReactionStrip>` under each message.
25
+ - `mentions` — swap `<MessageComposer>` for `<MentionInput>` when
26
+ the conversation has loaded members.
27
+ - `attachments` — paperclip icon in the composer triggers a file
28
+ picker → presigned upload → send with `attachment_ids`. Inline
29
+ renders attached images / file cards via `<AttachmentPreview>`.
30
+ - `actions` — hover-revealed `<MessageActions>` next to each message,
31
+ with edit/delete only shown for own messages.
32
+ - `threads` — clicking "reply in thread" from a message opens a
33
+ right-side `<ThreadView>`.
34
+ - `readReceipts` — check-double glyph on own messages once another
35
+ member's `last_read_message_id` advances past them. Auto-computed
36
+ from `useMembers`. Now updates in real time via the new
37
+ `member:read` realtime event.
38
+
39
+ Each toggle defaults to `true`, so dropping in
40
+ `<ConversationView conversationId={id} />` gets you the full chat
41
+ surface out of the box. Set any to `false` to slim down the view.
42
+
43
+ ### Added — new props
44
+
45
+ - `<ConversationView onMarkedRead={(convId) => ...}>` — fires once
46
+ per fresh tail after auto-mark-read commits. Pair with
47
+ `useConversations().markConversationRead` to clear a sidebar
48
+ unread badge immediately (before the realtime echo).
49
+
7
50
  ## [0.1.2] — 2026-06-01
8
51
 
9
52
  ### Added