@chat21/chat21-web-widget 5.0.81-rc.2 → 5.0.82-rc.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.
package/CHANGELOG.md CHANGED
@@ -1,1584 +1,1588 @@
1
1
  # **CHAT21-WEB-WIDGET - Changelog** ver 5.0
2
2
 
3
3
  ### **Authors**:
4
- *Gabriele Panico*
5
- *Dario De Pascalis*
6
- ### **Copyrigth**: *Tiledesk SRL*
4
+ *Gabriele Panico* <br>
5
+ *Dario De Pascalis* <br>
6
+ ### **Copyrigth**:
7
+ *Tiledesk SRL*
7
8
 
8
- ### 5.0.81-rc.2
9
- - added: blank.html page to integrate widget on webview
9
+ # 5.0.82-rc.1
10
10
 
11
- ### 5.0.81-rc.1
12
- - added: updateLeadInfo function in messageAdded subscription
11
+ # 5.0.81 in PROD
13
12
 
14
- ### 5.0.80 in PROD
13
+ # 5.0.81-rc.2
14
+ - **added**: blank.html page to integrate widget on webview
15
15
 
16
- ### 5.0.80-rc.2
17
- - changed: background color network disconnection msg
16
+ # 5.0.81-rc.1
17
+ - **added**: updateLeadInfo function in messageAdded subscription
18
18
 
19
- ### 5.0.80-rc.1
20
- - added: network-offline component to manage network connection/disconnection
21
- - added: onDisconnect MQTT method to subscribe and manage reconnect/close/offline event
22
- - changed: v0.1.12.8 chat21client.js
19
+ # 5.0.80 in PROD
23
20
 
24
- ### 5.0.79 in PROD
21
+ # 5.0.80-rc.2
22
+ - **changed**: background color network disconnection msg
25
23
 
26
- ### 5.0.79-rc.3
27
- - added: downloadURL in metadata obj while sending message from tiledesk
24
+ # 5.0.80-rc.1
25
+ - **added**: network-offline component to manage network connection/disconnection
26
+ - **added**: onDisconnect MQTT method to subscribe and manage reconnect/close/offline event
27
+ - **changed**: v0.1.12.8 chat21client.js
28
28
 
29
- ### 5.0.79-rc.2
30
- ### 5.0.79-rc.1
31
- - added: do not sound again on conv.added if chrome reconnect after inactivity timeout
29
+ # 5.0.79 in PROD
32
30
 
33
- ### 5.0.78 in PROD
31
+ # 5.0.79-rc.3
32
+ - **added**: downloadURL in metadata obj while sending message from tiledesk
34
33
 
35
- ### 5.0.77 in PROD
34
+ # 5.0.79-rc.2
35
+ # 5.0.79-rc.1
36
+ - **added**: do not sound again on conv.added if chrome reconnect after inactivity timeout
36
37
 
37
- ### 5.0.77-rc.2
38
- - bug-fixed: if user click on proactive attachment button, widget show prechatForm
38
+ # 5.0.78 in PROD
39
39
 
40
- ### 5.0.77-rc.1
41
- - added: ability to programmatically open an old conversation by request_id
40
+ # 5.0.77 in PROD
42
41
 
43
- ### 5.0.76 in PROD
42
+ # 5.0.77-rc.2
43
+ - **bug-fixed**: if user click on proactive attachment button, widget show prechatForm
44
44
 
45
- ### 5.0.75 in PROD
46
- - bug-fixed: WELCOME_TITLE and WELCOME_MSG translation labels not rendered
45
+ # 5.0.77-rc.1
46
+ - **added**: ability to programmatically open an old conversation by request_id
47
47
 
48
- ### 5.0.75-rc.1
49
- - added: image preview iframe on image click
48
+ # 5.0.76 in PROD
50
49
 
51
- ### 5.0.74 in PROD
50
+ # 5.0.75 in PROD
51
+ - **bug-fixed**: WELCOME_TITLE and WELCOME_MSG translation labels not rendered
52
52
 
53
- ### 5.0.74-rc.5
54
- - bug-fixed: minor improvement labels
53
+ # 5.0.75-rc.1
54
+ - **added**: image preview iframe on image click
55
55
 
56
- ### 5.0.74-rc.4
57
- - added: clearStorage method to index-dev.html file
56
+ # 5.0.74 in PROD
58
57
 
59
- ### 5.0.74-rc.3
60
- - added: brand-service and BrandResources class to manage resources
58
+ # 5.0.74-rc.5
59
+ - **bug-fixed**: minor improvement labels
61
60
 
62
- ### 5.0.74-rc.2
63
- - added: clearStorage public method from external iframe
61
+ # 5.0.74-rc.4
62
+ - **added**: clearStorage method to index-dev.html file
64
63
 
65
- ### 5.0.74-rc.1
64
+ # 5.0.74-rc.3
65
+ - **added**: brand-service and BrandResources class to manage resources
66
+
67
+ # 5.0.74-rc.2
68
+ - **added**: clearStorage public method from external iframe
69
+
70
+ # 5.0.74-rc.1
66
71
  - minor improvement
67
72
 
68
- ### 5.0.73 in PROD
73
+ # 5.0.73 in PROD
69
74
 
70
- ### 5.0.73-rc.1
71
- - bug-fixed: labels fixed
75
+ # 5.0.73-rc.1
76
+ - **bug-fixed**: labels fixed
72
77
 
73
- ### 5.0.72 in PROD
78
+ # 5.0.72 in PROD
74
79
 
75
- ### 5.0.72-rc.3
76
- - changed: API_URL template key in favour of SERVER_BASE_URL
80
+ # 5.0.72-rc.3
81
+ - **changed**: API_URL template key in favour of SERVER_BASE_URL
77
82
 
78
- ### 5.0.71.5 in PROD
83
+ # 5.0.71.5 in PROD
79
84
 
80
- ### 5.0.71.4 in PROD
85
+ # 5.0.71.4 in PROD
81
86
 
82
- ### 5.0.72-rc.2
83
- - bug-fixed: update attributes after setAttributeParameter external function is called
87
+ # 5.0.72-rc.2
88
+ - **bug-fixed**: update attributes after setAttributeParameter external function is called
84
89
 
85
- ### 5.0.72-rc.1
86
- - changed: set retain option in mqtt connection as FALSE
90
+ # 5.0.72-rc.1
91
+ - **changed**: set retain option in mqtt connection as FALSE
87
92
 
88
- ### 5.0.71.3 in PROD
89
- - bug-fixed: removed img filter from home footer section
93
+ # 5.0.71.3 in PROD
94
+ - **bug-fixed**: removed img filter from home footer section
90
95
 
91
- ### 5.0.71.2 in PROD
92
- - bug-fixing: widget do not restart conversation in chatbot-panel.html file
96
+ # 5.0.71.2 in PROD
97
+ - **bug-fixed**: widget do not restart conversation in chatbot-panel.html file
93
98
 
94
- ### 5.0.71.1 in PROD
95
- - bug-fixed: WELCOME_TITLE and WELCOME_TITLE not showed if user change them on dashboard widget settings
99
+ # 5.0.71.1 in PROD
100
+ - **bug-fixed**: WELCOME_TITLE and WELCOME_TITLE not showed if user change them on dashboard widget settings
96
101
 
97
- ### 5.0.71 in PROD
102
+ # 5.0.71 in PROD
98
103
 
99
- ### 5.0.71-rc.13
100
- - bug-fixed: wellcome message string
104
+ # 5.0.71-rc.13
105
+ - **bug-fixed**: wellcome message string
101
106
 
102
- ### 5.0.71-rc.12
103
- - changed: index.js, index-dev.js and chatbot-panel.js UI improved
107
+ # 5.0.71-rc.12
108
+ - **changed**: index.js, index-dev.js and chatbot-panel.js UI improved
104
109
 
105
- ### 5.0.71-rc.11
106
- - added: INFO_MESSAGE_TYPE enum added to manage info message keys into message.attributes object
107
- - changed: translations aligned for all lang
108
- - changed: index.js, index-dev.js and chatbot-panel.js UI improved
110
+ # 5.0.71-rc.11
111
+ - **added**: INFO_MESSAGE_TYPE enum added to manage info message keys into message.attributes object
112
+ - **changed**: translations aligned for all lang
113
+ - **changed**: index.js, index-dev.js and chatbot-panel.js UI improved
109
114
 
110
- ### 5.0.71-rc.10
111
- - bug-fixed: signInWithCustomToken override tiledesk_token key
115
+ # 5.0.71-rc.10
116
+ - **bug-fixed**: signInWithCustomToken override tiledesk_token key
112
117
 
113
- ### 5.0.71-rc.9
114
- - added: brandSrc env property
118
+ # 5.0.71-rc.9
119
+ - **added**: brandSrc env property
115
120
 
116
- ### 5.0.71-rc.8
117
- - chaged: chatbot-panel.html page UI (added header as style)
118
- - bug-fixed: drop-zone area wrong height if footer in not visible
119
- - bug-fixed: set archived conversations as read always
121
+ # 5.0.71-rc.8
122
+ - **changed**: chatbot-panel.html page UI (added header as style)
123
+ - **bug-fixed**: drop-zone area wrong height if footer in not visible
124
+ - **bug-fixed**: set archived conversations as read always
120
125
 
121
- ### 5.0.71-rc.5
122
- - bug-fixed: last-message box is visible also if text is empty
126
+ # 5.0.71-rc.5
127
+ - **bug-fixed**: last-message box is visible also if text is empty
123
128
 
124
- ### 5.0.71-rc.4
125
- - added: uploadProfile method into upload.service files
126
- - bug-fixed: if hiddenMessage is present and user restart conversation from header menu, flow does not restart from beginning
127
- - bug-fixed: do not disable url buttons on carousel element
128
- - bug-fixed: do not sound if convAdded is fired and on reconnect event
129
- - bug-fixed: init Rules only if widget is closed
130
- - removed: 'Powereb By Tiledesk' on conversation and home components only for chatbot-panel.html page
129
+ # 5.0.71-rc.4
130
+ - **added**: uploadProfile method into upload.service files
131
+ - **bug-fixed**: if hiddenMessage is present and user restart conversation from header menu, flow does not restart from beginning
132
+ - **bug-fixed**: do not disable url buttons on carousel element
133
+ - **bug-fixed**: do not sound if convAdded is fired and on reconnect event
134
+ - **bug-fixed**: init Rules only if widget is closed
135
+ - **removed**: 'Powereb By Tiledesk' on conversation and home components only for chatbot-panel.html page
131
136
 
132
- ### 5.0.71-rc.3
133
- - added: delete method for firebase-upload service
134
- - added: size attribute to metadata object while uploading file
135
- - bug-fixed: cannot read property of undefined while reading auth() in onOpenCloseWidget method with singleConversation mode active
137
+ # 5.0.71-rc.3
138
+ - **added**: delete method for firebase-upload service
139
+ - **added**: size attribute to metadata object while uploading file
140
+ - **bug-fixed**: cannot read property of undefined while reading auth() in onOpenCloseWidget method with singleConversation mode active
136
141
 
137
- ### 5.0.71-rc.2
138
- - added: hiddenMessage tiledesk property to start a conversation with an hidden info message
139
- - added: ability to listen from parent message and start a new Conversation with an hidden intentName info message
140
- - changed: minor UI fix carousel component
142
+ # 5.0.71-rc.2
143
+ - **added**: hiddenMessage tiledesk property to start a conversation with an hidden info message
144
+ - **added**: ability to listen from parent message and start a new Conversation with an hidden intentName info message
145
+ - **changed**: minor UI fix carousel component
141
146
 
142
- ### 5.0.71-rc.1
143
- - added: ability to start conversation from an intent hiddenMessage name
144
- - added: postMessage to notice parent the current message
145
- - changed: carousel UI if image is not available
147
+ # 5.0.71-rc.1
148
+ - **added**: ability to start conversation from an intent hiddenMessage name
149
+ - **added**: postMessage to notice parent the current message
150
+ - **changed**: carousel UI if image is not available
146
151
 
147
- ### 5.0.70 in PROD
152
+ # 5.0.70 in PROD
148
153
 
149
- ### 5.0.70-rc.1
150
- - changed: chat21client.js version to v0.1.12.5
151
- - changed: set callback function on chat21client.connect without wait the subscription get back
154
+ # 5.0.70-rc.1
155
+ - **changed**: chat21client.js version to v0.1.12.5
156
+ - **changed**: set callback function on chat21client.connect without wait the subscription get back
152
157
 
153
- ### 5.0.69 in PROD
158
+ # 5.0.69 in PROD
154
159
 
155
- ### 5.0.69-rc.2
156
- - changed: chat21client.js version to v0.1.12.5
157
- - changed: set callback function on chat21client.connect without wait the subscription get back
160
+ # 5.0.69-rc.2
161
+ - **changed**: chat21client.js version to v0.1.12.5
162
+ - **changed**: set callback function on chat21client.connect without wait the subscription get back
158
163
 
159
- ### 5.0.69-rc.1
160
- - added: display/dispose widget on mobile/desktop behavior
161
- - added: open/close widget on page change behavior
162
- - added: 'redirect' action link on message type 'redirect'
164
+ # 5.0.69-rc.1
165
+ - **added**: display/dispose widget on mobile/desktop behavior
166
+ - **added**: open/close widget on page change behavior
167
+ - **added**: 'redirect' action link on message type 'redirect'
163
168
 
164
- ### 5.0.68 in PROD
165
- - bug-fixed: metadata.includes is not a function at isAudio function
169
+ # 5.0.68 in PROD
170
+ - **bug-fixed**: metadata.includes is not a function at isAudio function
166
171
 
167
- ### 5.0.67 in PROD
168
- - bug-fixed: when refresh the page and an already open conversation is selected, footer is blocked
169
- - bug-fix: pdf preview image is not contained into its container
170
- - bug-fixed: cannot push isHere() for presence management if user is disconnected and a notification is received
172
+ # 5.0.67 in PROD
173
+ - **bug-fixed**: when refresh the page and an already open conversation is selected, footer is blocked
174
+ - **bug-fixed**: pdf preview image is not contained into its container
175
+ - **bug-fixed**: cannot push isHere() for presence management if user is disconnected and a notification is received
171
176
 
172
- ### 5.0.66 in PROD
173
- - added: LWT e imHere() for presence management
177
+ # 5.0.66 in PROD
178
+ - **added**: LWT e imHere() for presence management
174
179
 
175
- ### 5.0.65 in PROD
180
+ # 5.0.65 in PROD
176
181
 
177
- ### 5.0.65-rc.1
178
- - added: disconnectTime tiledesk property to manage the time before disconnecting from messaging system if no interaction is fired while the widget is in closed status
179
- - bug-fixed: numbered list reduce the font-size of the bubble-message
180
- - bug-fixed: init() method of conversationHandler.service is not called after a refresh page
182
+ # 5.0.65-rc.1
183
+ - **added**: disconnectTime tiledesk property to manage the time before disconnecting from messaging system if no interaction is fired while the widget is in closed status
184
+ - **bug-fixed**: numbered list reduce the font-size of the bubble-message
185
+ - **bug-fixed**: init() method of conversationHandler.service is not called after a refresh page
181
186
 
182
- ### 5.0.64 in PROD
183
- - removed: LWT e imHere() for presence management
184
- - removed: tooltip lib
187
+ # 5.0.64 in PROD
188
+ - **removed**: LWT e imHere() for presence management
189
+ - **removed**: tooltip lib
185
190
 
186
- ### 5.0.63 in PROD
187
- - added: LWT e imHere() for presence management
191
+ # 5.0.63 in PROD
192
+ - **added**: LWT e imHere() for presence management
188
193
 
189
- ### 5.0.63-rc.1
190
- - added: skip info messages in conversations-list component
194
+ # 5.0.63-rc.1
195
+ - **added**: skip info messages in conversations-list component
191
196
 
192
- ### 5.0.62 in PROD
193
- - added: pending messages
194
- - added: disconnect from messaging handler if no interaction exist within 1 minute
195
- - bug-fixed: cannot able to send messages due to undefined in conversationHandlerService
197
+ # 5.0.62 in PROD
198
+ - **added**: pending messages
199
+ - **added**: disconnect from messaging handler if no interaction exist within 1 minute
200
+ - **bug-fixed**: cannot able to send messages due to undefined in conversationHandlerService
196
201
 
197
- ### 5.0.61-rc.1
198
- - added: 'flags' emojii category in conversatio-footer component
199
- - added: 'share prototype' button inside 'chatbot-panel.html' page to copy link to clipboard
200
- - added: forceDisconnet var to disconnet messaging client if no interaction is handled within 60s
202
+ # 5.0.61-rc.1
203
+ - **added**: 'flags' emojii category in conversatio-footer component
204
+ - **added**: 'share prototype' button inside 'chatbot-panel.html' page to copy link to clipboard
205
+ - **added**: forceDisconnet var to disconnet messaging client if no interaction is handled within 60s
201
206
 
202
- ### 5.0.60 in PROD
207
+ # 5.0.60 in PROD
203
208
 
204
- ### 5.0.60-rc.2
205
- - bug-fixed: callout not showed in index.html and index-dev.html pages
209
+ # 5.0.60-rc.2
210
+ - **bug-fixed**: callout not showed in index.html and index-dev.html pages
206
211
 
207
- ### 5.0.60-rc.1
208
- - bug-fixed: index.html and index-dev.html pages don't load widet on mobile browsers
212
+ # 5.0.60-rc.1
213
+ - **bug-fixed**: index.html and index-dev.html pages don't load widet on mobile browsers
209
214
 
210
- ### 5.0.59 in PROD
215
+ # 5.0.59 in PROD
211
216
 
