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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/livechat/seeds.rb +18 -12
- data/lib/livechat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f7868af4ac547374ec04ba6aac09d12db7f9ae53776cceb7967cc32c7bf56ef
|
|
4
|
+
data.tar.gz: 40faba066cf75b325672728f1317a9dd1e56771cb2436c1e3a621ad36a560516
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/livechat/seeds.rb
CHANGED
|
@@ -5,46 +5,52 @@ module Livechat
|
|
|
5
5
|
THREADS = [
|
|
6
6
|
{
|
|
7
7
|
visitor_token: 'livechat-demo-checkout',
|
|
8
|
-
visitor_label: 'Demo
|
|
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
|
|
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
|
|
23
|
-
body: '
|
|
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
|
-
{
|
|
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
|
|
36
|
+
visitor_label: 'Demo admin · production checklist',
|
|
32
37
|
visitor_email: 'admin@example.com',
|
|
33
|
-
page_url: '/settings
|
|
38
|
+
page_url: '/settings?demo=livechat',
|
|
34
39
|
locale: 'en',
|
|
35
40
|
status: 'resolved',
|
|
36
41
|
messages: [
|
|
37
|
-
{ author_type: 'visitor', body: '
|
|
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
|
|
42
|
-
body: '
|
|
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
|
|
53
|
+
agent_label: 'Demo support guide',
|
|
48
54
|
event: 'resolved'
|
|
49
55
|
}
|
|
50
56
|
]
|
data/lib/livechat/version.rb
CHANGED
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.
|
|
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:
|
|
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.'
|