@chat21/chat21-ionic 3.4.26-rc1 → 3.4.26-rc2
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 +5 -2
- package/package.json +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +6 -6
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +4 -0
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
### **Copyrigth**:
|
|
9
9
|
*Tiledesk SRL*
|
|
10
10
|
|
|
11
|
+
# 3.4.26-rc2
|
|
12
|
+
- **removed**: archive button on list conversations if is not on mobile device
|
|
13
|
+
|
|
11
14
|
# 3.4.26-rc1
|
|
12
15
|
- **added**: tiledesk_projectID query param to manage user status
|
|
13
16
|
- **added**: token to managane ticket feature
|
|
@@ -65,8 +68,8 @@
|
|
|
65
68
|
- **bug-fixed**: minor fix on ion-texarea element with allowed url domain
|
|
66
69
|
|
|
67
70
|
# 3.4.19-rc1
|
|
68
|
-
- added
|
|
69
|
-
- added
|
|
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
|
|
70
73
|
|
|
71
74
|
# 3.4.18 in PROD
|
|
72
75
|
|
package/package.json
CHANGED
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
{{conversation?.conversation_with_fullname}}
|
|
123
123
|
</span>
|
|
124
124
|
</div>
|
|
125
|
-
<div class="conversation_message truncate" [ngClass]="{'truncate-on-desktop': !
|
|
125
|
+
<div class="conversation_message truncate" [ngClass]="{'truncate-on-desktop': !IS_ON_MOBILE_DEVICE}">
|
|
126
126
|
|
|
127
127
|
<!-- -------------------------------------------------------------------------- -->
|
|
128
128
|
<!-- if conversation type is image display the image icon before the message -->
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<!-- <div *ngIf="conversation.type === 'image'" class="icon-image-before-msg-wpr">
|
|
131
131
|
<ion-icon name="image-outline" class="icon-image-before-msg"></ion-icon>
|
|
132
132
|
</div>
|
|
133
|
-
<p [class.not-read]="conversation.is_new" class="truncate" [ngClass]="{'truncate-on-desktop': !
|
|
133
|
+
<p [class.not-read]="conversation.is_new" class="truncate" [ngClass]="{'truncate-on-desktop': !IS_ON_MOBILE_DEVICE}"
|
|
134
134
|
[innerHTML]="conversation.last_message_text"></p> -->
|
|
135
135
|
|
|
136
136
|
<!-- <div *ngIf="conversation.type === 'image'" class="icon-image-before-msg-wpr"> -->
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
</ion-label>
|
|
147
147
|
</div>
|
|
148
148
|
|
|
149
|
-
<ion-note *ngIf="!conversation.archived" class="conversation_time" [ngClass]="{'is-on-mobile':
|
|
149
|
+
<ion-note *ngIf="!conversation.archived" class="conversation_time" [ngClass]="{'is-on-mobile': IS_ON_MOBILE_DEVICE}">
|
|
150
150
|
{{conversation.timestamp | amTimeAgo}}
|
|
151
151
|
</ion-note>
|
|
152
152
|
<ion-note item-end *ngIf="conversation?.archived" class="conversation_time">
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
|
|
163
163
|
<ion-buttons slot="end">
|
|
164
164
|
<ion-button *ngIf="!conversation.archived" placement="bottom"
|
|
165
|
-
[ngClass]="{'hide': !
|
|
165
|
+
[ngClass]="{'hide': !IS_ON_MOBILE_DEVICE, 'button-on-desktop': !IS_ON_MOBILE_DEVICE, 'button-on-mobile': IS_ON_MOBILE_DEVICE }"
|
|
166
166
|
id="{{ 'close_conversation_button' + conversation.uid }}" class="close-conversation-button" ion-button clear
|
|
167
167
|
item-end (click)="closeConversation(conversation);$event.stopPropagation();" padding>
|
|
168
168
|
<ion-icon slot="icon-only" style="display:block;" id="{{ 'close_button_icon' + conversation.uid }}" name="archive-outline" item-end></ion-icon>
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
</ion-button>
|
|
172
172
|
|
|
173
173
|
<!-- <ion-button *ngIf="conversation?.recipient.startsWith('support-group') && !conversation.archived" [tooltip]="joinTooltip" [options]="tooltip_options" placement="bottom" content-type="template"
|
|
174
|
-
[ngClass]="{'hide': !
|
|
174
|
+
[ngClass]="{'hide': !IS_ON_MOBILE_DEVICE, 'button-on-desktop': !IS_ON_MOBILE_DEVICE, 'button-on-mobile': IS_ON_MOBILE_DEVICE }"
|
|
175
175
|
id="{{ 'join_conversation_button' + conversation.uid }}" class="close-conversation-button" ion-button clear
|
|
176
176
|
item-end (click)="joinConversation(conversation);$event.stopPropagation();" padding>
|
|
177
177
|
<ion-icon slot="icon-only" style="display:block;" id="{{ 'join_button_icon' + conversation.uid }}" name="link-outline" item-end></ion-icon>
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
|
|
194
194
|
<!-- && !conversation?.archived -->
|
|
195
195
|
<div item-end class="notification_point"
|
|
196
|
-
[ngClass]="{'notification_point-on-desktop': !
|
|
196
|
+
[ngClass]="{'notification_point-on-desktop': !IS_ON_MOBILE_DEVICE, 'notification_point-on-mobile': IS_ON_MOBILE_DEVICE }"
|
|
197
197
|
*ngIf="conversation.is_new">
|
|
198
198
|
</div>
|
|
199
199
|
|
|
@@ -102,9 +102,8 @@ export class IonListConversationsComponent extends ListConversationsComponent im
|
|
|
102
102
|
|
|
103
103
|
}
|
|
104
104
|
ngOnInit() {
|
|
105
|
-
this.isApp = this.platform.is('ios') || this.platform.is('android')
|
|
106
|
-
this.logger.log('[ION-LIST-CONVS-COMP] - ngOnInit - IS-APP ', this.isApp);
|
|
107
105
|
this.IS_ON_MOBILE_DEVICE = isOnMobileDevice()
|
|
106
|
+
this.logger.log('[ION-LIST-CONVS-COMP] - ngOnInit - IS_ON_MOBILE_DEVICE ', this.IS_ON_MOBILE_DEVICE);
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
ngOnChanges(changes: { [property: string]: SimpleChange }) {
|