212
- ### 5.0.59-rc.4
213
- - bug-fixed: texarea remains disabled if messages array has the last (non ordered) timestamp message set with 'disabledTextArea' set to true
214
-
215
- ### 5.0.59-rc.3
216
- - bug-fixed: if mobileMarginX or MobileMarginY is set, widget do not fit on fullscreen once is opened
217
-
218
- ### 5.0.59-rc.2
219
- - added: handler for buttons in last-message component
220
- - changed: tooltip custom directive
221
- - changed: user-avatar size in last-message component
222
-
223
- ### 5.0.59-rc.1
224
- - added: hashing while building dist files
225
-
226
- ### 5.0.58 in PROD
227
-
228
- ### 5.0.57 in PROD
229
-
230
- ### 5.0.57-rc.5
231
- - changed: chat21client.js to v0.1.12.5 (window scope fixed)
232
- - changed: tiledesk logo in conversation and home components
233
-
234
- ### 5.0.57-rc.4
235
- - changed: set calloutStatus to false as default value
236
-
237
- ### 5.0.57-rc.3
238
- - changed: tiledesk logo during conversation
239
- - changed: show entire text of buttons
240
- - bug-fixed: window.location is undefined in chat21client.js
241
-
242
- ### 5.0.57-rc.2
243
- - changed: tiledesk logo during conversation
244
- - removed: image loader wrapper
245
- - bug-fixed: callout not render right height if heavy image is received
246
-
247
- ### 5.0.57-rc.1
248
- - added: fileUploadAccept as a tiledesk property
249
- - added: tiledesk logo during conversation
250
- - added: presence manger on mqtt service
251
- - changed: new conversation-footer UI
252
- - removed: fileUploadAccept from envs and template
253
-
254
- ### 5.0.56 in PROD
255
-
256
- ### 5.0.56-rc.6
257
- - bug-fixed: setPresence not fired due to undefined reading Query in database
258
- - bug-fixed: multiple rules was done--> do only the first that match the regex
259
-
260
- ### 5.0.56-rc.5
261
- - added: if hideFooterTextReply is set to true, hide footer input area and display logo
262
- - added: mobileMarginX and mobileMarginY property to dev page
263
- - added: root css variable to manage dynamic iframe height
264
- - changed: minor UI changes in last-messsage and bubble-message components to display trasnsparent background if image/iframe/gif is received/sent
265
- - bug-fixed: dynamic height in .messagePreview container div modify the height of the entire iframe also when it is open
266
-
267
- ### 5.0.56-rc.4
268
- - added: function to manage messagePreview height programatically
269
- - added: implementation of commands messages inside callout component
270
- - added: isFirstMessage, isSameSender, isLastMessage, isFirstMessage function to utils-message
271
- - removed: margin-block of inner p html tag in chat-text base message component
272
- - bug-fixed: cannot read trim() of undefined with image text message
273
-
274
- ### 5.0.56-rc.3
275
- - added: widget loading in chatbot-panel.html page
276
-
277
- ### 5.0.56-rc.2
278
- - added: firebase laxy loading
279
- - added: dynamic base herf to load chunk files
280
- - added: get and set method for chatClient mqtt lib
281
- - changed: fire initWidget to 'complete' event of document
282
- - changed: replace moment with dayjs
283
- - removed: @import for sass/variables constants file
284
- - removed: unsed directives and imports
285
- - removed: ngx-moment and moment in favour of dayjs
286
-
287
- ### 5.0.56-rc.1
288
- - added: custom colors to senderFullname to better distinguish the user
289
- - bug-fixed: cannot read text.trim() of undefined if no text is sent with an image
290
- - bug-fixed: markdown not split work correctly
291
- - bug-fixed: dispose loader bubbles if wait command message is received
292
-
293
- ### 5.0.55 in PROD
294
- - added: preflight property to /message API body
295
-
296
- ### 5.0.54 in PROD
297
-
298
- ### 5.0.53-rc.8
299
- - bug-fixed: if tiledeskAuth get 401 error do logOut
300
-
301
- ### 5.0.53-rc.7
302
- - bug-fixed: start message was shown twice
303
- - bug-fixed: is showAvailableAgents is false and no conversations exist, 'new conversation' button not displayed
304
-
305
- ### 5.0.53-rc.6
306
- - changed: removed wait object from Rule model
307
- - bug-fixed: splitted message lose original parent message attributes
308
- - bug-fixed: preChat form element UI padding
309
-
310
- ### 5.0.53-rc.5
311
- - changed: minor improvements for last-message component UI
312
- - changed: last-message UI for long text message and long attachment buttons
313
- - removed: automatic open widget after 3s on index.html
314
- - bug-fixed: on click over callout not opens widget correctly if singleConversation is active
315
-
316
- ### 5.0.53-rc.4
317
- - added: proactive rules from /widget/botsRules
318
- - added: imHere method for presence service
319
- - added: limit parameter to message-attachment component
320
- - added: send message on attachment button clicked on last-message component
321
- - added: events service
322
- - added: /requests/messages tiledesk api
323
- - added: convertConversationToMessage utils function in last-message component
324
- - changed: last-message UI
325
- - upgraded: chat21client.js to v0.1.12.4
326
- - changed: pipe files moved from /directives folder to /pipe folder
327
- - changed: moved isSender function from service to utils-message
328
- - bug-fixed: location.href and document.title is wrong (about:srcdoc)
329
- - bug-fixed: wait 2s before publish ImHere event to MQTT presence
330
-
331
- ### 5.0.53 in PROD
332
-
333
- ### 5.0.53-rc.3
334
- - added: html descriptions to index.html and index-dev.html
335
- - changed: script tag for style.css to link tag with rel="stylesheet"
336
- - changed: binding to tiledesk iframe from scr to srcdoc
337
- - removed: base_script.html
338
- - removed: jquery plugin
339
- - removed: relativeLinkResolution from forRoot in RooterModule
340
-
341
- ### 5.0.53-rc.2
342
- - added: angular 15 engine
343
- - added: custom tooltip directive
344
- - changed: buildOptimization ng build parameter to build-optimization
345
- - removed: ng2-tooltip-directive and ng2-tooltip-directive-ng13fix
346
- - removed: initializatoin of abstract variables in chat21-core abstract providers
347
- - removed: enableIvy parameter from tsconfig.json
348
-
349
- ### 5.0.53-rc.1
350
- - added: Rules class (work in progress)
351
- - added: base_script.html to load element inside tiledesk-iframe
352
- - added: getLoggerConfig to logger service
353
- - removed: document.write() injection
354
- - removed: unused html test file
355
-
356
- ### 5.0.52 in PROD
357
-
358
- ### 5.0.52-rc.4
359
- - bug-fixed: getLastConversation for MQTTConversationsHandler service not return uid into conv object
360
-
361
- ### 5.0.52-rc.3
362
- - added: build info in menu conversation-header component if singleConversation is enabled
363
- - bug-fixed: splitted messages is shown twice
364
- - removed: open automatically the widget after 3s in index-dev.html page
365
-
366
- ### 5.0.52-rc.1
367
- - changed: background opacity in chatbot-panel html page
368
- - bug-fixed: splitted messages is shown twice
369
-
370
- ### 5.0.51 in PROD
371
-
372
- ### 5.0.51-rc.2
373
- - added: label to social channels
374
- - changed: footer position index / index-dev / chatbot-panel
375
- - bug-fixed: background size on mobile
376
-
377
- ### 5.0.51-rc.1
378
- - bug-fixed: open method show prechat form if singleConversation mode is active
379
- - added: first message text to whatsapp social channel link
380
-
381
- ### 5.0.50 in PROD
382
- - bug-fixed: if only one department exist (not the default) widget starts conversation with default one
383
-
384
- ### 5.0.49 in PROD
385
-
386
- ### 5.0.49-rc.1
387
- - bug-fixed: restartConversation default parameter was set to true
388
- - bug-fixed: icon for html file moved to local resource
389
- - changed info-message UI
390
-
391
- ### 5.0.48 in PROD
392
-
393
- ### 5.0.48-rc.3
394
- - added: startConversation method to start a new conversation from javascript method
395
- - added: implementation of conversationChangedDetailed in MQTTConversationsHandler service
396
- - bug-fixed: MQTTConversationsHandler service trigger onConversationsChanged every time conversation is loaded (is_new)
397
-
398
- ### 5.0.48-rc.2
399
- - added: splitMessage in MQTTConversationHandler service
400
- - removed: MESSAGE_TYPE_DATE
401
-
402
- ### 5.0.48-rc.1
403
- - bug-fixed: chatbot-panel page not render background-image
404
- - bug-fixed: if departmentID is the default department, widget do not setup its as departmentID to start convs with
405
- - bug-fixed: if uploadEngine is native, set baseImageUrl as BASE_URL to upload and download images
406
-
407
- ### 5.0.47.1 in PROD
408
-
409
- ### 5.0.47 in PROD
410
-
411
- ### 5.0.47-rc.2
412
- - added: whatsapp number added to home
413
- - added: chatbot-panel page to host chatbot template
414
- - added: facebbok messanger channel link to home component
415
- - added: telegram channel link to home component
416
-
417
- ### 5.0.47-rc.1
418
- - added: sourceTitle info in attributes
419
- - added: restartConversation settings parameter to ALWAYS restart a conversation if singleConversation mode is active
420
- - bug-fixed: aligned title header component vertically
421
- - bug-fixed: chinese characters not displayed due to isEmojii function
422
- - bug-fixed: mqtt-conversations-handler service publish wrong changed conversation
423
-
424
- ### 5.0.46 in PROD
217
+ # 5.0.59-rc.4
218
+ - **bug-fixed**: texarea remains disabled if messages array has the last (non ordered) timestamp message set with 'disabledTextArea' set to true
219
+
220
+ # 5.0.59-rc.3
221
+ - **bug-fixed**: if mobileMarginX or MobileMarginY is set, widget do not fit on fullscreen once is opened
222
+
223
+ # 5.0.59-rc.2
224
+ - **added**: handler for buttons in last-message component
225
+ - **changed**: tooltip custom directive
226
+ - **changed**: user-avatar size in last-message component
227
+
228
+ # 5.0.59-rc.1
229
+ - **added**: hashing while building dist files
230
+
231
+ # 5.0.58 in PROD
232
+
233
+ # 5.0.57 in PROD
234
+
235
+ # 5.0.57-rc.5
236
+ - **changed**: chat21client.js to v0.1.12.5 (window scope fixed)
237
+ - **changed**: tiledesk logo in conversation and home components
238
+
239
+ # 5.0.57-rc.4
240
+ - **changed**: set calloutStatus to false as default value
241
+
242
+ # 5.0.57-rc.3
243
+ - **changed**: tiledesk logo during conversation
244
+ - **changed**: show entire text of buttons
245
+ - **bug-fixed**: window.location is undefined in chat21client.js
246
+
247
+ # 5.0.57-rc.2
248
+ - **changed**: tiledesk logo during conversation
249
+ - **removed**: image loader wrapper
250
+ - **bug-fixed**: callout not render right height if heavy image is received
251
+
252
+ # 5.0.57-rc.1
253
+ - **added**: fileUploadAccept as a tiledesk property
254
+ - **added**: tiledesk logo during conversation
255
+ - **added**: presence manger on mqtt service
256
+ - **changed**: new conversation-footer UI
257
+ - **removed**: fileUploadAccept from envs and template
258
+
259
+ # 5.0.56 in PROD
260
+
261
+ # 5.0.56-rc.6
262
+ - **bug-fixed**: setPresence not fired due to undefined reading Query in database
263
+ - **bug-fixed**: multiple rules was done--> do only the first that match the regex
264
+
265
+ # 5.0.56-rc.5
266
+ - **added**: if hideFooterTextReply is set to true, hide footer input area and display logo
267
+ - **added**: mobileMarginX and mobileMarginY property to dev page
268
+ - **added**: root css variable to manage dynamic iframe height
269
+ - **changed**: minor UI changes in last-messsage and bubble-message components to display trasnsparent background if image/iframe/gif is received/sent
270
+ - **bug-fixed**: dynamic height in .messagePreview container div modify the height of the entire iframe also when it is open
271
+
272
+ # 5.0.56-rc.4
273
+ - **added**: function to manage messagePreview height programatically
274
+ - **added**: implementation of commands messages inside callout component
275
+ - **added**: isFirstMessage, isSameSender, isLastMessage, isFirstMessage function to utils-message
276
+ - **removed**: margin-block of inner p html tag in chat-text base message component
277
+ - **bug-fixed**: cannot read trim() of undefined with image text message
278
+
279
+ # 5.0.56-rc.3
280
+ - **added**: widget loading in chatbot-panel.html page
281
+
282
+ # 5.0.56-rc.2
283
+ - **added**: firebase laxy loading
284
+ - **added**: dynamic base herf to load chunk files
285
+ - **added**: get and set method for chatClient mqtt lib
286
+ - **changed**: fire initWidget to 'complete' event of document
287
+ - **changed**: replace moment with dayjs
288
+ - **removed**: @import for sass/variables constants file
289
+ - **removed**: unsed directives and imports
290
+ - **removed**: ngx-moment and moment in favour of dayjs
291
+
292
+ # 5.0.56-rc.1
293
+ - **added**: custom colors to senderFullname to better distinguish the user
294
+ - **bug-fixed**: cannot read text.trim() of undefined if no text is sent with an image
295
+ - **bug-fixed**: markdown not split work correctly
296
+ - **bug-fixed**: dispose loader bubbles if wait command message is received
297
+
298
+ # 5.0.55 in PROD
299
+ - **added**: preflight property to /message API body
300
+
301
+ # 5.0.54 in PROD
302
+
303
+ # 5.0.53-rc.8
304
+ - **bug-fixed**: if tiledeskAuth get 401 error do logOut
305
+
306
+ # 5.0.53-rc.7
307
+ - **bug-fixed**: start message was shown twice
308
+ - **bug-fixed**: is showAvailableAgents is false and no conversations exist, 'new conversation' button not displayed
309
+
310
+ # 5.0.53-rc.6
311
+ - **changed**: removed wait object from Rule model
312
+ - **bug-fixed**: splitted message lose original parent message attributes
313
+ - **bug-fixed**: preChat form element UI padding
314
+
315
+ # 5.0.53-rc.5
316
+ - **changed**: minor improvements for last-message component UI
317
+ - **changed**: last-message UI for long text message and long attachment buttons
318
+ - **removed**: automatic open widget after 3s on index.html
319
+ - **bug-fixed**: on click over callout not opens widget correctly if singleConversation is active
320
+
321
+ # 5.0.53-rc.4
322
+ - **added**: proactive rules from /widget/botsRules
323
+ - **added**: imHere method for presence service
324
+ - **added**: limit parameter to message-attachment component
325
+ - **added**: send message on attachment button clicked on last-message component
326
+ - **added**: events service
327
+ - **added**: /requests/messages tiledesk api
328
+ - **added**: convertConversationToMessage utils function in last-message component
329
+ - **changed**: last-message UI
330
+ - **upgraded**: chat21client.js to v0.1.12.4
331
+ - **changed**: pipe files moved from /directives folder to /pipe folder
332
+ - **changed**: moved isSender function from service to utils-message
333
+ - **bug-fixed**: location.href and document.title is wrong (about:srcdoc)
334
+ - **bug-fixed**: wait 2s before publish ImHere event to MQTT presence
335
+
336
+ # 5.0.53 in PROD
337
+
338
+ # 5.0.53-rc.3
339
+ - **added**: html descriptions to index.html and index-dev.html
340
+ - **changed**: script tag for style.css to link tag with rel="stylesheet"
341
+ - **changed**: binding to tiledesk iframe from scr to srcdoc
342
+ - **removed**: base_script.html
343
+ - **removed**: jquery plugin
344
+ - **removed**: relativeLinkResolution from forRoot in RooterModule
345
+
346
+ # 5.0.53-rc.2
347
+ - **added**: angular 15 engine
348
+ - **added**: custom tooltip directive
349
+ - **changed**: buildOptimization ng build parameter to build-optimization
350
+ - **removed**: ng2-tooltip-directive and ng2-tooltip-directive-ng13fix
351
+ - **removed**: initializatoin of abstract variables in chat21-core abstract providers
352
+ - **removed**: enableIvy parameter from tsconfig.json
353
+
354
+ # 5.0.53-rc.1
355
+ - **added**: Rules class (work in progress)
356
+ - **added**: base_script.html to load element inside tiledesk-iframe
357
+ - **added**: getLoggerConfig to logger service
358
+ - **removed**: document.write() injection
359
+ - **removed**: unused html test file
360
+
361
+ # 5.0.52 in PROD
362
+
363
+ # 5.0.52-rc.4
364
+ - **bug-fixed**: getLastConversation for MQTTConversationsHandler service not return uid into conv object
365
+
366
+ # 5.0.52-rc.3
367
+ - **added**: build info in menu conversation-header component if singleConversation is enabled
368
+ - **bug-fixed**: splitted messages is shown twice
369
+ - **removed**: open automatically the widget after 3s in index-dev.html page
370
+
371
+ # 5.0.52-rc.1
372
+ - **changed**: background opacity in chatbot-panel html page
373
+ - **bug-fixed**: splitted messages is shown twice
374
+
375
+ # 5.0.51 in PROD
376
+
377
+ # 5.0.51-rc.2
378
+ - **added**: label to social channels
379
+ - **changed**: footer position index / index-dev / chatbot-panel
380
+ - **bug-fixed**: background size on mobile
381
+
382
+ # 5.0.51-rc.1
383
+ - **bug-fixed**: open method show prechat form if singleConversation mode is active
384
+ - **added**: first message text to whatsapp social channel link
385
+
386
+ # 5.0.50 in PROD
387
+ - **bug-fixed**: if only one department exist (not the default) widget starts conversation with default one
388
+
389
+ # 5.0.49 in PROD
390
+
391
+ # 5.0.49-rc.1
392
+ - **bug-fixed**: restartConversation default parameter was set to true
393
+ - **bug-fixed**: icon for html file moved to local resource
394
+ - **changed**: info-message UI
395
+
396
+ # 5.0.48 in PROD
397
+
398
+ # 5.0.48-rc.3
399
+ - **added**: startConversation method to start a new conversation from javascript method
400
+ - **added**: implementation of conversationChangedDetailed in MQTTConversationsHandler service
401
+ - **bug-fixed**: MQTTConversationsHandler service trigger onConversationsChanged every time conversation is loaded (is_new)
402
+
403
+ # 5.0.48-rc.2
404
+ - **added**: splitMessage in MQTTConversationHandler service
405
+ - **removed**: MESSAGE_TYPE_DATE
406
+
407
+ # 5.0.48-rc.1
408
+ - **bug-fixed**: chatbot-panel page not render background-image
409
+ - **bug-fixed**: if departmentID is the default department, widget do not setup its as departmentID to start convs with
410
+ - **bug-fixed**: if uploadEngine is native, set baseImageUrl as BASE_URL to upload and download images
411
+
412
+ # 5.0.47.1 in PROD
413
+
414
+ # 5.0.47 in PROD
415
+
416
+ # 5.0.47-rc.2
417
+ - **added**: whatsapp number added to home
418
+ - **added**: chatbot-panel page to host chatbot template
419
+ - **added**: facebbok messanger channel link to home component
420
+ - **added**: telegram channel link to home component
421
+
422
+ # 5.0.47-rc.1
423
+ - **added**: sourceTitle info in attributes
424
+ - **added**: restartConversation settings parameter to ALWAYS restart a conversation if singleConversation mode is active
425
+ - **bug-fixed**: aligned title header component vertically
426
+ - **bug-fixed**: chinese characters not displayed due to isEmojii function
427
+ - **bug-fixed**: mqtt-conversations-handler service publish wrong changed conversation
428
+
429
+ # 5.0.46 in PROD
425
430
 
426
- ### 5.0.46-rc.4
427
- - added: participants property to index-dev list
428
- - changed: converation-preview UI
431
+ # 5.0.46-rc.4
432
+ - **added**: participants property to index-dev list
433
+ - **changed**: converation-preview UI
429
434
 
430
- ### 5.0.46-rc.3
431
- - added: participants tiledesk property to set specific chatbot/humans to talk with
435
+ # 5.0.46-rc.3
436
+ - **added**: participants tiledesk property to set specific chatbot/humans to talk with
432
437
 
433
- ### 5.0.46-rc.2
434
- - added: scale on hover in message buttons
435
- - changed: set themeColorOpacity to 100 as default value
436
- - bug-fixed: 'Lead Updated' not fired if showInfoMessage property not contains 'LEAD_UPDATED' key
438
+ # 5.0.46-rc.2
439
+ - **added**: scale on hover in message buttons
440
+ - **changed**: set themeColorOpacity to 100 as default value
441
+ - **bug-fixed**: 'Lead Updated' not fired if showInfoMessage property not contains 'LEAD_UPDATED' key
437
442
 
438
- ### 5.0.46-rc.1
439
- - bug-fixed: localstorage save [object, object] for attributes key
443
+ # 5.0.46-rc.1
444
+ - **bug-fixed**: localstorage save [object, object] for attributes key
440
445
 
441
- ### 5.0.45 in PROD
442
- - changed: chat21client.js file to 1.12.3
446
+ # 5.0.45 in PROD
447
+ - **changed**: chat21client.js file to 1.12.3
443
448
 
