@chat21/chat21-ionic 3.4.26-rc2 → 3.4.26

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
@@ -8,13 +8,14 @@
8
8
  ### **Copyrigth**:
9
9
  *Tiledesk SRL*
10
10
 
11
+ # 3.4.26 in PROD
12
+
11
13
  # 3.4.26-rc2
12
14
  - **removed**: archive button on list conversations if is not on mobile device
13
15
 
14
16
  # 3.4.26-rc1
15
17
  - **added**: tiledesk_projectID query param to manage user status
16
18
  - **added**: token to managane ticket feature
17
- - **added**: getOsCode login into utils.ts
18
19
 
19
20
  # 3.4.25 in PROD
20
21
  - **changed**: pipe marked to support malicious text input
@@ -37,24 +38,6 @@
37
38
  # 3.4.22 in PROD
38
39
  - **added**: managed allowed_upload_extentions from project settings
39
40
 
40
- # 3.4.21-rc6
41
- - **added**: managed allowed_upload_extentions from project settings
42
-
43
- # 3.4.21-rc5
44
- - **added**: setConversation as read when agent click on it
45
-
46
- # 3.4.21-rc4
47
- - **added**: ability to init and decrement new conversation count badge
48
-
49
- # 3.4.21-rc3
50
- - **changed**: badge notification for agentDesktop
51
-
52
- # 3.4.21-rc2
53
- - **added**: count in newConversation handler event
54
-
55
- # 3.4.21-rc1
56
- - **added**: implement badge notification for agentDesktop sw when new conversation is assigned to logged agent
57
-
58
41
  # 3.4.21 in PROD
59
42
 
60
43
  # 3.4.20 in PROD
@@ -68,8 +51,8 @@
68
51
  - **bug-fixed**: minor fix on ion-texarea element with allowed url domain
69
52
 
70
53
  # 3.4.19-rc1
71
- - **added**: ability to check for if emoji is allowd to be sent in message textarea
72
- - **added**: ability to check for if url domain is allowd to be sent in message textarea
54
+ - added: ability to check for if emoji is allowd to be sent in message textarea
55
+ - added: ability to check for if url domain is allowd to be sent in message textarea
73
56
 
74
57
  # 3.4.18 in PROD
75
58
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.4.26-rc2",
4
+ "version": "3.4.26",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -168,7 +168,6 @@ export class AppComponent implements OnInit {
168
168
  }, { capture: true });
169
169
  }
170
170
 
171
-
172
171
  listenChatAlreadyOpenWithoutParamsInMobileMode() {
173
172
  this.events.subscribe('noparams:mobile', (isAlreadyOpenInMobileMode) => {
174
173
  // console.log('[APP-COMP] Chat is Already Open In Mobile Mode ', isAlreadyOpenInMobileMode)
@@ -333,7 +332,7 @@ export class AppComponent implements OnInit {
333
332
 
334
333
  listenToPostMsgs() {
335
334
  window.addEventListener("message", (event) => {
336
- // this.logger.log("[APP-COMP] message event ", event);
335
+ this.logger.log("[APP-COMP] message event ", event);
337
336
 
338
337
  if (event && event.data && event.data.action && event.data.parameter) {
339
338
  if (event.data.action === 'openJoinConversationModal') {
@@ -1111,7 +1110,6 @@ export class AppComponent implements OnInit {
1111
1110
  if (conversation && conversation.is_new === true && this.isInitialized) {
1112
1111
  this.manageTabNotification('conv_added', conversation.sound)
1113
1112
  this.manageEventNewConversation(conversation)
1114
- this.setNotification();
1115
1113
  }
1116
1114
  if(conversation) this.updateConversationsOnStorage()
1117
1115
  });
@@ -1346,10 +1344,7 @@ export class AppComponent implements OnInit {
1346
1344
 
1347
1345
  subscribeConversationSelected= (conversation: ConversationModel) => {
1348
1346
  if(conversation && conversation.is_new){
1349
- this.audio_NewConv.pause();
1350
- this.conversationsHandlerService.setConversationRead(conversation.uid)
1351
- //UPDATE NOTIFICATION FOR NEW CONVERSATION COUNT
1352
- this.setNotification();
1347
+ this.audio_NewConv.pause()
1353
1348
  }
1354
1349
  }
1355
1350
 
@@ -1425,9 +1420,6 @@ export class AppComponent implements OnInit {
1425
1420
  this.logger.debug('[APP-COMP]-CONVS - INIT CONV CONVS 2', conversations)
1426
1421
  this.events.publish('appcompSubscribeToConvs:loadingIsActive', false);
1427
1422
  }
1428
-
1429
- //INIT NOTIFICATION FOR NEW CONVERSATION COUNT
1430
- this.setNotification();
1431
1423
  });
1432
1424
 
1433
1425
  }
@@ -1644,14 +1636,6 @@ export class AppComponent implements OnInit {
1644
1636
  this.triggerEvents.triggerOnNewConversationInit(conversation)
1645
1637
  }
1646
1638
 
1647
- private setNotification() {
1648
- this.logger.log('[APP-COMP] setNotification for NEW CONVERSATION');
1649
- if(window['AGENTDESKTOP']){
1650
- this.logger.log('[APP-COMP] manageNotification AGENTDESKTOP exist', window['AGENTDESKTOP']);
1651
- window['AGENTDESKTOP']['TAB'].Badge(this.conversationsHandlerService.countIsNew().toString())
1652
- }
1653
- }
1654
-
1655
1639
 
1656
1640
  @HostListener('document:visibilitychange', [])
1657
1641
  visibilitychange() {