@wexio/messenger-widget-ember 1.2.4 → 1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +14 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @wexio/messenger-widget-ember
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 037c210: Full two-way messaging: multi-topic threads, offline outbox, blocked visitors, richer composer, and transcript download.
8
+
9
+ **Multi-topic conversation threads**
10
+
11
+ - A multi-topic conversation list: the visitor can keep several topics side by side, each with its own preview, unread count, and status (open / pending / resolved). Starting a new question opens a fresh thread instead of overwriting the current one.
12
+ - The launcher badge, peek, thread list, and open thread now share one unread source, so reading a message clears it everywhere at once. Quick-reply chips render inside the launcher peek so a visitor can answer without opening the panel.
13
+ - Per-thread realtime: typing, unread, operator-handoff and status changes update the right thread live.
14
+
15
+ **Blocked visitors**
16
+
17
+ - Two levels of blocking are now honored on the client. **Thread-level**: the visitor can't reply in that thread but can still start a new one. **Global (contact-level)**: no composer anywhere and no new conversations, with friendly copy. The block is enforced on first paint (so a blocked visitor never sees a live composer) and kept current via the realtime stream. Blocked sends are dropped from the offline queue instead of retrying forever.
18
+
19
+ **Offline outbox**
20
+
21
+ - A generic IndexedDB queue backs the visitor's outbound actions — message sends, reactions, read receipts, profile changes, and activity tracking. Actions taken offline (or mid-reconnect) are persisted and converge automatically when the connection returns, so nothing is silently lost.
22
+
23
+ **Composer**
24
+
25
+ - Rich-text editing (bold / lists / links, Markdown-aware) and a GIF / sticker picker join the existing emoji picker, file attachments, and voice recorder.
26
+
27
+ **Conversation lifecycle**
28
+
29
+ - Download a conversation transcript from the header.
30
+ - A clearer "conversation closed" state with a one-tap "start a new conversation".
31
+ - A connection-status footer replaces the old branding footer, so a dropped connection is visible in-thread.
32
+
33
+ **Reliability**
34
+
35
+ - A code-split chunk that can't be fetched (for example the voice-note player while offline) now degrades gracefully to a fallback instead of breaking the whole conversation.
36
+
37
+ **Captured visitors (lazy inbox)**
38
+
39
+ - A drive-by visitor no longer opens a conversation until they actually engage. When there is nothing in the inbox yet, a configured welcome message shows as a default thread the visitor can read and reply in, rather than an empty "no conversations" screen — and the proactive welcome peek + badge appear once, then clear after it is read.
40
+ - A first message (or an operator's proactive message) creates the conversation on the fly and its reply, greeting, and typing now render live in-thread — no reload, and no double launcher peek when a greeting flow is active.
41
+ - Sent-message stability: the visitor's own bubble no longer flickers (animate out then back in) when the thread refetches after a send, and switching a thread's conversation id no longer remounts the open thread.
42
+
43
+ **Media message previews**
44
+
45
+ - A thread whose last message is a photo, video, gif, sticker, voice note, audio, or file now shows a typed label + thumbnail in the thread list and launcher peek, instead of a blank row.
46
+
47
+ **i18n**
48
+
49
+ - New conversation, thread, block, and transcript strings across all supported UI locales.
50
+
51
+ No breaking changes to the package API — `publicKey`, `user`, `config`, and the `onOpen` / `onClose` / `onResize` callbacks are unchanged.
52
+
3
53
  ## 1.2.4
4
54
 
5
55
  ### Patch Changes
package/README.md CHANGED
@@ -9,8 +9,22 @@ Ember integration for the [Wexio](https://wexio.io) web messenger. Registers the
9
9
  🏠 [Website](https://wexio.io)
10
10
  📚 [Developer Docs](https://learn.wexio.io/docs/web-widget)
11
11
 
12
+ ## Features
13
+
14
+ The messenger is a full two-way support surface, not just a contact form:
15
+
16
+ - **Conversations & threads** — real-time chat with history, read receipts and delivery states, plus multi-topic threads so a visitor can keep several questions side by side.
17
+ - **Rich messages** — images and galleries (with a lightbox), GIFs, inline video, voice notes, and file / PDF attachments; AI replies cite their sources.
18
+ - **Composer** — rich-text editing, emoji and GIF pickers, file attachments, and an in-widget voice recorder.
19
+ - **Home, Help & News** — a configurable Home tab (team status, quick actions, help search, news), a searchable help center, and a news feed — all driven by the operator's dashboard.
20
+ - **Identity** — anonymous by default, or log a known visitor in with a Google, JWT, or HMAC proof.
21
+ - **Resilient & offline-aware** — an offline outbox queues sends, reactions, read-acks and profile changes and converges on reconnect; a dropped connection is shown in-thread.
22
+ - **Themed & localized** — follows the operator's brand theme (light / dark) and ships 33 UI locales; visitors can switch language in-widget.
23
+ - **Demo mode** — omit the public key to render a self-contained preview with bundled mock content (great for landing pages and Storybook).
24
+
12
25
  ## 📂 Description
13
26
 
27
+ - [Features](#features)
14
28
  - [Installation](#installation)
15
29
  - [Quick start](#quick-start)
16
30
  - [Event handling](#event-handling)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wexio/messenger-widget-ember",
3
- "version": "1.2.4",
3
+ "version": "1.3.0",
4
4
  "description": "Ember integration for the Wexio web messenger. Service helper around the <wexio-widget> custom element.",
5
5
  "license": "MIT",
6
6
  "private": false,