444
- ### 5.0.44 in PROD
445
- - bug-fixed: axios is undefined with MQTT engine
449
+ # 5.0.44 in PROD
450
+ - **bug-fixed**: axios is undefined with MQTT engine
446
451
 
447
- ### 5.0.44-rc.1
448
- - added: singleConversation and themeColorOpacity property on /widget api call
449
- - bug-fixed: default image for file attachment non rendered
452
+ # 5.0.44-rc.1
453
+ - **added**: singleConversation and themeColorOpacity property on /widget api call
454
+ - **bug-fixed**: default image for file attachment non rendered
450
455
 
451
456
  # 5.0.43 in PROD
452
457
 
453
- ### 5.0.43-rc.2
454
- - bug-fixed: stylesMap is not defined yet
458
+ # 5.0.43-rc.2
459
+ - **bug-fixed**: stylesMap is not defined yet
455
460
 
456
- ### 5.0.43-rc.1
457
- - bug-fixed: form elements not set correctly themeColor variable
458
- - added: dashboardBaseUrl to env to manage 'Go to Console' test-page button
461
+ # 5.0.43-rc.1
462
+ - **bug-fixed**: form elements not set correctly themeColor variable
463
+ - **added**: dashboardBaseUrl to env to manage 'Go to Console' test-page button
459
464
 
460
465
  # 5.0.42 in PROD
461
466
 
462
- ### 5.0.42-rc.1
463
- - bug-fixed: if singleConversation is active, preChatForm is active and departmentID is still selected prechatForm component was shows for a fews
464
- - bug-fixed: if singleConversation is active and close prechat icon is clicked, close widget, otherwize go to home
465
- - changed: dynamically add shadow to chat21-conversation element
466
- - changed: update widget status (open/closed) in app.component and not in launcher-button component
467
+ # 5.0.42-rc.1
468
+ - **bug-fixed**: if singleConversation is active, preChatForm is active and departmentID is still selected prechatForm component was shows for a fews
469
+ - **bug-fixed**: if singleConversation is active and close prechat icon is clicked, close widget, otherwize go to home
470
+ - **changed**: dynamically add shadow to chat21-conversation element
471
+ - **changed**: update widget status (open/closed) in app.component and not in launcher-button component
467
472
 
468
- ### 5.0.41 in PROD
473
+ # 5.0.41 in PROD
469
474
 
470
- ### 5.0.41-rc.3
471
- - bug-fixed: if singleConversation is active and allowReopen active, footer text-area is disabled
475
+ # 5.0.41-rc.3
476
+ - **bug-fixed**: if singleConversation is active and allowReopen active, footer text-area is disabled
472
477
 
473
- ### 5.0.41-rc.3
474
- - addd: defaulf new label
475
- - changed: target from es2017 to es5
478
+ # 5.0.41-rc.3
479
+ - **added**: defaulf new label
480
+ - **changed**: target from es2017 to es5
476
481
 
477
- ### 5.0.41-rc.2
478
- - added: hideRestartConversationOptionsMenu property added to restar a new conversation ONLY IF singleConversation mode is active
479
- - removed: fullscreenMode from message-attachment
482
+ # 5.0.41-rc.2
483
+ - **added**: hideRestartConversationOptionsMenu property added to restar a new conversation ONLY IF singleConversation mode is active
484
+ - **removed**: fullscreenMode from message-attachment
480
485
 
481
- ### 5.0.41-rc.1
482
- - bug-fixed: if bot has name 'Bot' and no 'bot_' prefix exist double avatar was shown
483
- - added: remove bubble-message background if is image or iframe and no text is in message
484
- - added: enbedJs variable to env and relative configurations file
485
- - changed: frame and image loader background color
486
- - changed: info-message UI
486
+ # 5.0.41-rc.1
487
+ - **bug-fixed**: if bot has name 'Bot' and no 'bot_' prefix exist double avatar was shown
488
+ - **added**: remove bubble-message background if is image or iframe and no text is in message
489
+ - **added**: enbedJs variable to env and relative configurations file
490
+ - **changed**: frame and image loader background color
491
+ - **changed**: info-message UI
487
492
 
488
- ### 5.0.40 in PROD
493
+ # 5.0.40 in PROD
489
494
 
490
- ### 5.0.40-rc.3
491
- - changed: sender_fullname position and color
495
+ # 5.0.40-rc.3
496
+ - **changed**: sender_fullname position and color
492
497
  - merged: newUI branch into master
493
498
 
494
- ### 5.0.40-rc.2
495
- - bug-fixed: if singleConversation is active, recipientId exist and widget is close, if open it not show preChatForm component
496
-
497
- ### 5.0.40-rc.1
498
- - added: update userFullname and userEmail of user in customAttributes
499
-
500
- ### 5.0.39 in PROD
501
-
502
- ### 5.0.39-rc.8
503
- - change: color of sender_fullname -> same as bubbleReceivedTextColor
504
- - changed: colors of footer, conversation-preview-footer, menu icons and typing's bounce(no dynamic color)
505
-
506
- ### 5.0.39-rc.7
507
- - bug-fixed: if singleConversation mode is active and widget is closed, do not start new conversation flows
508
- - changed: conversation-footer UI
509
- - changed: conversation-preview component UI
510
- - changed: selection-department UI
511
- - changed: border-radius text-area
512
- - changed: moved sender-fullname info from conversation-content to bubble-message
513
- - changed: dynamically decide if show enbedJs element
514
- - added: enbedJs and enbedJsBaseUrl property in envs file
515
-
516
- ### 5.0.39-rc.6
517
- - added: ivy paraemter to angular build
518
- - added: implemetation to es5 and es2017 files during prod-pre-dev envs
519
- - bug-fixed: src url in *Enbed* option in index.html and index-dev.html files -> added dynamic url manadgement
520
-
521
- ### 5.0.39-rc.5
522
- - bug-fixed: vendor.js file not found in prod env
523
- - bug-fixed: home logo extension changed from png to svg
524
- - changed: UI margin in home-conversations
525
-
526
- ### 5.0.39-rc.4
527
- - bug-fixed: if no conversations and no agents available, 'new conversation' button not showed
528
-
529
- ### 5.0.39-rc.3
530
- - removed: animation of incoming messages
531
-
532
- ### 5.0.39-rc.2
533
- - bug-fixed: alignment of attachment buttons
534
- - bug-fixed: footer images not contained into parent div
535
- - added: new UI in home if only 1 agent is available and no conversations exists
536
- - changed: bubbleReceivedBackground color and bubbleReceivedTextColor default value
537
- - changed: box-shadow in footer component
538
- - changed: scroll bar thumb color
539
- - removed: border from avatar
540
-
541
- ### 5.0.39-rc.1
542
- - added: new UI
543
-
544
- ### 5.0.38 in PROD
545
-
546
- ### 5.0.38-rc.2
547
- - bug-fixed: add programmatically shadow after widget is loaded
548
- - bug-fixed: widget corners change if browser zoom is greater then 100%
499
+ # 5.0.40-rc.2
500
+ - **bug-fixed**: if singleConversation is active, recipientId exist and widget is close, if open it not show preChatForm component
501
+
502
+ # 5.0.40-rc.1
503
+ - **added**: update userFullname and userEmail of user in customAttributes
504
+
505
+ # 5.0.39 in PROD
506
+
507
+ # 5.0.39-rc.8
508
+ - **changed**: color of sender_fullname -> same as bubbleReceivedTextColor
509
+ - **changed**: colors of footer, conversation-preview-footer, menu icons and typing's bounce(no dynamic color)
510
+
511
+ # 5.0.39-rc.7
512
+ - **bug-fixed**: if singleConversation mode is active and widget is closed, do not start new conversation flows
513
+ - **changed**: conversation-footer UI
514
+ - **changed**: conversation-preview component UI
515
+ - **changed**: selection-department UI
516
+ - **changed**: border-radius text-area
517
+ - **changed**: moved sender-fullname info from conversation-content to bubble-message
518
+ - **changed**: dynamically decide if show enbedJs element
519
+ - **added**: enbedJs and enbedJsBaseUrl property in envs file
520
+
521
+ # 5.0.39-rc.6
522
+ - **added**: ivy paraemter to angular build
523
+ - **added**: implemetation to es5 and es2017 files during prod-pre-dev envs
524
+ - **bug-fixed**: src url in *Enbed* option in index.html and index-dev.html files -> added dynamic url manadgement
525
+
526
+ # 5.0.39-rc.5
527
+ - **bug-fixed**: vendor.js file not found in prod env
528
+ - **bug-fixed**: home logo extension changed from png to svg
529
+ - **changed**: UI margin in home-conversations
530
+
531
+ # 5.0.39-rc.4
532
+ - **bug-fixed**: if no conversations and no agents available, 'new conversation' button not showed
533
+
534
+ # 5.0.39-rc.3
535
+ - **removed**: animation of incoming messages
536
+
537
+ # 5.0.39-rc.2
538
+ - **bug-fixed**: alignment of attachment buttons
539
+ - **bug-fixed**: footer images not contained into parent div
540
+ - **added**: new UI in home if only 1 agent is available and no conversations exists
541
+ - **changed**: bubbleReceivedBackground color and bubbleReceivedTextColor default value
542
+ - **changed**: box-shadow in footer component
543
+ - **changed**: scroll bar thumb color
544
+ - **removed**: border from avatar
545
+
546
+ # 5.0.39-rc.1
547
+ - **added**: new UI
548
+
549
+ # 5.0.38 in PROD
550
+
551
+ # 5.0.38-rc.2
552
+ - **bug-fixed**: add programmatically shadow after widget is loaded
553
+ - **bug-fixed**: widget corners change if browser zoom is greater then 100%
549
554
 
550
- ### 5.0.38-rc.1
551
- - bug-fixed: if only one department is active, singleConversation is active footer is not disabled if close a conversation and start a new one with hideFooterTextReply: true
552
- - bug-fixed: if more than two department is active and new conversation is starting, component flashes before loaded (removed slid-in-right animation)
555
+ # 5.0.38-rc.1
556
+ - **bug-fixed**: if only one department is active, singleConversation is active footer is not disabled if close a conversation and start a new one with hideFooterTextReply: true
557
+ - **bug-fixed**: if more than two department is active and new conversation is starting, component flashes before loaded (removed slid-in-right animation)
553
558
 
554
- ### 5.0.37 in PROD
559
+ # 5.0.37 in PROD
555
560
 
556
- ### 5.0.37-rc.3
557
- - added: if fullscreenMode is active, attachments button should be aligned left and not right
558
- - added: multi-language to MEMBER_LEFT_GROUP and LEAD_UPDATED info messages
559
- - removed: zone-flag import due to bad ui animation when close widget
561
+ # 5.0.37-rc.3
562
+ - **added**: if fullscreenMode is active, attachments button should be aligned left and not right
563
+ - **added**: multi-language to MEMBER_LEFT_GROUP and LEAD_UPDATED info messages
564
+ - **removed**: zone-flag import due to bad ui animation when close widget
560
565
 
561
- ### 5.0.37-rc.2
562
- - added: onElementRendered event to scroll after image/frame is loaded
563
- - bug-fixed: animation while opening widget due to 'load' zone-flag.ts varible
564
- - added: onElementRendered event to scroll after a message-attachment is rendered in DOM
565
-
566
- ### 5.0.37-rc.1
567
- - bug-fixed: error while trim an inexisting string in messageCommandGenerate
568
- - bug-fixed: error while trin an inexisting string in generateMessageObject
569
- - bug-fixed: showInfoMessage array options can't have a black space after ','
570
- - changed: font color and size of sender_fullname in conversation-detail and home-conversations header titles components
571
-
572
- ### 5.0.36 in PROD
573
-
574
- ### 5.0.36-rc.1
575
- - added: dispose external method to tiledesk widget
576
- - added: manage behaviour for a banned user
577
- - added: enabled possibility to continue old conversation (when singleConversation is active) if last timeout is less then continueConversationBeforeTime property value
566
+ # 5.0.37-rc.2
567
+ - **added**: onElementRendered event to scroll after image/frame is loaded
568
+ - **bug-fixed**: animation while opening widget due to 'load' zone-flag.ts varible
569
+ - **added**: onElementRendered event to scroll after a message-attachment is rendered in DOM
570
+
571
+ # 5.0.37-rc.1
572
+ - **bug-fixed**: error while trim an inexisting string in messageCommandGenerate
573
+ - **bug-fixed**: error while trin an inexisting string in generateMessageObject
574
+ - **bug-fixed**: showInfoMessage array options can't have a black space after ','
575
+ - **changed**: font color and size of sender_fullname in conversation-detail and home-conversations header titles components
576
+
577
+ # 5.0.36 in PROD
578
+
579
+ # 5.0.36-rc.1
580
+ - **added**: dispose external method to tiledesk widget
581
+ - **added**: manage behaviour for a banned user
582
+ - **added**: enabled possibility to continue old conversation (when singleConversation is active) if last timeout is less then continueConversationBeforeTime property value
578
583
 
579
- ### 5.0.35 in PROD
580
- - bug-fixed: widget/chat must not modify original dimension of the attached file (image or video or gif ) before sending message
581
- - removed: deprecated isOpen tiledesk settings
582
- - added: open tiledesk property to enable widget to open/close itself after initialization
584
+ # 5.0.35 in PROD
585
+ - **bug-fixed**: widget/chat must not modify original dimension of the attached file (image or video or gif ) before sending message
586
+ - **removed**: deprecated isOpen tiledesk settings
587
+ - **added**: open tiledesk property to enable widget to open/close itself after initialization
583
588
 
584
- ### 5.0.35-rc.3
585
- - bug-fixed: cannot find property of undefined while close a conversation from upper-right menu in conversation-detail header component
589
+ # 5.0.35-rc.3
590
+ - **bug-fixed**: cannot find property of undefined while close a conversation from upper-right menu in conversation-detail header component
586
591
 
587
- ### 5.0.35-rc.2
588
- - added: block click event if conversation is archived in text and action attachment buttons
589
- - bug-fixed: if conversation is archived and do a close->open action, then conversation is considered as active and not as archived
592
+ # 5.0.35-rc.2
593
+ - **added**: block click event if conversation is archived in text and action attachment buttons
594
+ - **bug-fixed**: if conversation is archived and do a close->open action, then conversation is considered as active and not as archived
590
595
 
591
- ### 5.0.35-rc.1
592
- - bug-fixed: bottom border on image component not rendered with blank text value (" ")
593
- - changed: animation on open widget
596
+ # 5.0.35-rc.1
597
+ - **bug-fixed**: bottom border on image component not rendered with blank text value (" ")
598
+ - **changed**: animation on open widget
594
599
 
595
- ### 5.0.34 in PROD
600
+ # 5.0.34 in PROD
596
601
 
597
- ### 5.0.34-rc.1
598
- - removed: widgetTitle input property from conversation-footer --> unused
599
- - added: ability to close emojii picker if click on emoji icon again or click outside emojii picker component
600
- - bug-fixed: after refresh, if conversation-detail component is loaded first, animation not fired (emoji-mart plugin was responsible)
602
+ # 5.0.34-rc.1
603
+ - **removed**: widgetTitle input property from conversation-footer --> unused
604
+ - **added**: ability to close emojii picker if click on emoji icon again or click outside emojii picker component
605
+ - **bug-fixed**: after refresh, if conversation-detail component is loaded first, animation not fired (emoji-mart plugin was responsible)
601
606
 
602
- ### 5.0.33 in PROD
607
+ # 5.0.33 in PROD
603
608
 
604
- ### 5.0.33-rc.1
605
- - added: possibility continue to chat in an archived conversation if an agent reopen it
606
- - bug-fixed: not show typing if info message arrive
609
+ # 5.0.33-rc.1
610
+ - **added**: possibility continue to chat in an archived conversation if an agent reopen it
611
+ - **bug-fixed**: not show typing if info message arrive
607
612
 
608
- ### 5.0.32 in PROD
613
+ # 5.0.32 in PROD
609
614
 
610
- ### 5.0.32-rc.2
611
- - bug-fixed: error while closing chat from upper rigth menu option in conversation-detail header
612
- - bug-fixed: topic.split is not a function while a conversataion is closed by an agent in MQTT-conversations-handler.service
613
- - changed: default value of logger from DEBUG to ERROR
615
+ # 5.0.32-rc.2
616
+ - **bug-fixed**: error while closing chat from upper rigth menu option in conversation-detail header
617
+ - **bug-fixed**: topic.split is not a function while a conversataion is closed by an agent in MQTT-conversations-handler.service
618
+ - **changed**: default value of logger from DEBUG to ERROR
614
619
 
615
- ### 5.0.32-rc.1
616
- - removed: hideBubbleInfoMessage settings property
617
- - added: showInfoMessage string array settings property to hide/show info message in conversation-detail component
620
+ # 5.0.32-rc.1
621
+ - **removed**: hideBubbleInfoMessage settings property
622
+ - **added**: showInfoMessage string array settings property to hide/show info message in conversation-detail component
618
623
 
619
- ### 5.0.31 in PROD
624
+ # 5.0.31 in PROD
620
625
 
621
- ### 5.0.31-rc.1
622
- - added: typingLocation settings property to locate the typing indicator
623
- - added: tooltip added to info-message
624
- - added: update user info on new message info received
625
- - added: close conversation-preview component on 'Esc' keyboard button
626
- - changed: new downloadUrl for native upload service
627
- - changed: showLogoutOption default value changed from true to false
628
- - bug-fixed: if textarea is greater then default heigth -> restore send button icon to its default position
626
+ # 5.0.31-rc.1
627
+ - **added**: typingLocation settings property to locate the typing indicator
628
+ - **added**: tooltip added to info-message
629
+ - **added**: update user info on new message info received
630
+ - **added**: close conversation-preview component on 'Esc' keyboard button
631
+ - **changed**: new downloadUrl for native upload service
632
+ - **changed**: showLogoutOption default value changed from true to false
633
+ - **bug-fixed**: if textarea is greater then default heigth -> restore send button icon to its default position
629
634
 
630
- ### 5.0.30 in PROD
631
- - changed: max-age value for cache control reduced from 7 days to 5 minutes
635
+ # 5.0.30 in PROD
636
+ - **changed**: max-age value for cache control reduced from 7 days to 5 minutes
632
637
 
633
- ### 5.0.29 in PROD
638
+ # 5.0.29 in PROD
634
639
 
635
- ### 5.0.29-rc.1
636
- - changed: reduced cache-control max-age from 7 days to 1 day
640
+ # 5.0.29-rc.1
641
+ - **changed**: reduced cache-control max-age from 7 days to 1 day
637
642
 
638
- ### 5.0.29-rc.1
639
- - changed: restore default launcher icon
640
- - changed: removed 'Powered by' string from home footer
643
+ # 5.0.29-rc.1
644
+ - **changed**: restore default launcher icon
645
+ - **changed**: removed 'Powered by' string from home footer
641
646
 
642
- ### 5.0.28 in PROD
647
+ # 5.0.28 in PROD
643
648
 
