livechat 0.10.0 → 0.10.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63ba0ec549bbfac094a6a507ac4e3525c01b9b8926dbbf4e7822e7db05c2472d
4
- data.tar.gz: 7afeeacda8689b6335c87a06a9fe0fecb50388379fc32d7255ab0fec16afe04e
3
+ metadata.gz: 5f7868af4ac547374ec04ba6aac09d12db7f9ae53776cceb7967cc32c7bf56ef
4
+ data.tar.gz: 40faba066cf75b325672728f1317a9dd1e56771cb2436c1e3a621ad36a560516
5
5
  SHA512:
6
- metadata.gz: 26d8a59095979df9546eaa12aee10d828b50677a2b32e199c2b25a9820cfa7d3e8a4b24f9ec53e4f19c286f49948ab8bb4ea1756bfea3818d849240b8221f080
7
- data.tar.gz: e287d3e63e218974245e0c5e495603aee5ae4ddd3b3b9c91af2ebc6ca103aa2d0ffdea731f39003ad79e10c52101bf9f187afba64cb4ded94e07c17ab6bb8cd0
6
+ metadata.gz: 429aaa62a6b365b2314c2193faa3377879aee0b0c564c935065cc4df798e5471a5571c7e2f8b229fec2490b6ca382dfe8e50c2d88d809c063b5bf83b8d9183c3
7
+ data.tar.gz: 8658bd68fe0bfd233f3ddddd30079bd71f6443394650c306171ecc7db2184602e93bff51622d049b1e0d33b6e355676e077eab8177f9c3c833a13f924cbd71d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.1
4
+
5
+ - **The demo inbox is now a live setup walkthrough.** The open conversation
6
+ teaches the visitor-to-agent reply loop, captured page and identity context,
7
+ and unread state. The resolved conversation records the production checklist:
8
+ render the tag, protect the staff inbox, and configure signed-in visitors.
9
+ - `livechat:seed_demo` still rebuilds messages inside its two demo conversations
10
+ on every run, so replies or edits made in those threads are discarded. It
11
+ does not change real conversations.
12
+
3
13
  ## 0.10.0
4
14
 
5
15
  - **The open/resolved switch is now the family's shared component.** It looks the
@@ -5,46 +5,52 @@ module Livechat
5
5
  THREADS = [
6
6
  {
7
7
  visitor_token: 'livechat-demo-checkout',
8
- visitor_label: 'Demo Customer',
8
+ visitor_label: 'Demo visitor · reply to this thread',
9
9
  visitor_email: 'customer@example.com',
10
- page_url: '/checkout',
10
+ page_url: '/checkout?demo=livechat',
11
11
  locale: 'en',
12
12
  status: 'open',
13
13
  messages: [
14
14
  {
15
15
  author_type: 'visitor',
16
- body: 'I am trying to finish checkout, but the payment button keeps spinning.',
16
+ body: 'I installed Livechat. What should I test first?',
17
17
  read_at: true
18
18
  },
19
19
  {
20
20
  author_type: 'agent',
21
21
  agent_id: 'livechat-demo-agent',
22
- agent_label: 'Demo Support',
23
- body: 'Thanks for the details. I am checking the payment logs now.',
22
+ agent_label: 'Demo support guide',
23
+ body: 'Open the chat widget in your app, send a message, then reply from this inbox. The page URL, ' \
24
+ 'locale, and configured visitor identity stay attached to the conversation.',
24
25
  read_at: true
25
26
  },
26
- { author_type: 'visitor', body: 'The order number is #DEMO-1042.' }
27
+ {
28
+ author_type: 'visitor',
29
+ body: 'This last message is intentionally unread. Reply from the composer to complete the ' \
30
+ 'visitor-to-agent loop.'
31
+ }
27
32
  ]
28
33
  },
29
34
  {
30
35
  visitor_token: 'livechat-demo-resolved',
31
- visitor_label: 'Demo Admin',
36
+ visitor_label: 'Demo admin · production checklist',
32
37
  visitor_email: 'admin@example.com',
33
- page_url: '/settings/billing',
38
+ page_url: '/settings?demo=livechat',
34
39
  locale: 'en',
35
40
  status: 'resolved',
36
41
  messages: [
37
- { author_type: 'visitor', body: 'Where can I download last month\'s invoice?' },
42
+ { author_type: 'visitor', body: 'What must I configure before this chat goes to production?' },
38
43
  {
39
44
  author_type: 'agent',
40
45
  agent_id: 'livechat-demo-agent',
41
- agent_label: 'Demo Support',
42
- body: 'Open Settings, then Billing, then click Download next to the invoice.',
46
+ agent_label: 'Demo support guide',
47
+ body: 'Render livechat_tag in the layout, set authorize_admin so only staff can read the inbox, ' \
48
+ 'and configure current_user when signed-in visitors should keep their identity across pages.',
43
49
  read_at: true
44
50
  },
45
51
  {
46
52
  author_type: 'system',
47
- agent_label: 'Demo Support',
53
+ agent_label: 'Demo support guide',
48
54
  event: 'resolved'
49
55
  }
50
56
  ]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Livechat
4
- VERSION = '0.10.0'
4
+ VERSION = '0.10.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livechat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Shmarov
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.6.9
133
+ rubygems_version: 4.0.10
134
134
  specification_version: 4
135
135
  summary: 'Open-source live chat for Rails: a drop-in support widget plus a team inbox,
136
136
  in your own database.'