644
- ### 5.0.28-rc.2
645
- - changed: hideSettings tiledesk property default value from false to true
646
- - changed: changed powered by on home footer default value
647
- - changed: sound behaviour. before sounds when widget tab is hidden; now sounds when new conv added and conv changed (on every incoming message)
648
- - changed: option menu home icon visible on mouse hover
649
- - added: logout menu option in conversation-detail header if singleConversation mode is active
649
+ # 5.0.28-rc.2
650
+ - **changed**: hideSettings tiledesk property default value from false to true
651
+ - **changed**: changed powered by on home footer default value
652
+ - **changed**: sound behaviour. before sounds when widget tab is hidden; now sounds when new conv added and conv changed (on every incoming message)
653
+ - **changed**: option menu home icon visible on mouse hover
654
+ - **added**: logout menu option in conversation-detail header if singleConversation mode is active
650
655
 
651
- ### 5.0.28-rc.1
652
- - bug-fixed: if text is sent by keyboad return key and then emojii is selected, text area present a '\r' at the end
653
- - bug-fixed: improve the loading of emoji-mart picker
654
- - bug-fixed: convesation component delayed to start when singleConversation mode is active
655
- - changed: lancher icon with new tiledesk logo
656
- - changed: tiledesk logos with new one
657
- - added: getLastConversation method for mqtt useful for singleConversation mode
656
+ # 5.0.28-rc.1
657
+ - **bug-fixed**: if text is sent by keyboad return key and then emojii is selected, text area present a '\r' at the end
658
+ - **bug-fixed**: improve the loading of emoji-mart picker
659
+ - **bug-fixed**: convesation component delayed to start when singleConversation mode is active
660
+ - **changed**: lancher icon with new tiledesk logo
661
+ - **changed**: tiledesk logos with new one
662
+ - **added**: getLastConversation method for mqtt useful for singleConversation mode
658
663
 
659
- ### 5.0.27 in PROD
660
- - bug-fixed: typing is active if leave and open the same conversations
661
- - bug-fixed: reading null of undefined in home conversation while add animation
662
- - bug-fixed: ipAddress not shown in attributes for Firefox and Safari
664
+ # 5.0.27 in PROD
665
+ - **bug-fixed**: typing is active if leave and open the same conversations
666
+ - **bug-fixed**: reading null of undefined in home conversation while add animation
667
+ - **bug-fixed**: ipAddress not shown in attributes for Firefox and Safari
663
668
 
664
- ### 5.0.27-rc.2
665
- - bug-fixed: typing is active if leave and open the same conversations
666
- - bug-fixed: reading null of undefined in home conversation while add animation
667
- - bug-fixed: ipAddress not shown in attributes for Firefox and Safari
669
+ # 5.0.27-rc.2
670
+ - **bug-fixed**: typing is active if leave and open the same conversations
671
+ - **bug-fixed**: reading null of undefined in home conversation while add animation
672
+ - **bug-fixed**: ipAddress not shown in attributes for Firefox and Safari
668
673
 
669
- ### 5.0.27-rc.1
670
- - changed: if message contains only one emoji remove bubble message background and increase the font-size
671
- - added: singleConversation implementation
674
+ # 5.0.27-rc.1
675
+ - **changed**: if message contains only one emoji remove bubble message background and increase the font-size
676
+ - **added**: singleConversation implementation
672
677
 
673
- ### 5.0.26 in PROD
674
- - bug-fixed: BSStateUpload is undefined while subscribe to native-upload service
678
+ # 5.0.26 in PROD
679
+ - **bug-fixed**: BSStateUpload is undefined while subscribe to native-upload service
675
680
 
676
- ### 5.0.25 in PROD
681
+ # 5.0.25 in PROD
677
682
 
678
- ### 5.0.25-rc.3
679
- - added: get baloonImage property value from remote request
683
+ # 5.0.25-rc.3
684
+ - **added**: get baloonImage property value from remote request
680
685
 
681
- ### 5.0.25-rc.2
682
- - added: unbranding in home footer
686
+ # 5.0.25-rc.2
687
+ - **added**: unbranding in home footer
683
688
 
684
- ### 5.0.25-rc.1
685
- - bug-fixed: humanize duration show wrong language format time
689
+ # 5.0.25-rc.1
690
+ - **bug-fixed**: humanize duration show wrong language format time
686
691
 
687
- ### 5.0.24.2 IN PROD
692
+ # 5.0.24.2 IN PROD
688
693
 
689
- ### 5.0.24.1 IN PROD
690
- - bug-fixed: humanize duration show wrong language format time
694
+ # 5.0.24.1 IN PROD
695
+ - **bug-fixed**: humanize duration show wrong language format time
691
696
 
692
- ### 5.0.24 IN PROD
697
+ # 5.0.24 IN PROD
693
698
 
694
- ### 5.0.24-rc.8
695
- - added: emoji-mart picker
699
+ # 5.0.24-rc.8
700
+ - **added**: emoji-mart picker
696
701
 
697
- ### 5.0.24-rc.7
698
- - bug-fixed: default translation for CLOSE_CHAT translation key in conversation-header menu option
702
+ # 5.0.24-rc.7
703
+ - **bug-fixed**: default translation for CLOSE_CHAT translation key in conversation-header menu option
699
704
 
700
- ### 5.0.24-rc.6
701
- - added: angular version updated from v5 to v12
702
- - changed: content-type directive to contentTipe
703
- - changed: moment import to "import * as moment from 'moment'"
704
- - changed: http to httpClient
705
- - removed: angular2-moment and installed ngx-moment
705
+ # 5.0.24-rc.6
706
+ - **added**: angular version updated from v5 to v12
707
+ - **changed**: content-type directive to contentTipe
708
+ - **changed**: moment import to "import * as moment from 'moment'"
709
+ - **changed**: http to httpClient
710
+ - **removed**: angular2-moment and installed ngx-moment
706
711
 
707
- ### 5.0.24-rc.5
708
- - added: close chat button option in upper-right menu concersation-detail header to close a chat from widget
709
- - added: amLocal pipe in tooltip message timestamp on mouse-hover event
710
- - added: hideCloseConversationOptionMenu tiledesk setting property to hide/show close conversation a chat from setting upper-right conversation heater menu option
711
- - bug-fixed: image url different from firebase show image fullscreen instead of download it as a file
712
+ # 5.0.24-rc.5
713
+ - **added**: close chat button option in upper-right menu concersation-detail header to close a chat from widget
714
+ - **added**: amLocal pipe in tooltip message timestamp on mouse-hover event
715
+ - **added**: hideCloseConversationOptionMenu tiledesk setting property to hide/show close conversation a chat from setting upper-right conversation heater menu option
716
+ - **bug-fixed**: image url different from firebase show image fullscreen instead of download it as a file
712
717
 
713
- ### 5.0.24-rc.4
714
- - bug-fixed: emojii function doesn't work when iframe is in bubble-message
715
-
716
- ### 5.0.24-rc.3
717
- - changed: left alignment of attachment-buttons
718
- - changed: emojii regex to catch message with only emojis
719
-
720
- ### 5.0.24-rc.2
721
- - bug-fixed: parent width page was halved while widget is opened
722
- - bug-fixed: keyboard automatically open when new conversation starts
723
-
724
- ### 5.0.24-rc.1
725
- - bug-fixed: typing was showed for ms when came back to old conversation (BS was fired with last old value)
726
- - bug-fixed: open widget do not fit fullscreen window on mobile
727
- - added: message status update for splitted message (update parent message firebase node for FIREBASE)
728
- - changed: right alignment for attachment-buttons same as right sent bubble messages
729
-
730
- ### 5.0.23 IN PROD
731
-
732
- ### 5.0.23-rc.5
733
- - added: user-typing while splitting a message
734
- - added: constants that specifies default user-typing time wait
735
- - bug-fixed: typing was showed also after message arrives
736
-
737
- ### 5.0.23-rc.4
738
- - removed: double subscription from firebase typing events
739
- - bug-fixed: attachment buttons showed in each command_message
740
-
741
- ### 5.0.23-rc.3
742
- - changed: loagind spinner when conversation start -> replaced with user-typing component
743
- - changed: base bounce color for user-typing component
744
- - added: user-typing component (only spinner) when bot type a message
745
- - bug-fixed: emojii was not catched when message came from chat
718
+ # 5.0.24-rc.4
719
+ - **bug-fixed**: emojii function doesn't work when iframe is in bubble-message
720
+
721
+ # 5.0.24-rc.3
722
+ - **changed**: left alignment of attachment-buttons
723
+ - **changed**: emojii regex to catch message with only emojis
724
+
725
+ # 5.0.24-rc.2
726
+ - **bug-fixed**: parent width page was halved while widget is opened
727
+ - **bug-fixed**: keyboard automatically open when new conversation starts
728
+
729
+ # 5.0.24-rc.1
730
+ - **bug-fixed**: typing was showed for ms when came back to old conversation (BS was fired with last old value)
731
+ - **bug-fixed**: open widget do not fit fullscreen window on mobile
732
+ - **added**: message status update for splitted message (update parent message firebase node for FIREBASE)
733
+ - **changed**: right alignment for attachment-buttons same as right sent bubble messages
734
+
735
+ # 5.0.23 IN PROD
736
+
737
+ # 5.0.23-rc.5
738
+ - **added**: user-typing while splitting a message
739
+ - **added**: constants that specifies default user-typing time wait
740
+ - **bug-fixed**: typing was showed also after message arrives
741
+
742
+ # 5.0.23-rc.4
743
+ - **removed**: double subscription from firebase typing events
744
+ - **bug-fixed**: attachment buttons showed in each command_message
745
+
746
+ # 5.0.23-rc.3
747
+ - **changed**: loagind spinner when conversation start -> replaced with user-typing component
748
+ - **changed**: base bounce color for user-typing component
749
+ - **added**: user-typing component (only spinner) when bot type a message
750
+ - **bug-fixed**: emojii was not catched when message came from chat
746
751
 
747
- ### 5.0.23-rc.2
748
- - removed: avatar on left side of typing
749
- - bug-fixed: command uid for a split msg moved up
750
- - bug-fixed: typing was active also when sender type a message
751
- - bug-fixed: do not notify commands message on child_changed firebase event
752
-
753
- ### 5.0.23-rc.1
754
- - added: mobileMarginX and mobileMarginY tiledesk settings property to manage mobile launch button margin
755
- - added: typing component moved from con-header to conv-content
756
- - bug-fixed: align-right and align-left were both set if align equals to 'right'
757
- - bug-fixed: splitted message update unexisted firebase msg node
758
- - removed: align-right and align-left css class from iframe-stype.css -> now they are managed by mobileMarginX and mobileMarginY parameters
759
- - changed: moved emotion check in firebase-conversation service to converation-content component
760
-
761
- ### 5.0.22 IN PROD
762
-
763
- ### 5.0.22-rc.9
764
- - bug-fixed: transform string value of customAttribute url parameter to keyValue object
765
- - changed: last step 'close' button UI star-rating component
766
- - changed: info-message font size reduced
767
- - added: hideBubbleInfoMessage tiledesk propery to manage bubble info message
768
-
769
- ### 5.0.22-rc.8
770
- - bug-fixed: preChatFormJson error when passed through tiledeskSettings
771
-
772
- ### 5.0.22-rc.7
773
- - changed: errorLabel and label translation key restored to old values
774
-
775
- ### 5.0.21.1 IN PROD
776
- - bug-fixed: z-index increased
777
- - bug-fixed: errorLabel not translated if translate key is passed
778
-
779
- ### 5.0.22-rc.6
780
- - bug-fixed: z-index increased
781
- - changed: label and errorLabel key value for preChatFormJson
782
-
783
- ### 5.0.22-rc.5
784
- - added: 'name' key property to static preChatFormjson
785
-
786
- ### 5.0.22-rc.4
787
- - bug-fixed: not show info message if it can't retrive translations
788
- - bug-fixed: reduced space for single emoticon when user send message
789
-
790
- ### 5.0.22-rc.3
791
- - bug-fixed: new conversation button do not deactivate itself and show conversation-footer text area when nativeRating is activate and only 1 department is active
792
-
793
- ### 5.0.22-rc.2
794
- - added: nativeRating management
795
-
796
- ### 5.0.22-rc.1
797
- - added: enabled info message for MEMBER_JOINED_GROUP (not for bot, only human)
798
- - added: new conversation button in conversation-footer if conversation is archived. user can start new conversation from this button directly
799
-
800
- ### 5.0.21 IN PROD
801
- - bug-fixed: first bubble message flikers when new conversation starts
802
-
803
- ### 5.0.20 IN PROD
804
-
805
- ### 5.0.19.2 IN PROD
806
-
807
- ### 5.0.20-rc.4
808
- - bug-fixed: when message comes from mobile app, message wasn't rendered because msg.attributes not exist
809
-
810
- ### 5.0.19.1 IN PROD
811
-
812
- ### 5.0.20-rc.3
813
- - bug-fixed: undefined when sendRate in last step
814
-
815
- ### 5.0.20-rc.2
816
- - bug-fixed: (mqtt) new conversation was signed as archived conversation beacause archivedConversationHandlers get conversation detail from active conversation node
817
- - bug-fixed: buttonBackgrounColor and buttonHovertextColor was setted programatically based on themeColor
818
- - bug-fied: sendMessage and sendSupportMessage external method provide more than 1 input parameter: now pass a MessageObj
819
- - bug-fixed: space between lines was different if message contains emojii
820
-
821
- ### 5.0.20-rc.1
822
- - bug-fixed: if widget is open on mobile browser, when user scroll on conversation messages, scrolls also parent hosting page --> added style to body page
823
-
824
- ### 5.0.19 IN PROD
825
-
826
- ### 5.0.19-rc.13
827
- - bug-fixed: onBeforeInit was not called in launch function
828
- - bug-fixed: link test inside bubble message not set text color dynamically
829
- - added: setParmeter and setAttributeParameter methods added to external programmers
830
-
831
- ### 5.0.19-rc.12
832
- - added: onBeforeInit tiledesk event
833
- - added: checkImageExists function in image-repo.service
834
- - changed: launch.js file -> replace onInit with onBeforeInit
835
- - bug-fixed: window.Tiledesk function wasn't created if widget don't have any event queued
836
- - bug-fixed: if tiledeskToken passed is different from stored one, remove item with key 'recipientId' in storage
837
-
838
- ### 5.0.19-rc.11
839
- - bug-fixed: widget sounds also when info message arrived: managed conversationChanged BS
840
- - bug-fixed: if avatar image is not set, it delays in being shown the default placeholder image
841
- - bug-fixed: check if conversation.attributes has property subtype: 'info' before manageTabNotification
842
- - bug-fixed: chatbot gif was grainly
843
- - bug-fixed: do not show home component after department is selected -> show conversation component and then destroy select-department component
844
- - bug-fixed: /file-alt-solid.png not found
845
- - bug-fixed: getConversationDetail logic updates because if conversation is archived and widget tab is already closed, when user open it again, widget don't know the right status of the conversation and think always that is an active conversation
846
- - bug-fixed: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value
847
- - added: if previus message has same senderId, not show avatar and agent/bot placeholder
752
+ # 5.0.23-rc.2
753
+ - **removed**: avatar on left side of typing
754
+ - **bug-fixed**: command uid for a split msg moved up
755
+ - **bug-fixed**: typing was active also when sender type a message
756
+ - **bug-fixed**: do not notify commands message on child_changed firebase event
757
+
758
+ # 5.0.23-rc.1
759
+ - **added**: mobileMarginX and mobileMarginY tiledesk settings property to manage mobile launch button margin
760
+ - **added**: typing component moved from con-header to conv-content
761
+ - **bug-fixed**: align-right and align-left were both set if align equals to 'right'
762
+ - **bug-fixed**: splitted message update unexisted firebase msg node
763
+ - **removed**: align-right and align-left css class from iframe-stype.css -> now they are managed by mobileMarginX and mobileMarginY parameters
764
+ - **changed**: moved emotion check in firebase-conversation service to converation-content component
765
+
766
+ # 5.0.22 IN PROD
767
+
768
+ # 5.0.22-rc.9
769
+ - **bug-fixed**: transform string value of customAttribute url parameter to keyValue object
770
+ - **changed**: last step 'close' button UI star-rating component
771
+ - **changed**: info-message font size reduced
772
+ - **added**: hideBubbleInfoMessage tiledesk propery to manage bubble info message
773
+
774
+ # 5.0.22-rc.8
775
+ - **bug-fixed**: preChatFormJson error when passed through tiledeskSettings
776
+
777
+ # 5.0.22-rc.7
778
+ - **changed**: errorLabel and label translation key restored to old values
779
+
780
+ # 5.0.21.1 IN PROD
781
+ - **bug-fixed**: z-index increased
782
+ - **bug-fixed**: errorLabel not translated if translate key is passed
783
+
784
+ # 5.0.22-rc.6
785
+ - **bug-fixed**: z-index increased
786
+ - **changed**: label and errorLabel key value for preChatFormJson
787
+
788
+ # 5.0.22-rc.5
789
+ - **added**: 'name' key property to static preChatFormjson
790
+
791
+ # 5.0.22-rc.4
792
+ - **bug-fixed**: not show info message if it can't retrive translations
793
+ - **bug-fixed**: reduced space for single emoticon when user send message
794
+
795
+ # 5.0.22-rc.3
796
+ - **bug-fixed**: new conversation button do not deactivate itself and show conversation-footer text area when nativeRating is activate and only 1 department is active
797
+
798
+ # 5.0.22-rc.2
799
+ - **added**: nativeRating management
800
+
801
+ # 5.0.22-rc.1
802
+ - **added**: enabled info message for MEMBER_JOINED_GROUP (not for bot, only human)
803
+ - **added**: new conversation button in conversation-footer if conversation is archived. user can start new conversation from this button directly
804
+
805
+ # 5.0.21 IN PROD
806
+ - **bug-fixed**: first bubble message flikers when new conversation starts
807
+
808
+ # 5.0.20 IN PROD
809
+
810
+ # 5.0.19.2 IN PROD
811
+
812
+ # 5.0.20-rc.4
813
+ - **bug-fixed**: when message comes from mobile app, message wasn't rendered because msg.attributes not exist
814
+
815
+ # 5.0.19.1 IN PROD
816
+
817
+ # 5.0.20-rc.3
818
+ - **bug-fixed**: undefined when sendRate in last step
819
+
820
+ # 5.0.20-rc.2
821
+ - **bug-fixed**: (mqtt) new conversation was signed as archived conversation beacause archivedConversationHandlers get conversation detail from active conversation node
822
+ - **bug-fixed**: buttonBackgrounColor and buttonHovertextColor was setted programatically based on themeColor
823
+ - **bug-fixed**: sendMessage and sendSupportMessage external method provide more than 1 input parameter: now pass a MessageObj
824
+ - **bug-fixed**: space between lines was different if message contains emojii
825
+
826
+ # 5.0.20-rc.1
827
+ - **bug-fixed**: if widget is open on mobile browser, when user scroll on conversation messages, scrolls also parent hosting page --> added style to body page
828
+
829
+ # 5.0.19 IN PROD
830
+
831
+ # 5.0.19-rc.13
832
+ - **bug-fixed**: onBeforeInit was not called in launch function
833
+ - **bug-fixed**: link test inside bubble message not set text color dynamically
834
+ - **added**: setParmeter and setAttributeParameter methods added to external programmers
835
+
836
+ # 5.0.19-rc.12
837
+ - **added**: onBeforeInit tiledesk event
838
+ - **added**: checkImageExists function in image-repo.service
839
+ - **changed**: launch.js file -> replace onInit with onBeforeInit
840
+ - **bug-fixed**: window.Tiledesk function wasn't created if widget don't have any event queued
841
+ - **bug-fixed**: if tiledeskToken passed is different from stored one, remove item with key 'recipientId' in storage
842
+
843
+ # 5.0.19-rc.11
844
+ - **bug-fixed**: widget sounds also when info message arrived: managed conversationChanged BS
845
+ - **bug-fixed**: if avatar image is not set, it delays in being shown the default placeholder image
846
+ - **bug-fixed**: check if conversation.attributes has property subtype: 'info' before manageTabNotification
847
+ - **bug-fixed**: chatbot gif was grainly
848
+ - **bug-fixed**: do not show home component after department is selected -> show conversation component and then destroy select-department component
849
+ - **bug-fixed**: /file-alt-solid.png not found
850
+ - **bug-fixed**: getConversationDetail logic updates because if conversation is archived and widget tab is already closed, when user open it again, widget don't know the right status of the conversation and think always that is an active conversation
851
+ - **bug-fixed**: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value
852
+ - **added**: if previus message has same senderId, not show avatar and agent/bot placeholder
853
+ - **added**: subscription to on('value') firebase event in getConversationDetail method
854
+ - **added**: buttonBackgroundColor, buttonTextColor, buttonHoverBackgroundColor, buttonHoverTextColor tiledesk settings property to customize attachment buttons
855
+ - **added**: enabled splitting messages into different message objects
856
+ - **added**: loader in iframe bubblemessage component (WID-53)
857
+ - **added**: when user send/receive single emotion, it is showed without background and bigger than normal message text size
858
+ - **updated**: chat21client.js and mqtt-conversation-handler.ts
859
+ - **changed**: signInWithCustomToken and signInAnonymously function now return a Promise\<UserModel>
860
+ - **changed**: button to scroll conversation-content component now have background and fill color same as themeColor and foregroundColor on :hover event
861
+ - **changed**: show all-conversation option in home-conversation if exist at least one active or closed conversation
862
+
863
+ # 5.0.19-rc.10
864
+ - **bug-fixed**: widget sounds also when info message arrived: managed conversationChanged BS
865
+ - **bug-fixed**: if avatar image is not set, it delays in being shown the default placeholder image
866
+ - **bug-fixed**: check if conversation.attributes has property subtype: 'info' before manageTabNotification
867
+ - **bug-fixed**: chatbot gif was grainly
868
+ - **bug-fixed**: do not show home component after department is selected -> show conversation component and then destroy select-department component
869
+ - **bug-fixed**: /file-alt-solid.png not found
870
+ - **bug-fixed**: getConversationDetail logic updates because if conversation is archived and widget tab is already closed, when user open it again, widget don't know the right status of the conversation and think always that is an active conversation
871
+ - **bug-fixed**: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value
872
+ - **added**: if previus message has same senderId, not show avatar and agent/bot placeholder
848
873
  - added : subscription to on('value') firebase event in getConversationDetail method
849
- - added: buttonBackgroundColor, buttonTextColor, buttonHoverBackgroundColor, buttonHoverTextColor tiledesk settings property to customize attachment buttons
850
- - added: enabled splitting messages into different message objects
851
- - added: loader in iframe bubblemessage component (WID-53)
852
- - added: when user send/receive single emotion, it is showed without background and bigger than normal message text size
874
+ - **added**: buttonBackgroundColor, buttonTextColor, buttonHoverBackgroundColor, buttonHoverTextColor tiledesk settings property to customize attachment buttons
875
+ - **added**: enabled splitting messages into different message objects
876
+ - **added**: loader in iframe bubblemessage component (WID-53)
877
+ - **added**: when user send/receive single emotion, it is showed without background and bigger than normal message text size
853
878
  - updated: chat21client.js and mqtt-conversation-handler.ts
854
- - changed: signInWithCustomToken and signInAnonymously function now return a Promise\<UserModel>
855
- - changed: button to scroll conversation-content component now have background and fill color same as themeColor and foregroundColor on :hover event
856
- - changed: show all-conversation option in home-conversation if exist at least one active or closed conversation
857
-
858
- ### 5.0.19-rc.10
859
- - bug-fixed: widget sounds also when info message arrived: managed conversationChanged BS
860
- - bug-fixed: if avatar image is not set, it delays in being shown the default placeholder image
861
- - bug-fixed: check if conversation.attributes has property subtype: 'info' before manageTabNotification
862
- - bug-fixed: chatbot gif was grainly
863
- - bug-fixed: do not show home component after department is selected -> show conversation component and then destroy select-department component
864
- - bug-fixed: /file-alt-solid.png not found
865
- - bug-fixed: getConversationDetail logic updates because if conversation is archived and widget tab is already closed, when user open it again, widget don't know the right status of the conversation and think always that is an active conversation
866
- - bug-fixed: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value
867
- - added: if previus message has same senderId, not show avatar and agent/bot placeholder
879
+ - **changed**: signInWithCustomToken and signInAnonymously function now return a Promise\<UserModel>
880
+ - **changed**: button to scroll conversation-content component now have background and fill color same as themeColor and foregroundColor on :hover event
881
+ - **changed**: show all-conversation option in home-conversation if exist at least one active or closed conversation
882
+
883
+ # 5.0.19-rc.9
884
+ - **changed**: button to scroll conversation-content component now have background and fill color same as themeColor and foregroundColor on :hover event
885
+ - **added**: info message component only when chat is closed (not visible yet)
886
+ - **added**: managed 'New Conversation' button on conversation footer when conversation is archived -> start new conversation workflow
887
+ - **bug-fixed**: image was resized with preview maximum dimensions and not with bubble-message maximum dimensions
888
+ - **bug-fixed**: chatbot gif was grainly
889
+ - **bug-fixed**: textAreaEl undefined
890
+ - **bug-fixed**: if singleConversation and nativeRating is active, after rating is completed, go back to conversation detail
891
+ - **bug-fixed**: do not show home component after department is selected -> show conversation component and then destroy select-department component
892
+
893
+ # 5.0.19-rc.8
894
+ - **changed**: show all-conversation option in home-conversation if exist at least one active or closed conversation
895
+ - **bug-fixed**: mqtt is not definet in chat21client.js
896
+ - **bug-fixed**: /file-alt-solid.png not found
897
+ - **added**: if singleConversation and nativeRating is active, after rating is completed, go back to conversation detail; if singleConversation is NOT active and nativeRating is active, after rating is completed, go to home component
898
+ - **added**: 'start new conversation' button in conversation-footer component if conversation is archived to have the possibility to start faster a new conversation
899
+ - **added**: not show footer if conversation is archived
900
+
901
+ # 5.0.19-rc.7
902
+ - **added**: nativeRating property to tiledesk settings to decide if show/hide rating component
868
903
  - added : subscription to on('value') firebase event in getConversationDetail method
869
- - added: buttonBackgroundColor, buttonTextColor, buttonHoverBackgroundColor, buttonHoverTextColor tiledesk settings property to customize attachment buttons
870
- - added: enabled splitting messages into different message objects
871
- - added: loader in iframe bubblemessage component (WID-53)
872
- - added: when user send/receive single emotion, it is showed without background and bigger than normal message text size
873
904
  - updated: chat21client.js and mqtt-conversation-handler.ts
874
- - changed: signInWithCustomToken and signInAnonymously function now return a Promise\<UserModel>
875
- - changed: button to scroll conversation-content component now have background and fill color same as themeColor and foregroundColor on :hover event
876
- - changed: show all-conversation option in home-conversation if exist at least one active or closed conversation
877
-
878
- ### 5.0.19-rc.9
879
- - changed: button to scroll conversation-content component now have background and fill color same as themeColor and foregroundColor on :hover event
880
- - added: info message component only when chat is closed (not visible yet)
881
- - added: managed 'New Conversation' button on conversation footer when conversation is archived -> start new conversation workflow
882
- - bug-fixed: image was resized with preview maximum dimensions and not with bubble-message maximum dimensions
883
- - bug-fixed: chatbot gif was grainly
884
- - bug-fixed: textAreaEl undefined
885
- - bug-fixed: if singleConversation and nativeRating is active, after rating is completed, go back to conversation detail
886
- - bug-fixed: do not show home component after department is selected -> show conversation component and then destroy select-department component
887
-
888
- ### 5.0.19-rc.8
889
- - changed: show all-conversation option in home-conversation if exist at least one active or closed conversation
890
- - bug-fixed: mqtt is not definet in chat21client.js
891
- - bug-fixed: /file-alt-solid.png not found
892
- - added: if singleConversation and nativeRating is active, after rating is completed, go back to conversation detail; if singleConversation is NOT active and nativeRating is active, after rating is completed, go to home component
893
- - added: 'start new conversation' button in conversation-footer component if conversation is archived to have the possibility to start faster a new conversation
894
- - added: not show footer if conversation is archived
895
-
896
- ### 5.0.19-rc.7
897
- - added: nativeRating property to tiledesk settings to decide if show/hide rating component
898
- - added : subscription to on('value') firebase event in getConversationDetail method
899
- - updated: chat21client.js and mqtt-conversation-handler.ts
900
- - bug-fixed: ratingWidget component not shown because getConversationDetail fired multiple times and change isConversationArchived boolean value
901
- - bug-fixed: tiledesk_singleConversation property not get right value
902
-
903
- ### 5.0.19-rc.6
904
- - added: border to conversation-preview header
905
- - added: singleConversation widget mode: if true and recipientId property IS NOT SET, widget loads the last active conversation by timestamp order; if true and recipientId property IS SET, widget loads current conversation
906
- - removed: 'px' to image component dimensions
907
- - bug-fixed: getConversationDetail logic updates because if conversation is archived and widget tab is already closed, when user open it again, widget don't know the right status of the conversation and think always that is an active conversation
908
-
909
- ### 5.0.18.1 IN PROD
910
- - bug-fixed: property align not works when no one set it (WID-92)
911
- - bug-fixed: loading bounces not have same color of themeColor
912
- - bug-fixed: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value (WID-86)
913
- - bug-fixed: disabled horizontal resize for form-textarea component
914
- - changed: bubbleSentMessage gradiend from .5 to .8
915
- - changed: bubbleMessage border radius from 8px to 20px
916
- - added: management of keaboard tab button for preChatForm
917
- - added: widgetVer attributes property
918
- - added: hideSettings tiledesk property to hide/show settings icon in home (WID-80)
919
-
920
- ### 5.0.19-rc.5.1
921
- - bug-fixed: cannot find module environments/firebase-config in firebase-conversations-handler
922
-
923
- ### 5.0.19-rc.5
924
- - added: buttonBackgroundColor, buttonTextColor, buttonHoverBackgroundColor, buttonHoverTextColor tiledesk settings property to customize attachment buttons
925
- - changed: bubblemessage ui when single emojii is in message text
926
-
927
- ### 5.0.19-rc.4
928
- - bug-fixed: recipientId property from url was override by storage value (WID-87)
929
- - added: loader in iframe bubblemessage component (WID-53)
930
- - added: when user send/receive single emotion, it is showed without background and bigger than normal message text size
931
-
932
- ### 5.0.19-rc.3
933
- - changed: border-radius bubble-message (same as buttons)
934
- - added: enabled splitting messages into different message objects
935
-
936
- ### 5.0.19-rc.2
937
- - bug-fixed: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value
938
-
939
- ### 5.0.19-rc.1
940
- - added: if msg.type is 'html' enable possibility to render html code inside msg.text (WID-82)
941
- - added: hideSettings tiledesk property to hide/show settings icon in home (WID-80)
942
- - added: widgetVer attributes property in conversation (WID-79)
943
- - removed: title tag from return-receipt svg icons
944
- - removed: privacyField property from tiledesk settings and from components usage
945
- - bug-fixed: disabled horizontal resize for form-textarea component
946
- - bug-fixed: loading bounce don't have themeColor and foregroundColor right value as background and color css property (WID-84)
947
-
948
- ### 5.0.18 IN PROD
949
-
950
- ### 5.0.18-rc.13
951
- - bug-fixed: action button not show animation on button clicked if multiple action button is in DOM but show animation in previous action button
952
- - bug-fixed: when conversation menu-options is clicked, the focus is moved to footer and mobile keyboard opens
953
- - added: control if form-text name contains 'email' to show relative keyboard
954
- - removed: chat-message-attachment component in last-message component due to incompatibility with conversation object
955
- - changed: moved all info log to debug log expect for init and authenticated log event
956
- - changed: box shadow of launcher-button
957
-
958
- ### 5.0.18-rc.12
959
- - bug-fixed: if userFullname contains only one word, avatarPlaceholder function return null string
960
- - bug-fixed: form label property changed from 'value' to 'label' to support multilanguage
961
- - changed: action button attribute property changed from 'show_reply' to 'show_echo'
962
-
963
- ### 5.0.18-rc.11
964
- - bug-fixed: form textarea label not showed
965
- - bug-fixed: form textarea show error border also if regex is validated
966
- - bug-fixed: default value of bubbleSentTextColor and bubbleReceivedTextColor
905
+ - **bug-fixed**: ratingWidget component not shown because getConversationDetail fired multiple times and change isConversationArchived boolean value
906
+ - **bug-fixed**: tiledesk_singleConversation property not get right value
907
+
908
+ # 5.0.19-rc.6
909
+ - **added**: border to conversation-preview header
910
+ - **added**: singleConversation widget mode: if true and recipientId property IS NOT SET, widget loads the last active conversation by timestamp order; if true and recipientId property IS SET, widget loads current conversation
911
+ - **removed**: 'px' to image component dimensions
912
+ - **bug-fixed**: getConversationDetail logic updates because if conversation is archived and widget tab is already closed, when user open it again, widget don't know the right status of the conversation and think always that is an active conversation
913
+
914
+ # 5.0.18.1 IN PROD
915
+ - **bug-fixed**: property align not works when no one set it (WID-92)
916
+ - **bug-fixed**: loading bounces not have same color of themeColor
917
+ - **bug-fixed**: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value (WID-86)
918
+ - **bug-fixed**: disabled horizontal resize for form-textarea component
919
+ - **changed**: bubbleSentMessage gradiend from .5 to .8
920
+ - **changed**: bubbleMessage border radius from 8px to 20px
921
+ - **added**: management of keaboard tab button for preChatForm
922
+ - **added**: widgetVer attributes property
923
+ - **added**: hideSettings tiledesk property to hide/show settings icon in home (WID-80)
924
+
925
+ # 5.0.19-rc.5.1
926
+ - **bug-fixed**: cannot find module environments/firebase-config in firebase-conversations-handler
927
+
928
+ # 5.0.19-rc.5
929
+ - **added**: buttonBackgroundColor, buttonTextColor, buttonHoverBackgroundColor, buttonHoverTextColor tiledesk settings property to customize attachment buttons
930
+ - **changed**: bubblemessage ui when single emojii is in message text
931
+
932
+ # 5.0.19-rc.4
933
+ - **bug-fixed**: recipientId property from url was override by storage value (WID-87)
934
+ - **added**: loader in iframe bubblemessage component (WID-53)
935
+ - **added**: when user send/receive single emotion, it is showed without background and bigger than normal message text size
936
+
937
+ # 5.0.19-rc.3
938
+ - **changed**: border-radius bubble-message (same as buttons)
939
+ - **added**: enabled splitting messages into different message objects
940
+
941
+ # 5.0.19-rc.2
942
+ - **bug-fixed**: bubbleSentBackground and bubbleReceivedBackground errors while rgb color is passed as property value
943
+
944
+ # 5.0.19-rc.1
945
+ - **added**: if msg.type is 'html' enable possibility to render html code inside msg.text (WID-82)
946
+ - **added**: hideSettings tiledesk property to hide/show settings icon in home (WID-80)
947
+ - **added**: widgetVer attributes property in conversation (WID-79)
948
+ - **removed**: title tag from return-receipt svg icons
949
+ - **removed**: privacyField property from tiledesk settings and from components usage
950
+ - **bug-fixed**: disabled horizontal resize for form-textarea component
951
+ - **bug-fixed**: loading bounce don't have themeColor and foregroundColor right value as background and color css property (WID-84)
952
+
953
+ # 5.0.18 IN PROD
954
+
955
+ # 5.0.18-rc.13
956
+ - **bug-fixed**: action button not show animation on button clicked if multiple action button is in DOM but show animation in previous action button
957
+ - **bug-fixed**: when conversation menu-options is clicked, the focus is moved to footer and mobile keyboard opens
958
+ - **added**: control if form-text name contains 'email' to show relative keyboard
959
+ - **removed**: chat-message-attachment component in last-message component due to incompatibility with conversation object
960
+ - **changed**: moved all info log to debug log expect for init and authenticated log event
961
+ - **changed**: box shadow of launcher-button
962
+
963
+ 5.0.18-rc.12
964
+ - **bug-fixed**: if userFullname contains only one word, avatarPlaceholder function return null string
965
+ - **bug-fixed**: form label property changed from 'value' to 'label' to support multilanguage
966
+ - **changed**: action button attribute property changed from 'show_reply' to 'show_echo'
967
+
968
+ # 5.0.18-rc.11
969
+ - **bug-fixed**: form textarea label not showed
970
+ - **bug-fixed**: form textarea show error border also if regex is validated
971
+ - **bug-fixed**: default value of bubbleSentTextColor and bubbleReceivedTextColor
967
972
  - bug fixed: blur radius of shadow in laucher button reduced
968
973
 
969
- ### 5.0.18-rc.10
970
- - removed: border from widget
971
- - added: box-shadow to widget components and launcher-button component
972
- - added: programmatically set fontSize, fontColor & fontFamily to bubble message child components (buttons and text components)
973
- - added: programmatically set bubble message background and foreground color with bubbleSentBackground, bubbleReceivedBackground, bubbleSentTextColor, bubbleSentTextColor
974
- - added: programatically set message attachment buttons font size with buttonFontSize
975
- - added: linear gradient to bubble message background like conversation-header background
976
- - added: bubbleSentBackground, bubbleMsgReceivedBackground, bubbleSentTextColor, bubbleSentTextColor, fontSize, fontFamily , buttonFontSize as tiledesk parameters
977
- - added: invertColor function to programatically decide the text color (white or black) of message text based on background color
978
- - changed: hideTextReply and typeMessagePlaceholder attributes message key property renamed
979
- - changed: border radius of widget
980
- - bug-fixed: when HEX color is passed throw url or settings, getParameterByname return a boolean --> removed '#' and '|#|' from regex
981
- - bug-fixed: errorLabel object changed for form textarea component
982
-
983
- ### 5.0.18-rc.9
984
- - updated: star-rating-widget component UI
985
- - added: conversation-preview component while loading an attachment or onPaste event on footer textarea
986
-
987
- ### 5.0.18-rc.8
988
- - added: ability to insert a new line after the current position in the message text area by pressing the key combinations "ALT + ENTER", "CTRL + ENTER", "CMD + ENTER", "SHIFT + ENTER"
989
- - updated: chat21-core lib
990
- - updated: star-rating-widget component UI (in-progress)
991
-
992
- ### 5.0.18-rc.7
993
- - bug-fixed: on image/file received, managed conversation-list last-message field
994
- - bug-fixed: restored footer textarea if 'hideTextReply' changes
995
- - bug-fixed: restored default preChatFormJson if error occurred while rendering a field
996
- - bug-fixed: added loader while image msg is loaded (previously the loader was shown only in the case of a file type message)
997
- - bug-fixed: bubble message now get same width of image/iframe - (WID-74)
998
-
999
- ### 5.0.18-rc.6
1000
- - bug-fixed: on hover in form-textarea border-bottom disappeared
1001
- - bug-fixed: footer textarea did not activate again if msg.attributes.hideTextReply return to become false or undefined
1002
- - changed: footer div css when hideTextReply is TRUE -> background color added
1003
- - added: footer textarea placeholder when hideTextReply is TRUE
1004
- - added: 'accept-language-parser' plugin to parse label and errorLabel for preChatForm
1005
- - added: userFullname and userEmail property using 'updateUserEmail' 'updateUserEmail' property in msg attributes on newMessageAdded
1006
-
1007
- ### 5.0.18-rc.5
1008
- - bug-fixed: if 'type' property in preChatFormJson not exist, field was not rendered
1009
- - changed: renamed 'description' with 'value' for preChatFormJson with type 'label'
1010
- - changed: set 'type' with 'static' value for preChatFormJson static fields
1011
- - added: 'value' property to type: static
1012
- - added: 'GO TO TEST PAGE' in index.html page only for users different from agents
1013
-
1014
- ### 5.0.18-rc.4
1015
- - changed: if 'label' property in preChatFormJson not exist, set 'name' property as its value
1016
- - changed: if 'name' property in preChatFormJson not exist, not render form field
1017
- - changed: if 'type' property in preChatFormJson not exist, set 'text' as default value
1018
- - changed: renamed 'label' with 'description' for preChatFormJson with type 'label'
1019
- - added: 'rows' property to preChatFormJson for type: 'textarea'
1020
- - bug-fixed: preChatFormJson was not shown if preChatFormCustomFieldsEnabled was true
1021
-
1022
- ### 5.0.18-rc.3
1023
- - bug-fixed: form error label was shown only on the first press of the submit button
1024
- - changed: 'errorLabel' property in preChatFormJson (now has the same structure of 'label' property)
1025
- - changed: 'type' property value in preChatFormJson from 'string' to 'text' for input text form field
1026
- - added: case insensitive to 'type' property in preChatFormJson
1027
-
1028
- ### 5.0.18-rc.2
1029
- - bug-fixed: timestamp not changed in list-conversations
1030
- - bug-fixed: waiting_time_reply not translate time with the same language of previous string
1031
- - bug-fixed: timestamp in list-conversations has not the correct widget language
1032
- - bug-fixed: onImageLoaded and onConversationLoaded were not called
1033
- - changed: replace msg text with 'sent an image' or 'sent an attachment' string for last_message_text property value
1034
- - changed: avatar conversations color
1035
- - added: custom preChatFormJson, preChatFormJson and preChatFormCustomFieldsEnabled properties from widget remote object - (WID-64)
1036
- - added: getPreChatFormJson() and setPreChatFormJson(form) as javascript method
1037
- - added: validateRegex function to check for valid regex from preChatFormJson object
1038
-
1039
- ### 5.0.18-rc.1
1040
- - bug-fixed: userFullname passed from url not set correctly due to user info received after tiledesk auth response - (WID-68)
1041
- - removed: 2 unuseful log (app.component and localSessionStorage initialize)
1042
-
1043
- ### 5.0.17 - PROD
1044
-
1045
- ### 5.0.17-rc.5
1046
- - bug-fixed: while load widget test page, if change active tab, widget test page title flashes and show 1 conversation not read (also if all conversations are read) - (WID-63)
1047
- - bug-fixed: if widget is closed and receive an image, last-message component show 'Invalid date' as timestamp info message date ( WID-61)
1048
- - changed: onBeforeMessageSent and onAfterMessageSend events object
1049
-
1050
- ### 5.0.17-rc.4
1051
- - bug-fixed: senderFullname and recipientFullname parameters in sendSupportMessage function was undefined
1052
- - bug-fixed: on new conversation started not saved recipientId in appStorage
1053
- - bug-fixed: on logged out, widget restart from last conversation opened (this occur because globals stores 'recipiedId' --> cleaned parameter)
1054
- - bug-fixed: if calloutTimer not set (default is -1), if use showCallout() method, emojii was not shown
1055
- - changed: onBeforeMessageSent event is emitted after calc recipientFullname
1056
-
1057
- ### 5.0.17-beta.1 - NATIVE-MQTT
1058
-
1059
- ### 5.0.17-rc.3
1060
- - bug-fixed: endpoint parameter in mqtt.connect method in chat21clinet.js was hard-coded
1061
-
1062
- ### 5.0.17-rc.2
1063
- - changed: loggerService accept string value as logLevel input parameter
1064
- - changed: LogLevel const in constant.ts to map string in number
1065
- - updated: env, README.md and env.sample to accept string for logLevel property
1066
- - changed: removed mqtt lib from package.json and used specific version in chat21client.js
1067
- - changed: upload mqtt.min.js lib locally from assets/js/mqtt folder
1068
- - bug-fixed: iframe url is null -> changed metadata.url to metadata.src in if condition
1069
-
1070
- ### 5.0.17-rc.1
1071
- - bug-fixed: if widget is opened in two or more tabs and i send a message, it sounds in other tabs--> do not sound if i send a message
1072
- - bug-fixed: onPaste if text exceeded the minHeight, move send-button to left to not overflow the text-area scrool bar
1073
- - bug-fixed: image was rendered above bubble message while loading it
1074
- - bug-fixed: onAuthStateChanged not fired after signInWithCustomToken
1075
- - removed: triggerOnLoggedOut - triggerOnLoggedIn, endMessageRender() method
1076
-
1077
- ### 5.0.16 - PROD
1078
-
1079
- ### 5.0.16-rc.2
1080
- - bug-fixed: when user open a reopened chat, starRatingComponent was shown
1081
- - bug-fixed: undefined conversation.uid in firebase-conversations-handler and firebase-archivedconversations-handler services
1082
- - bug-fixed: align, language and fullScreenMode settings options undefined in index-dev
1083
- - bug-fixed: hideAllWidget() methos is undefined fot index-dev.html page --> now used hideWidget()
1084
- - changed: set isLogEnable default value in customLogger (before was assigned in constractor section)
1085
- - added: clear button to events text area in index-dev.html page
1086
-
1087
- ### 5.0.16-rc.1
1088
- - changed: improved tiledesk script spaces
1089
-
1090
- ### 5.0.0-beta.3.15
1091
- - bug-fixed: archived conversation was removed when user viewed its detail for the first time
1092
- - added: paste event on conversation-footer only for image file type
1093
- - changed: new Tiledesk logo in poweredBy footer html code
1094
-
1095
- ### 5.0.0-beta.3.14
1096
- - bug-fixed: badgeNumberConversation is 0
1097
- - changed: remoteConfig of env.pre.ts to false
1098
-
1099
- ### 5.0.0-beta.3.13
1100
- - bug-fixed: same user after log out --> mqtt-auth not publish BSSignOut
1101
- - added: isLogEnabled parameter from url/tiledeskSettings in customLogger
1102
- - adeed: queue initilialization in index.html page
1103
- - changed: renamed hideConversationOptionsMenu tiledeskSetting with hideHeaderConversationOptionsMenu
1104
- - changed: method name of customLogger
1105
- - changed: refactoring log method in components and levels struct
1106
- - removed: startMessage, userPassword, isLogoutEnabled tiledesksettings properties
1107
- - removed: from app.config userEmail && userPassword auth method
1108
-
1109
- ### 5.0.0-beta.3.12 - NATIVE-MQTT
1110
- - updated: mqtt.min.js lib to 2.4.8
1111
- - updated: mqtt service classes
1112
-
1113
- ### 5.0.0-beta.3.11
1114
- - added: hideConversationOptionsMenu tiledeskSetting property to manage options menu in conversation header
1115
- - added: fileUploadAccept property in env to manage type of file attachment to upload in conversation-footer
1116
- - added: type property in conversation model
1117
- - changed: set themeColor for bounce in conversation-content while load data
1118
- - changed: set label loagind for bounce in conversation-content while load data
1119
- - bug-fixed: flashing of message when changes status--> removed slide-in-right and slide-in-left class style animation
1120
- - bug-fixed: custom baloonImage moved from div to img tag
1121
- - bug-fixed: text message in conversation-footer obscure the content if text is more than 1 line
1122
-
1123
- ### 5.0.0-beta.3.10
1124
- - added: logLevel tiledeskSetting property to manage log
1125
- - added: enabled chance to open widget into a specific conv by url with tiledesk_recipientid
1126
- - changed: removed activeConversation json from storage and saved only uid with 'PREFIX_recipientId' key
1127
- - bug-fixed: window.Tiledesk.q undefined in launch.js
1128
-
1129
- ### 5.0.0-beta.3.9
1130
- - added: fade-in animation when open chat-internal-frame component for self action button
1131
- - added: title in chat-internal-frame header component
1132
- - bug-fixed: markdown rendering moved from sender to receiver --> added htmlEntitiesEncode pipe to chat-text component
1133
- - bug-fixed: chat-list-conversations last_message_text --> now not used innerHTML to render message in list
1134
- - added: LoggerService used in component (not conversationDetail component yet)
1135
- - added: async methods and events invocation of the Widget (call test-new.html) -> in progress
1136
-
1137
- ### 5.0.0-beta.3.8
1138
- - bug-fix: logger is undefined while load image in firebase-upload service
1139
-
1140
- ### 5.0.0-beta.3.7
1141
- - bug-fixed: tiledesk-container showed with short dimension for ms on refresh --> removed showWidget() from signInWithCustomToken()
1142
- - added: css for chat-department component in list on hover
1143
- - changed: print of logger in firebase services to better understand source log component/service
1144
-
1145
- ### 5.0.0-beta.3.6 - NATIVE-MQTT
1146
- - removed: WELCOME translate property --> only used in chat-menu-option
1147
- - updated: mqtt services
1148
- - bug-fixed: native upload service --> removed encodeUri when load image
1149
-
1150
- ### 5.0.0-beta.3.5
1151
- - bug-fix: mgs trimmed on sendMessage method when user send a message
1152
- - bug-fix: removed black color from components header and used 'colorGradient' from globals settings
1153
- - bug-fix: native-upload when load files tha contains white space in their name--> encodeUri fixed bug
1154
- - bug-fix: on signOut, authenticate the same user --> clean g.tiledeskToken
1155
- - bug-fix: on signOut, prechatForm not shown --> clan userFullname and userEmail from globals.attributes and globals.userFullname, globals.userEmail
1156
- - changed: now load svg file as a file, not as an image type
1157
- -removed: showWidgetNameInConversation from tiledeskSetting (used in chat-conversation-footer to set recipientFullname += '-' + widgetTitle)
1158
- - added: openExternalLinkButton tiledeskSettings property to manage self action link button from bot
1159
-
1160
- ### 5.0.0-beta.3.4
1161
- - added: soundEnabled, launcherWidth, launcherHeight, baloonImage, baloonShape tiledeskSettings property
1162
- - changed: behavior of footer while loading image/file --> not is ever active also while uploading
1163
- - added: fake bubble message while loading: NOT ACTIVE YET
1164
- - added: internal-frame component for self button url
974
+ # 5.0.18-rc.10
975
+ - **removed**: border from widget
976
+ - **added**: box-shadow to widget components and launcher-button component
977
+ - **added**: programmatically set fontSize, fontColor & fontFamily to bubble message child components (buttons and text components)
978
+ - **added**: programmatically set bubble message background and foreground color with bubbleSentBackground, bubbleReceivedBackground, bubbleSentTextColor, bubbleSentTextColor
979
+ - **added**: programatically set message attachment buttons font size with buttonFontSize
980
+ - **added**: linear gradient to bubble message background like conversation-header background
981
+ - **added**: bubbleSentBackground, bubbleMsgReceivedBackground, bubbleSentTextColor, bubbleSentTextColor, fontSize, fontFamily , buttonFontSize as tiledesk parameters
982
+ - **added**: invertColor function to programatically decide the text color (white or black) of message text based on background color
983
+ - **changed**: hideTextReply and typeMessagePlaceholder attributes message key property renamed
984
+ - **changed**: border radius of widget
985
+ - **bug-fixed**: when HEX color is passed throw url or settings, getParameterByname return a boolean --> removed '#' and '|#|' from regex
986
+ - **bug-fixed**: errorLabel object changed for form textarea component
987
+
988
+ # 5.0.18-rc.9
989
+ - **updated**: star-rating-widget component UI
990
+ - **added**: conversation-preview component while loading an attachment or onPaste event on footer textarea
991
+
992
+ # 5.0.18-rc.8
993
+ - **added**: ability to insert a new line after the current position in the message text area by pressing the key combinations "ALT + ENTER", "CTRL + ENTER", "CMD + ENTER", "SHIFT + ENTER"
994
+ - **updated**: chat21-core lib
995
+ - **updated**: star-rating-widget component UI (in-progress)
996
+
997
+ # 5.0.18-rc.7
998
+ - **bug-fixed**: on image/file received, managed conversation-list last-message field
999
+ - **bug-fixed**: restored footer textarea if 'hideTextReply' changes
1000
+ - **bug-fixed**: restored default preChatFormJson if error occurred while rendering a field
1001
+ - **bug-fixed**: added loader while image msg is loaded (previously the loader was shown only in the case of a file type message)
1002
+ - **bug-fixed**: bubble message now get same width of image/iframe - (WID-74)
1003
+
1004
+ # 5.0.18-rc.6
1005
+ - **bug-fixed**: on hover in form-textarea border-bottom disappeared
1006
+ - **bug-fixed**: footer textarea did not activate again if msg.attributes.hideTextReply return to become false or undefined
1007
+ - **changed**: footer div css when hideTextReply is TRUE -> background color added
1008
+ - **added**: footer textarea placeholder when hideTextReply is TRUE
1009
+ - **added**: 'accept-language-parser' plugin to parse label and errorLabel for preChatForm
1010
+ - **added**: userFullname and userEmail property using 'updateUserEmail' 'updateUserEmail' property in msg attributes on newMessageAdded
1011
+
1012
+ # 5.0.18-rc.5
1013
+ - **bug-fixed**: if 'type' property in preChatFormJson not exist, field was not rendered
1014
+ - **changed**: renamed 'description' with 'value' for preChatFormJson with type 'label'
1015
+ - **changed**: set 'type' with 'static' value for preChatFormJson static fields
1016
+ - **added**: 'value' property to type: static
1017
+ - **added**: 'GO TO TEST PAGE' in index.html page only for users different from agents
1018
+
1019
+ # 5.0.18-rc.4
1020
+ - **changed**: if 'label' property in preChatFormJson not exist, set 'name' property as its value
1021
+ - **changed**: if 'name' property in preChatFormJson not exist, not render form field
1022
+ - **changed**: if 'type' property in preChatFormJson not exist, set 'text' as default value
1023
+ - **changed**: renamed 'label' with 'description' for preChatFormJson with type 'label'
1024
+ - **added**: 'rows' property to preChatFormJson for type: 'textarea'
1025
+ - **bug-fixed**: preChatFormJson was not shown if preChatFormCustomFieldsEnabled was true
1026
+
1027
+ # 5.0.18-rc.3
1028
+ - **bug-fixed**: form error label was shown only on the first press of the submit button
1029
+ - **changed**: 'errorLabel' property in preChatFormJson (now has the same structure of 'label' property)
1030
+ - **changed**: 'type' property value in preChatFormJson from 'string' to 'text' for input text form field
1031
+ - **added**: case insensitive to 'type' property in preChatFormJson
1032
+
1033
+ # 5.0.18-rc.2
1034
+ - **bug-fixed**: timestamp not changed in list-conversations
1035
+ - **bug-fixed**: waiting_time_reply not translate time with the same language of previous string
1036
+ - **bug-fixed**: timestamp in list-conversations has not the correct widget language
1037
+ - **bug-fixed**: onImageLoaded and onConversationLoaded were not called
1038
+ - **changed**: replace msg text with 'sent an image' or 'sent an attachment' string for last_message_text property value
1039
+ - **changed**: avatar conversations color
1040
+ - **added**: custom preChatFormJson, preChatFormJson and preChatFormCustomFieldsEnabled properties from widget remote object - (WID-64)
1041
+ - **added**: getPreChatFormJson() and setPreChatFormJson(form) as javascript method
1042
+ - **added**: validateRegex function to check for valid regex from preChatFormJson object
1043
+
1044
+ # 5.0.18-rc.1
1045
+ - **bug-fixed**: userFullname passed from url not set correctly due to user info received after tiledesk auth response - (WID-68)
1046
+ - **removed**: 2 unuseful log (app.component and localSessionStorage initialize)
1047
+
1048
+ # 5.0.17 - PROD
1049
+
1050
+ # 5.0.17-rc.5
1051
+ - **bug-fixed**: while load widget test page, if change active tab, widget test page title flashes and show 1 conversation not read (also if all conversations are read) - (WID-63)
1052
+ - **bug-fixed**: if widget is closed and receive an image, last-message component show 'Invalid date' as timestamp info message date ( WID-61)
1053
+ - **changed**: onBeforeMessageSent and onAfterMessageSend events object
1054
+
1055
+ # 5.0.17-rc.4
1056
+ - **bug-fixed**: senderFullname and recipientFullname parameters in sendSupportMessage function was undefined
1057
+ - **bug-fixed**: on new conversation started not saved recipientId in appStorage
1058
+ - **bug-fixed**: on logged out, widget restart from last conversation opened (this occur because globals stores 'recipiedId' --> cleaned parameter)
1059
+ - **bug-fixed**: if calloutTimer not set (default is -1), if use showCallout() method, emojii was not shown
1060
+ - **changed**: onBeforeMessageSent event is emitted after calc recipientFullname
1061
+
1062
+ # 5.0.17-beta.1 - NATIVE-MQTT
1063
+
1064
+ # 5.0.17-rc.3
1065
+ - **bug-fixed**: endpoint parameter in mqtt.connect method in chat21clinet.js was hard-coded
1066
+
1067
+ # 5.0.17-rc.2
1068
+ - **changed**: loggerService accept string value as logLevel input parameter
1069
+ - **changed**: LogLevel const in constant.ts to map string in number
1070
+ - **updated**: env, README.md and env.sample to accept string for logLevel property
1071
+ - **changed**: removed mqtt lib from package.json and used specific version in chat21client.js
1072
+ - **changed**: upload mqtt.min.js lib locally from assets/js/mqtt folder
1073
+ - **bug-fixed**: iframe url is null -> changed metadata.url to metadata.src in if condition
1074
+
1075
+ # 5.0.17-rc.1
1076
+ - **bug-fixed**: if widget is opened in two or more tabs and i send a message, it sounds in other tabs--> do not sound if i send a message
1077
+ - **bug-fixed**: onPaste if text exceeded the minHeight, move send-button to left to not overflow the text-area scrool bar
1078
+ - **bug-fixed**: image was rendered above bubble message while loading it
1079
+ - **bug-fixed**: onAuthStateChanged not fired after signInWithCustomToken
1080
+ - **removed**: triggerOnLoggedOut - triggerOnLoggedIn, endMessageRender() method
1081
+
1082
+ # 5.0.16 - PROD
1083
+
1084
+ # 5.0.16-rc.2
1085
+ - **bug-fixed**: when user open a reopened chat, starRatingComponent was shown
1086
+ - **bug-fixed**: undefined conversation.uid in firebase-conversations-handler and firebase-archivedconversations-handler services
1087
+ - **bug-fixed**: align, language and fullScreenMode settings options undefined in index-dev
1088
+ - **bug-fixed**: hideAllWidget() methos is undefined fot index-dev.html page --> now used hideWidget()
1089
+ - **changed**: set isLogEnable default value in customLogger (before was assigned in constractor section)
1090
+ - **added**: clear button to events text area in index-dev.html page
1091
+
1092
+ # 5.0.16-rc.1
1093
+ - **changed**: improved tiledesk script spaces
1094
+
1095
+ # 5.0.0-beta.3.15
1096
+ - **bug-fixed**: archived conversation was removed when user viewed its detail for the first time
1097
+ - **added**: paste event on conversation-footer only for image file type
1098
+ - **changed**: new Tiledesk logo in poweredBy footer html code
1099
+
1100
+ # 5.0.0-beta.3.14
1101
+ - **bug-fixed**: badgeNumberConversation is 0
1102
+ - **changed**: remoteConfig of env.pre.ts to false
1103
+
1104
+ # 5.0.0-beta.3.13
1105
+ - **bug-fixed**: same user after log out --> mqtt-auth not publish BSSignOut
1106
+ - **added**: isLogEnabled parameter from url/tiledeskSettings in customLogger
1107
+ - **added**: queue initilialization in index.html page
1108
+ - **changed**: renamed hideConversationOptionsMenu tiledeskSetting with hideHeaderConversationOptionsMenu
1109
+ - **changed**: method name of customLogger
1110
+ - **changed**: refactoring log method in components and levels struct
1111
+ - **removed**: startMessage, userPassword, isLogoutEnabled tiledesksettings properties
1112
+ - **removed**: from app.config userEmail && userPassword auth method
1113
+
1114
+ # 5.0.0-beta.3.12 - NATIVE-MQTT
1115
+ - **updated**: mqtt.min.js lib to 2.4.8
1116
+ - **updated**: mqtt service classes
1117
+
1118
+ # 5.0.0-beta.3.11
1119
+ - **added**: hideConversationOptionsMenu tiledeskSetting property to manage options menu in conversation header
1120
+ - **added**: fileUploadAccept property in env to manage type of file attachment to upload in conversation-footer
1121
+ - **added**: type property in conversation model
1122
+ - **changed**: set themeColor for bounce in conversation-content while load data
1123
+ - **changed**: set label loagind for bounce in conversation-content while load data
1124
+ - **bug-fixed**: flashing of message when changes status--> removed slide-in-right and slide-in-left class style animation
1125
+ - **bug-fixed**: custom baloonImage moved from div to img tag
1126
+ - **bug-fixed**: text message in conversation-footer obscure the content if text is more than 1 line
1127
+
1128
+ # 5.0.0-beta.3.10
1129
+ - **added**: logLevel tiledeskSetting property to manage log
1130
+ - **added**: enabled chance to open widget into a specific conv by url with tiledesk_recipientid
1131
+ - **changed**: removed activeConversation json from storage and saved only uid with 'PREFIX_recipientId' key
1132
+ - **bug-fixed**: window.Tiledesk.q undefined in launch.js
1133
+
1134
+ # 5.0.0-beta.3.9
1135
+ - **added**: fade-in animation when open chat-internal-frame component for self action button
1136
+ - **added**: title in chat-internal-frame header component
1137
+ - **bug-fixed**: markdown rendering moved from sender to receiver --> added htmlEntitiesEncode pipe to chat-text component
1138
+ - **bug-fixed**: chat-list-conversations last_message_text --> now not used innerHTML to render message in list
1139
+ - **added**: LoggerService used in component (not conversationDetail component yet)
1140
+ - **added**: async methods and events invocation of the Widget (call test-new.html) -> in progress
1141
+
1142
+ # 5.0.0-beta.3.8
1143
+ - **bug-fixed**: logger is undefined while load image in firebase-upload service
1144
+
1145
+ # 5.0.0-beta.3.7
1146
+ - **bug-fixed**: tiledesk-container showed with short dimension for ms on refresh --> removed showWidget() from signInWithCustomToken()
1147
+ - **added**: css for chat-department component in list on hover
1148
+ - **changed**: print of logger in firebase services to better understand source log component/service
1149
+
1150
+ # 5.0.0-beta.3.6 - NATIVE-MQTT
1151
+ - **removed**: WELCOME translate property --> only used in chat-menu-option
1152
+ - **updated**: mqtt services
1153
+ - **bug-fixed**: native upload service --> removed encodeUri when load image
1154
+
1155
+ # 5.0.0-beta.3.5
1156
+ - **bug-fixed**: mgs trimmed on sendMessage method when user send a message
1157
+ - **bug-fixed**: removed black color from components header and used 'colorGradient' from globals settings
1158
+ - **bug-fixed**: native-upload when load files tha contains white space in their name--> encodeUri fixed bug
1159
+ - **bug-fixed**: on signOut, authenticate the same user --> clean g.tiledeskToken
1160
+ - **bug-fixed**: on signOut, prechatForm not shown --> clan userFullname and userEmail from globals.attributes and globals.userFullname, globals.userEmail
1161
+ - **changed**: now load svg file as a file, not as an image type
1162
+ -**removed**: showWidgetNameInConversation from tiledeskSetting (used in chat-conversation-footer to set recipientFullname += '-' + widgetTitle)
1163
+ - **added**: openExternalLinkButton tiledeskSettings property to manage self action link button from bot
1164
+
1165
+ # 5.0.0-beta.3.4
1166
+ - **added**: soundEnabled, launcherWidth, launcherHeight, baloonImage, baloonShape tiledeskSettings property
1167
+ - **changed**: behavior of footer while loading image/file --> not is ever active also while uploading
1168
+ - **added**: fake bubble message while loading: NOT ACTIVE YET
1169
+ - **added**: internal-frame component for self button url
1165
1170
  - bug fixed: markdown behavior externalied from service classes
1166
1171
 
1167
- ### 5.0.0-beta.3.3
1168
- - bug-fix: rating page not shown while archive mqtt conv
1169
- - bug-fix: last message shown on refresh for mqtt engine
1172
+ # 5.0.0-beta.3.3
1173
+ - **bug-fixed**: rating page not shown while archive mqtt conv
1174
+ - **bug-fixed**: last message shown on refresh for mqtt engine
1170
1175
  - added. avatar-image, message-attachment components inside last-message component
1171
1176
 
1172
- ### 5.0.0-beta.3.2
1173
- - bug-fix: eyeeye-catcher card called once
1174
- - added: skipInfoMessage parameter for MQTTConversationHanlderService
1175
- - added: placeholder while image loading
1176
- - added: native-image-repo Service
1177
+ # 5.0.0-beta.3.2
1178
+ - **bug-fixed**: eyeeye-catcher card called once
1179
+ - **added**: skipInfoMessage parameter for MQTTConversationHanlderService
1180
+ - **added**: placeholder while image loading
1181
+ - **added**: native-image-repo Service
1177
1182
 
1178
- ### 5.0.0-beta.3.1 - NATIVE-MQTT
1183
+ # 5.0.0-beta.3.1 - NATIVE-MQTT
1179
1184
  - updated: MQTT and FIREBASE services classes
1180
- - added: visibilityChange method to manage title and sound
1181
- - removed: old implementation of sound
1185
+ - **added**: visibilityChange method to manage title and sound
1186
+ - **removed**: old implementation of sound
1182
1187
  - bug fixed: wrong number of badge shown when widget is closed
1183
1188
 
1184
- ### 5.0.0-beta.3.0 - FIREBASE
1185
- - bug-fix: startWith of undefined in utils in chat21-core
1186
- - bug-fix: isInfo of undefined in utils-message in chat21-core
1187
-
1188
- ### 5.0.0-beta.2.9
1189
- - changed: enabled sound on New message and on conversationChanged
1190
- - changed: uuid is now without '-'
1191
- - added: image icon if conv.type is image in list-conversations
1192
-
1193
- ### 5.0.0-beta.2.8
1194
- - bug-fix: customToken from url
1195
- - removed: headerDate from messageModel
1196
- - bug-fix: set userFullname e userEmail parameter on signInAnonymously
1197
- - bug-fix: set userFullname e userEmail parameter on prechatForm
1198
- - added: uploadService, native-UploadService, groupsHandlerService, appStorageService
1199
- - changed: uid for new conversation -> now is 'support-group-' + projectId + uuid()
1189
+ # 5.0.0-beta.3.0 - FIREBASE
1190
+ - **bug-fixed**: startWith of undefined in utils in chat21-core
1191
+ - **bug-fixed**: isInfo of undefined in utils-message in chat21-core
1192
+
1193
+ # 5.0.0-beta.2.9
1194
+ - **changed**: enabled sound on New message and on conversationChanged
1195
+ - **changed**: uuid is now without '-'
1196
+ - **added**: image icon if conv.type is image in list-conversations
1197
+
1198
+ # 5.0.0-beta.2.8
1199
+ - **bug-fixed**: customToken from url
1200
+ - **removed**: headerDate from messageModel
1201
+ - **bug-fixed**: set userFullname e userEmail parameter on signInAnonymously
1202
+ - **bug-fixed**: set userFullname e userEmail parameter on prechatForm
1203
+ - **added**: uploadService, native-UploadService, groupsHandlerService, appStorageService
1204
+ - **changed**: uid for new conversation -> now is 'support-group-' + projectId + uuid()
1200
1205
  - updated: MQTT and FIREBASE services classes
1201
- - removed: deleted sendMessage2 and references of AuthService2
1202
-
1203
- ### 5.0.0-beta.2.7
1204
- - bug-fix: scrollToButtom function undefined on badgeScroollToBottom in conversation component
1205
- - bug-fix: attributes.payload undefined if customAttributes not valorized
1206
- - bug-fix: updateConversationBadge on conversationChanged
1207
- - bug-fix: icon sender as swg
1206
+ - **removed**: deleted sendMessage2 and references of AuthService2
1208
1207
 
1208
+ # 5.0.0-beta.2.7
1209
+ - **bug-fixed**: scrollToButtom function undefined on badgeScroollToBottom in conversation component
1210
+ - **bug-fixed**: attributes.payload undefined if customAttributes not valorized
1211
+ - **bug-fixed**: updateConversationBadge on conversationChanged
1212
+ - **bug-fixed**: icon sender as swg
1209
1213
 
1210
- ### 5.0.0-beta.2.6
1211
- - bug-fix: translation error with /assets/ pages (ex. Tiledesk visitor page)
1212
- - bug-fix: after archived a converversation when open new conversation always show rating component
1213
- - bug-fix: conversationBadge not show when refresh closed widget
1214
- - bug-fix: prechat form shown always, not only the first time
1215
- - change: startFromHome behavior changed (now if closed, open new conversation or saved conversation from storage)
1216
1214
 
1217
- - add: new sendMessage2 with attributes at runtime
1215
+ # 5.0.0-beta.2.6
1216
+ - **bug-fixed**: translation error with /assets/ pages (ex. Tiledesk visitor page)
1217
+ - **bug-fixed**: after archived a converversation when open new conversation always show rating component
1218
+ - **bug-fixed**: conversationBadge not show when refresh closed widget
1219
+ - **bug-fixed**: prechat form shown always, not only the first time
1220
+ - **changed**: startFromHome behavior changed (now if closed, open new conversation or saved conversation from storage)
1221
+ - **added**: new sendMessage2 with attributes at runtime
1218
1222
 
1219
1223
 
1220
- ### 5.0.0-beta.2.5
1221
- - bug-fix: typing when open conversation-detail if last message was sent by agent
1222
- - bug-fix: if new message arrived in conversation-detail and scrollDiv is at the end -> update is_new conversation attributes
1223
- - bug-fix: merge local with remote translations
1224
- - change: if last message came from user, show 'YOU' label in list-conversations
1225
- - added: info-message component for attributes.subtype message of type 'info/support'
1224
+ # 5.0.0-beta.2.5
1225
+ - **bug-fixed**: typing when open conversation-detail if last message was sent by agent
1226
+ - **bug-fixed**: if new message arrived in conversation-detail and scrollDiv is at the end -> update is_new conversation attributes
1227
+ - **bug-fixed**: merge local with remote translations
1228
+ - **changed**: if last message came from user, show 'YOU' label in list-conversations
1229
+ - **added**: info-message component for attributes.subtype message of type 'info/support'
1226
1230
 
1227
1231
  # chat21-web-widget ver 4.0
1228
1232
 
1229
- ### 4.0.90
1230
- - bug-fix: save new conversation in local storage
1233
+ # 4.0.90
1234
+ - **bug-fixed**: save new conversation in local storage
1231
1235
 
1232
- ### 4.0.89
1233
- - bug-fix: new message on startFromHome false only when chat is opened
1234
- - change: disabled soundMessage
1236
+ # 4.0.89
1237
+ - **bug-fixed**: new message on startFromHome false only when chat is opened
1238
+ - **changed**: disabled soundMessage
1235
1239
 
1236
- ### 4.0.88
1237
- - bug-fix: Cannot read property 'g' of undefined
1240
+ # 4.0.88
1241
+ - **bug-fixed**: Cannot read property 'g' of undefined
1238
1242
 
1239
- ### 4.0.87
1240
- - bug-fix: sound on new message
1243
+ # 4.0.87
1244
+ - **bug-fixed**: sound on new message
1241
1245
 
1242
- ### 4.0.86
1243
- - bug-fix: css logo and favicon in assets/twp/index.html
1244
- - change: shown callout only the first time
1246
+ # 4.0.86
1247
+ - **bug-fixed**: css logo and favicon in assets/twp/index.html
1248
+ - **changed**: shown callout only the first time
1245
1249
 
1246
- ### 4.0.85
1247
- - bug-fix: width balloon message received
1250
+ # 4.0.85
1251
+ - **bug-fixed**: width balloon message received
1248
1252
 
1249
- ### 4.0.84
1250
- - bug-fix: align widget left/right mobile/desktop
1253
+ # 4.0.84
1254
+ - **bug-fixed**: align widget left/right mobile/desktop
1251
1255
 
1252
- ### 4.0.83
1253
- - bug-fix: markdown on send messages
1254
- - bug-fix: icon on url message
1255
- - bug-fix: css with markdown actived
1256
- - bug-fix: max-width iframe
1256
+ # 4.0.83
1257
+ - **bug-fixed**: markdown on send messages
1258
+ - **bug-fixed**: icon on url message
1259
+ - **bug-fixed**: css with markdown actived
1260
+ - **bug-fixed**: max-width iframe
1257
1261
 
1258
- ### 4.0.82
1259
- - bug-fix: markdown on received messages
1262
+ # 4.0.82
1263
+ - **bug-fixed**: markdown on received messages
1260
1264
 
1261
- ### 4.0.81
1265
+ # 4.0.81
1262
1266
  - new: added type message 'iframe'
1263
1267
 
1264
- ### 4.0.80
1265
- - bug-fix: activeConversation undefined in local storage
1268
+ # 4.0.80
1269
+ - **bug-fixed**: activeConversation undefined in local storage
1266
1270
 
1267
- ### 4.0.79
1268
- - bug-fix: changed min-height buttons in message
1271
+ # 4.0.79
1272
+ - **bug-fixed**: changed min-height buttons in message
1269
1273
 
1270
- ### 4.0.78
1271
- - bug-fix: bug css align callout left
1272
- - bug-fix: bug css width line text on mobile device
1274
+ # 4.0.78
1275
+ - **bug-fixed**: bug css align callout left
1276
+ - **bug-fixed**: bug css width line text on mobile device
1273
1277
  - new: installed emoji-regex
1274
- - bug-fix: first character in the callout field
1275
- - change: show link button in all messages not only on the last one
1278
+ - **bug-fixed**: first character in the callout field
1279
+ - **changed**: show link button in all messages not only on the last one
1276
1280
 
1277
- ### 4.0.77
1281
+ # 4.0.77
1278
1282
  - new: changed css of the message with a single emoticon
1279
1283
  - new: open widget on the last conversation
1280
1284
 
1281
- ### 4.0.76
1285
+ # 4.0.76
1282
1286
  - new: added target self, parent, blank in button message
1283
1287
 
1284
- ### 4.0.75
1288
+ # 4.0.75
1285
1289
  - new: added emoticon as the first character in the callout field
1286
1290
 
1287
- ### 4.0.74
1288
- - bug-fix: disabled auto zoom in input 'Text' - Safari on iPhone
1289
- - change: enabled callout on mobile device
1291
+ # 4.0.74
1292
+ - **bug-fixed**: disabled auto zoom in input 'Text' - Safari on iPhone
1293
+ - **changed**: enabled callout on mobile device
1290
1294
 
1291
- ### 4.0.73
1292
- - bug-fix: resized image (sent in message) with attribute size
1295
+ # 4.0.73
1296
+ - **bug-fixed**: resized image (sent in message) with attribute size
1293
1297
 
1294
- ### 4.0.72
1298
+ # 4.0.72
1295
1299
  - new: send message on action button
1296
1300
 
1297
- ### 4.0.71
1298
- - change: changed animation and css in link and action buttons
1299
- - change: changed widget logo logic (now: nologo or url image)
1301
+ # 4.0.71
1302
+ - **changed**: changed animation and css in link and action buttons
1303
+ - **changed**: changed widget logo logic (now: nologo or url image)
1300
1304
 
1301
- ### 4.0.70
1305
+ # 4.0.70
1302
1306
  - new: added link and action buttons
1303
1307
 
1304
- ### 4.0.69
1305
- - change: remoteConfig: true
1308
+ # 4.0.69
1309
+ - **changed**: remoteConfig: true
1306
1310
 
1307
- ### 4.0.68
1308
- - bug-fix: load remoteConfigUrl with HttpClient
1309
- - bug-fix: logo widget max width
1310
- - bug-fix: console.log
1311
+ # 4.0.68
1312
+ - **bug-fixed**: load remoteConfigUrl with HttpClient
1313
+ - **bug-fixed**: logo widget max width
1314
+ - **bug-fixed**: console.log
1311
1315
 
1312
- ### 4.0.67
1313
- - bug-fix: load remoteConfigUrl
1314
- - bug-fix: avatar logo widget
1316
+ # 4.0.67
1317
+ - **bug-fixed**: load remoteConfigUrl
1318
+ - **bug-fixed**: avatar logo widget
1315
1319
 
1316
- ### 4.0.66
1317
- - bug-fix: showAttachmentButton
1318
- - change: added baseurl to remoteConfigUrl
1320
+ # 4.0.66
1321
+ - **bug-fixed**: showAttachmentButton
1322
+ - **changed**: added baseurl to remoteConfigUrl
1319
1323
 
1320
- ### 4.0.65
1321
- - bug-fix: logo widget
1324
+ # 4.0.65
1325
+ - **bug-fixed**: logo widget
1322
1326
 
1323
- ### 4.0.64
1324
- - changed: send event "201" on first auth
1327
+ # 4.0.64
1328
+ - **changed**: send event "201" on first auth
1325
1329
 
1326
- ### 4.0.63
1327
- - bug-fix: badge conversations
1330
+ # 4.0.63
1331
+ - **bug-fixed**: badge conversations
1328
1332
 
1329
- ### 4.0.62
1330
- - bug-fix: logo widget
1331
- - bug-fix: sound on new message
1333
+ # 4.0.62
1334
+ - **bug-fixed**: logo widget
1335
+ - **bug-fixed**: sound on new message
1332
1336
 
1333
- ### 4.0.61
1334
- - bug-fix: typing not work
1337
+ # 4.0.61
1338
+ - **bug-fixed**: typing not work
1335
1339
 
1336
- ### 4.0.60
1337
- - change: added "event", "isLogged", "user_id" (in attributes) to triggerOnAuthStateChanged
1340
+ # 4.0.60
1341
+ - **changed**: added "event", "isLogged", "user_id" (in attributes) to triggerOnAuthStateChanged
1338
1342
 
1339
- ### 4.0.59
1340
- - bug-fix: show widget in index.html
1343
+ # 4.0.59
1344
+ - **bug-fixed**: show widget in index.html
1341
1345
 
1342
- ### 4.0.58
1346
+ # 4.0.58
1343
1347
  - new: added trigger onConversationUpdated
1344
1348
 
1345
- ### 4.0.57
1349
+ # 4.0.57
1346
1350
  - new: added check isValid to conversation list
1347
- - change: changed notification sound
1348
- - bug-fix: changed message error (firebase config is not defined in firebase-config.json...)
1349
- - bug-fix: fixed error with startFromHome:false and notification new message
1350
- - bug-fix: fixed error link on "go to console"
1351
+ - **changed**: changed notification sound
1352
+ - **bug-fixed**: changed message error (firebase config is not defined in firebase-config.json...)
1353
+ - **bug-fixed**: fixed error with startFromHome:false and notification new message
1354
+ - **bug-fixed**: fixed error link on "go to console"
1351
1355
  - new: added trigger onMessageCreated
1352
1356
 
1353
- ### 4.0.54
1354
- - bug-fix: log
1357
+ # 4.0.54
1358
+ - **bug-fixed**: log
1355
1359
 
1356
- ### 4.0.51
1357
- - bug-fix: read remoteConfigUrl from widget-config
1360
+ # 4.0.51
1361
+ - **bug-fixed**: read remoteConfigUrl from widget-config
1358
1362
 
1359
- ### 4.0.50
1363
+ # 4.0.50
1360
1364
  - new: added ipAddress in attributes
1361
1365
 
1362
- ### 4.0.49
1363
- - bug-fix: show widget with startHidden true
1366
+ # 4.0.49
1367
+ - **bug-fixed**: show widget with startHidden true
1364
1368
 
1365
- ### 4.0.48
1369
+ # 4.0.48
1366
1370
  - new: added startHidden
1367
1371
 
1368
- ### 4.0.47
1372
+ # 4.0.47
1369
1373
  - new: added privacy policy
1370
1374
 
1371
- ### 4.0.46A
1372
- - bug-fix: right alignment of the buttons
1375
+ # 4.0.46A
1376
+ - **bug-fixed**: right alignment of the buttons
1373
1377
 
1374
- ### 4.0.46
1375
- - bug-fix: test_widget_page responsive
1378
+ # 4.0.46
1379
+ - **bug-fixed**: test_widget_page responsive
1376
1380
 
1377
- ### 4.0.45G
1378
- - bug-fix: close mobile tooltip
1379
- - bug-fix: fixed error on tooltip configuration
1380
- - bug-fix: order buttons in message
1381
+ # 4.0.45G
1382
+ - **bug-fixed**: close mobile tooltip
1383
+ - **bug-fixed**: fixed error on tooltip configuration
1384
+ - **bug-fixed**: order buttons in message
1381
1385
 
1382
- ### 4.0.45C
1383
- - bug-fix: customize css tooltip
1386
+ # 4.0.45C
1387
+ - **bug-fixed**: customize css tooltip
1384
1388
 
1385
- ### 4.0.45B
1386
- - bug-fix: css - button big message
1389
+ # 4.0.45B
1390
+ - **bug-fixed**: css - button big message
1387
1391
 
1388
- ### 4.0.45A
1392
+ # 4.0.45A
1389
1393
  - new: added tooltip to message
1390
1394
 
1391
- ### 4.0.45
1392
- - bug-fix: css - buttons aligned right in the message
1395
+ # 4.0.45
1396
+ - **bug-fixed**: css - buttons aligned right in the message
1393
1397
 
1394
- ### 4.0.44B
1395
- - bug-fix: placeholder and logo widget in hp and conversation
1398
+ # 4.0.44B
1399
+ - **bug-fixed**: placeholder and logo widget in hp and conversation
1396
1400
 
1397
- ### 4.0.44A
1398
- - bug-fix: placeholder and logo widget in hp and conversation
1399
- - bug-fix: name widget
1401
+ # 4.0.44A
1402
+ - **bug-fixed**: placeholder and logo widget in hp and conversation
1403
+ - **bug-fixed**: name widget
1400
1404
 
1401
- ### 4.0.44
1402
- - change: renamed variable hideAttachButton in showAttachmentButton
1405
+ # 4.0.44
1406
+ - **changed**: renamed variable hideAttachButton in showAttachmentButton
1403
1407
  - new: added showAllConversations parameter
1404
1408
  - new: added placeholder and logo widget in hp and conversation
1405
1409
 
1406
- ### 4.0.43B
1407
- - change: step 1 sanitized messages
1408
- - change: step 2 replaced \n in message
1409
- - change: step 3 added markdown (only messages received)
1410
+ # 4.0.43B
1411
+ - **changed**: step 1 sanitized messages
1412
+ - **changed**: step 2 replaced \n in message
1413
+ - **changed**: step 3 added markdown (only messages received)
1410
1414
  - bug fix: changed width image with message
1411
1415
 
1412
- ### 4.0.43A
1416
+ # 4.0.43A
1413
1417
  - add: sanitize the output HTML
1414
1418
 
1415
- ### 4.0.43
1419
+ # 4.0.43
1416
1420
  - bug fix: add word-wrap: break-word; on .message
1417
1421
 
1418
- ### 4.0.42E
1422
+ # 4.0.42E
1419
1423
  - bug fix: br message
1420
1424
 
1421
- ### 4.0.42D
1422
- - changed: removed markdown in list-conversation
1425
+ # 4.0.42D
1426
+ - **changed**: removed markdown in list-conversation
1423
1427
 
1424
- ### 4.0.42C
1428
+ # 4.0.42C
1425
1429
  - bug fix: url color in list-conversation
1426
1430
  - bug fix: max-height in list-conversation
1427
1431
 
1428
- ### 4.0.42B
1432
+ # 4.0.42B
1429
1433
  - bug fix: url in _blank
1430
1434
 
1431
- ### 4.0.42A
1435
+ # 4.0.42A
1432
1436
  - bug fix: check archived chats
1433
1437
 
1434
1438
 
1435
- ### 4.0.42
1439
+ # 4.0.42
1436
1440
  - new: add splitMessageForKey for video in chat (al momento non utilizzata!)
1437
1441
  - new: add markdown messages (https://github.com/markedjs/marked, https://www.jamiecockrill.com/2018-04-30-marked-directive/, https://markrabey.com/2019/05/31/angular-markdown-pipe/)
1438
1442
  - new: lock the archived chats
1439
1443
  - new: added tiledesk_persistence
1440
- - changed: start page detail conversation on end intro animation
1444
+ - **changed**: start page detail conversation on end intro animation
1441
1445
  - bug fix: disabled button header until intro animation is complete
1442
1446
 
1443
1447
 
1444
- ### 4.0.41A
1445
- - changed: remove BUTTON_DOWNLOAD_TRANSCRIPT
1448
+ # 4.0.41A
1449
+ - **changed**: remove BUTTON_DOWNLOAD_TRANSCRIPT
1446
1450
  - new: added ngx-markdown step 1
1447
1451
 
1448
- ### 4.0.41
1449
- - changed: show message with image and text (step1)
1452
+ # 4.0.41
1453
+ - **changed**: show message with image and text (step1)
1450
1454
 
1451
- ### 4.0.40
1455
+ # 4.0.40
1452
1456
  - new: dokerize project
1453
1457
 
1454
- ### 4.0.39
1455
- - changed: email and fullname saved in attribute parameters after signInWithCustomToken
1458
+ # 4.0.39
1459
+ - **changed**: email and fullname saved in attribute parameters after signInWithCustomToken
1456
1460
 
1457
- ### 4.0.38
1461
+ # 4.0.38
1458
1462
  - bug fix: shown/hide iframe;
1459
- - changed: removed variables in local storage
1463
+ - **changed**: removed variables in local storage
1460
1464
 
1461
- ### 4.0.37
1465
+ # 4.0.37
1462
1466
  - bug fix: triggerOnAuthStateChanged on error;
1463
1467
 
1464
- ### 4.0.36
1465
- - changed: triggerOnAuthStateChanged on logout;
1468
+ # 4.0.36
1469
+ - **changed**: triggerOnAuthStateChanged on logout;
1466
1470
 
1467
- ### 4.0.35
1471
+ # 4.0.35
1468
1472
  - bug fix: triggerOnAuthStateChanged on reinit, logout and error.
1469
1473
 
1470
- ### 4.0.34
1474
+ # 4.0.34
1471
1475
  - bug fix: startFromHome
1472
1476
 
1473
- ### 4.0.33
1474
- - changed: handling errors in authenticate
1477
+ # 4.0.33
1478
+ - **changed**: handling errors in authenticate
1475
1479
 
1476
- ### 4.0.32
1477
- - changed: customize obsLoggedUser step1
1480
+ # 4.0.32
1481
+ - **changed**: customize obsLoggedUser step1
1478
1482
 
1479
- ### 4.0.31
1483
+ # 4.0.31
1480
1484
  - check: autoStart: false; persistence: 'session'; startFromHome: false; preChatForm: true
1481
1485
  - bug fix: triggerOnAuthStateChanged;
1482
1486
 
1483
- ### 4.0.30
1487
+ # 4.0.30
1484
1488
  - bug fix: limit 5 agent avatars;
1485
1489
  - bug fix: removed log;
1486
1490
  - bug fix: css callout;
1487
1491
  - bug fix: load logo in test_widget_page;
1488
1492
 
1489
- ### 4.0.29
1493
+ # 4.0.29
1490
1494
  - bug fix: changed tiledeskScriptBaseLocation in launc.js;
1491
1495
 
1492
- ### 4.0.28
1496
+ # 4.0.28
1493
1497
  - bug fix: conversation.image;
1494
1498
 
1495
- ### 4.0.27
1499
+ # 4.0.27
1496
1500
  - bug fix: removed timeout animation;
1497
1501
  - bug fix: profile image or placeholder;
1498
1502
  - bug fix: animations msg into;
1499
1503
  - bug fix: asyncInit in launc.js;
1500
1504
  - bug fix: limit 5 agents;
1501
1505
 
1502
- ### 4.0.26
1506
+ # 4.0.26
1503
1507
  - bug fix: removed console.log;
1504
1508
  - bug fix: renamed error in console.log;
1505
1509
  - bug fix: showSpinner changed in html page
1506
1510
 
1507
- ### 4.0.25
1511
+ # 4.0.25
1508
1512
  - bug fix: removed console.log; css close callout; vieport TWP page;
1509
1513
 
1510
- ### 4.0.24
1511
- - changed: set firebase.auth.Auth.Persistence.NONE;
1514
+ # 4.0.24
1515
+ - **changed**: set firebase.auth.Auth.Persistence.NONE;
1512
1516
 
1513
- ### 4.0.23
1517
+ # 4.0.23
1514
1518
  - bug fix: tiledesk token in local storage
1515
1519
 
1516
- ### 4.0.22
1520
+ # 4.0.22
1517
1521
  - bug fix: timeout spinner
1518
1522
 
1519
- ### 4.0.21
1523
+ # 4.0.21
1520
1524
  - bug fix: with autoStart == false not start the login
1521
1525
  - bug fix: save tiledesk token in global
1522
1526
  - bug fix: hide the spinner when the first message arrives
1523
1527
 
1524
- ### 4.0.20
1528
+ # 4.0.20
1525
1529
  - new: added signInWithCustomToken before createCustomToken
1526
- ### 4.0.19
1530
+ # 4.0.19
1527
1531
  - bug fix: signInWithCustomToken
1528
1532
 
1529
- ### 4.0.18
1530
- - changed: add spinner to new conversation
1533
+ # 4.0.18
1534
+ - **changed**: add spinner to new conversation
1531
1535
 
1532
- ### 4.0.17
1536
+ # 4.0.17
1533
1537
  - bug fix: shemaVersion, firebaseToken, tiledesk Token in storage without projectid
1534
1538
  - bug fix: rating_message
1535
1539
  - bug fix: callout and new message
1536
1540
 
1537
- ### 4.0.16
1541
+ # 4.0.16
1538
1542
  - new: resigninAnonymousAuthentication
1539
1543
 
1540
- ### 4.0.15
1544
+ # 4.0.15
1541
1545
  - bug fix: show message in callout if attributes subtype != info
1542
1546
 
1543
- ### 4.0.14
1547
+ # 4.0.14
1544
1548
  - bug fix: logout
1545
1549
  - bug fix: first login
1546
1550
  - bug fix: event on back to hp
1547
1551
 
1548
- ### 4.0.13
1552
+ # 4.0.13
1549
1553
  - bug fix: removed id_user in events
1550
1554
  - bug fix: single notification sound
1551
1555
 
1552
- ### 4.0.12
1556
+ # 4.0.12
1553
1557
  - bug fix: event on first message
1554
1558
  - new: logout if shemaVersion is != 4
1555
1559
  - new: add events onAuthStateChanged and onLoggedIn
1556
1560
 
1557
1561
 
1558
- ### 4.0.11
1562
+ # 4.0.11
1559
1563
  - new: added sendSupportMessage
1560
1564
 
1561
- ### 4.0.10
1565
+ # 4.0.10
1562
1566
  - new: added trigger onBeforeDepartmentsFormRender
1563
1567
  - bug fix: url in twp
1564
1568
  - bug fix: add new message
1565
1569
 
1566
- ### 4.0.9
1570
+ # 4.0.9
1567
1571
  - updated twp
1568
1572
 
1569
- ### 4.0.8
1573
+ # 4.0.8
1570
1574
  - renamed tiledesk_widget_project in twp
1571
1575
 
1572
- ### 4.0.7
1576
+ # 4.0.7
1573
1577
  - new: added filter on departments
1574
1578
 
1575
- ### 4.0.6
1576
- - bug-fix: enhanced moment support
1579
+ # 4.0.6
1580
+ - **bug-fixed**: enhanced moment support
1577
1581
 
1578
- ### 4.0.5
1579
- - bug-fix: Detect user language in initI18n.
1582
+ # 4.0.5
1583
+ - **bug-fixed**: Detect user language in initI18n.
1580
1584
 
1581
- ### 4.0.4
1585
+ # 4.0.4
1582
1586
  - new: added currentConversationComponent in global
1583
1587
  - new: added onNewConversationComponentInit trigger. Now to enabled greetings features you must add these lines of code:
1584
1588
 
@@ -1591,16 +1595,16 @@ window.tileDeskAsyncInit = function() {              
1591
1595
  ```
1592
1596
 
1593
1597
 
1594
- ### 4.0.1
1598
+ # 4.0.1
1595
1599
  - new: typing conversation
1596
1600
 
1597
- ### 4.0.0
1601
+ # 4.0.0
1598
1602
  - stable version
1599
1603
 
1600
- ### 3.0.28
1604
+ # 3.0.28
1601
1605
  - new: adds the ability to send a hidden message to start the conversation
1602
1606
 
1603
- ### 3.0.27
1607
+ # 3.0.27
1604
1608
  - new: window.tiledesk.showCallout()  // open callout window if widget is closed
1605
1609
  - bug fix: deleted hexadecimal with transparency x IE for display the border of the widget
1606
1610
  - bug fix: deleted min height widget
@@ -1614,24 +1618,24 @@ window.tileDeskAsyncInit = function() {              
1614
1618
  - bug fix: add animation scrollToBottom
1615
1619
  - bug fix: refactoring scrollToBottom()
1616
1620
 
1617
- ### 3.0.26
1621
+ # 3.0.26
1618
1622
  - new: added parameter 'departmentID'
1619
1623
 
1620
- ### 3.0.25
1624
+ # 3.0.25
1621
1625
  - bug fix: translate
1622
1626
 
1623
- ### 3.0.24
1627
+ # 3.0.24
1624
1628
  - bug fix: setupMyPresence on logout/login
1625
1629
  - bug fix: css border 0 on iframe
1626
1630
 
1627
- ### 3.0.22
1631
+ # 3.0.22
1628
1632
  - bug fix: custom auth in launch.js (function commented)
1629
1633
 
1630
- ### 3.0.21
1634
+ # 3.0.21
1631
1635
  - bug fix: c21-text-welcome change font 3.0em
1632
1636
  - new: updated changelog
1633
1637
 
1634
- ### 3.0.20
1638
+ # 3.0.20
1635
1639
  - bug fix: c21-text-welcome change font 3.0em
1636
1640
  - new: changed options icon
1637
1641
  - new: changed animation fade-in-dw-up
@@ -1653,13 +1657,13 @@ window.tileDeskAsyncInit = function() {              
1653
1657
  - bug fix: bug on checkWritingMessages
1654
1658
  - new: added animations on widget
1655
1659
 
1656
- ### 3.0.19
1660
+ # 3.0.19
1657
1661
  - bug fix: css overflow: scroll in bar of the widget and callout (IE, Firefox-windows)
1658
1662
  - bug fix: init not work in launch.js (IE)
1659
1663
  - bug fix: triggers not work when the widget is in an iframe
1660
1664
 
1661
1665
  # chat21-web-widget ver 2.0
1662
- ### 1.020
1666
+ # 1.020
1663
1667
  - Add function reInit() widget
1664
1668
  - Fixes bug 'undefined' on localstorage
1665
1669
  - Fixes bug refresh list conversations
@@ -1668,44 +1672,44 @@ window.tileDeskAsyncInit = function() {              
1668
1672
  - Change url loading service variables from the server (without Auth)
1669
1673
  - Fixes bug scroll to bottom messages with attachment
1670
1674
 
1671
- ### 1.019
1675
+ # 1.019
1672
1676
  - Load variables from server by projectId
1673
1677
  - Fixes bug clear localstorage
1674
1678
 
1675
- ### 1.018
1679
+ # 1.018
1676
1680
  - Changes profile icons
1677
1681
  - Fixes bug conversation badge
1678
1682
 
1679
- ### 1.017
1683
+ # 1.017
1680
1684
  - Changes css of rating component
1681
1685
 
1682
- ### 1.016
1686
+ # 1.016
1683
1687
  - Renames all keys of elements in sessionStorage ("projectId_"+key)
1684
1688
  - Fixes bug hideHeaderCloseButton in detail conversation
1685
1689
 
1686
- ### 1.015
1690
+ # 1.015
1687
1691
  - Fixes bug requester_id in attributes
1688
1692
 
1689
- ### 1.014
1693
+ # 1.014
1690
1694
  - Fixes bug conversation.attributes
1691
1695
 
1692
- ### 1.012
1696
+ # 1.012
1693
1697
  - Fixes bug show all conversations with only archived conversations
1694
1698
 
1695
- ### 1.011
1699
+ # 1.011
1696
1700
  - Fixes bug css rating
1697
1701
 
1698
- ### 1.010
1702
+ # 1.010
1699
1703
  - Fixes bug load image profile
1700
1704
  - limit number agents to 5
1701
1705
  - change css ballon agent
1702
1706
  - close callout on openwidget
1703
1707
  - add external params showWaitTime, showAvailableAgents, showLogoutOption;
1704
1708
 
1705
- ### 1.009
1709
+ # 1.009
1706
1710
  - Fixes align default to right
1707
1711
 
1708
- ### 1.008
1712
+ # 1.008
1709
1713
  - resolved conflicts of normalize.scss
1710
1714
  - resolved conflicts css generic
1711
1715
  - adds CHANGELOG.md