@chat21/chat21-ionic 3.0.61-rc15 → 3.0.61-rc19
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 +10 -0
- package/deploy_pre.sh +4 -43
- package/deploy_prod.sh +7 -36
- package/package.json +1 -1
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.scss +1 -1
- package/src/app/components/sidebar/sidebar.component.html +1 -1
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +16 -12
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +6 -2
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +12 -0
- package/src/assets/i18n/es.json +1 -1
- package/src/assets/i18n/fr.json +1 -1
- package/src/assets/i18n/it.json +1 -1
- package/src/assets/i18n/pt.json +1 -1
- package/src/assets/i18n/ru.json +1 -1
- package/src/assets/i18n/sr.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# chat21-ionic ver 3.0
|
|
2
2
|
|
|
3
|
+
### 3.0.61-rc19
|
|
4
|
+
- Merge branch 'features/new-sidebar'
|
|
5
|
+
|
|
6
|
+
### 3.0.61-rc18
|
|
7
|
+
- Fix bugs: in the teammate settings drawer the logout button area is too large
|
|
8
|
+
- Fixed the bug: in the detail of the conversation the button messages are not aligned with the other messages
|
|
9
|
+
|
|
10
|
+
### 3.0.61-rc16
|
|
11
|
+
- Does not allow teammates with agent role to access the "settings sidebar"
|
|
12
|
+
|
|
3
13
|
### 3.0.61-rc15
|
|
4
14
|
- Increase the size of the emoji and remove the background color when it is sent or received without text
|
|
5
15
|
- Adds the ability to open sidebar menu items in a new tab by combining left mouse button + CMD keyboard key
|
package/deploy_pre.sh
CHANGED
|
@@ -27,57 +27,18 @@ sed -i -e "s/$URL_VER/g" src/utils/constants.ts
|
|
|
27
27
|
|
|
28
28
|
ionic cordova platform add browser --save
|
|
29
29
|
#ionic cordova build browser --prod --release
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
ionic cordova build --env=pre browser #--prod --verbose
|
|
31
|
+
|
|
32
32
|
cp -p src/firebase-messaging-sw.js platforms/browser/www/
|
|
33
33
|
cp -p src/manifest.json platforms/browser/www/
|
|
34
34
|
cp -p src/chat-config.json platforms/browser/www/
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
######### chat-ionic5 - the good one - publish in pre
|
|
38
36
|
cd platforms/browser/www
|
|
39
37
|
aws s3 sync . s3://tiledesk-dashboard-pre/chat-ionic5/$version/
|
|
40
38
|
aws s3 sync . s3://tiledesk-dashboard-pre/chat-ionic5/
|
|
41
39
|
cd ../../../
|
|
42
40
|
|
|
43
|
-
aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
41
|
+
#aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
44
42
|
|
|
45
43
|
echo new version deployed on s3://tiledesk-dashboard-pre/chat-ionic5/$version/
|
|
46
|
-
echo available on https://s3.eu-west-1.amazonaws.com/tiledesk-dashboard-pre/chat-ionic5/$version/index.html
|
|
47
|
-
echo available on https://support-pre.tiledesk.com/chat-ionic5/$version/index.html
|
|
48
|
-
echo available on https://support-pre.tiledesk.com/chat-ionic5/index.html
|
|
49
|
-
|
|
50
|
-
######### chat-ionic5-panel - publish in pre with the projects right panel
|
|
51
|
-
# cd platforms/browser/www
|
|
52
|
-
# aws s3 sync . s3://tiledesk-dashboard-pre/chat-ionic5-panel/$version/
|
|
53
|
-
# aws s3 sync . s3://tiledesk-dashboard-pre/chat-ionic5-panel/
|
|
54
|
-
# cd ../../../
|
|
55
|
-
|
|
56
|
-
# aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
57
|
-
|
|
58
|
-
# echo new version deployed on s3://tiledesk-dashboard-pre/chat-ionic5-panel/$version/
|
|
59
|
-
# echo available on https://s3.eu-west-1.amazonaws.com/tiledesk-dashboard-pre/chat-ionic5-panel/$version/index.html
|
|
60
|
-
# echo available on https://support-pre.tiledesk.com/chat-ionic5-panel/$version/index.html
|
|
61
|
-
# echo available on https://support-pre.tiledesk.com/chat-ionic5-panel/index.html
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
####### chat ionic MQTT in pre da aggiungere in deploy_pre.sh
|
|
65
|
-
# cd platforms/browser/www
|
|
66
|
-
# aws s3 sync . s3://tiledesk-dashboard-pre/native-mqtt/chat-ionic5/
|
|
67
|
-
# aws s3 sync . s3://tiledesk-dashboard-pre/native-mqtt/chat-ionic5/$version
|
|
68
|
-
# cd ../../../
|
|
69
|
-
# echo new version deployed on s3://tiledesk-dashboard-pre/native-mqtt/chat-ionic5/
|
|
70
|
-
# echo new version deployed on s3://tiledesk-dashboard-pre/native-mqtt/chat-ionic5/$version
|
|
71
|
-
# echo http://tiledesk-dashboard-pre.s3-eu-west-1.amazonaws.com/native-mqtt/chat-ionic5/index.html
|
|
72
|
-
# echo http://tiledesk-dashboard-pre.s3-eu-west-1.amazonaws.com/native-mqtt/chat-ionic5/$version/index.html
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
####### chat ionic FIREBASE in pre da aggiungere in deploy_pre.sh
|
|
76
|
-
# cd platforms/browser/www
|
|
77
|
-
# aws s3 sync . s3://tiledesk-dashboard-pre/chat5/
|
|
78
|
-
# aws s3 sync . s3://tiledesk-dashboard-pre/chat5/$version
|
|
79
|
-
# cd ../../../
|
|
80
|
-
# echo new version deployed on s3://tiledesk-dashboard-pre/chat5/$version
|
|
81
|
-
# echo new version deployed on s3://tiledesk-dashboard-pre/chat5/
|
|
82
|
-
# echo available on http://support-pre.tiledesk.com/chat5/index.html
|
|
83
|
-
# echo available on http://support-pre.tiledesk.com/chat5/$version/index.html
|
|
44
|
+
echo available on https://s3.eu-west-1.amazonaws.com/tiledesk-dashboard-pre/chat-ionic5/$version/index.html
|
package/deploy_prod.sh
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
npm version patch
|
|
2
2
|
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
3
|
echo "version $version"
|
|
4
4
|
|
|
@@ -12,51 +12,22 @@ echo 'URL_VER: ---->'$URL_VER
|
|
|
12
12
|
# npm publish
|
|
13
13
|
# fi
|
|
14
14
|
|
|
15
|
+
# sed -i -e "s/$start$ver.$build/$start$NEW_VER.$NEW_BUILD/g" src/utils/constants.ts
|
|
15
16
|
sed -i -e "s/$URL_VER/g" src/utils/constants.ts
|
|
16
|
-
|
|
17
17
|
ionic cordova platform add browser --save
|
|
18
18
|
#ionic cordova build --env=prod browser -- --base-href /www/ --prod
|
|
19
19
|
ionic cordova build --env=prod browser --prod
|
|
20
20
|
cp -p src/firebase-messaging-sw.js platforms/browser/www/
|
|
21
21
|
cp -p src/manifest.json platforms/browser/www/
|
|
22
22
|
cp -p src/chat-config.json platforms/browser/www/
|
|
23
|
-
cp -p config.xml platforms/browser/www/
|
|
24
|
-
|
|
25
23
|
|
|
26
|
-
###### CHAT in prod
|
|
27
24
|
cd platforms/browser/www
|
|
28
|
-
aws s3 sync . s3://tiledesk-dashboard/
|
|
29
|
-
aws s3 sync . s3://tiledesk-console/v2/chat
|
|
25
|
+
#aws s3 sync . s3://tiledesk-dashboard/chat/
|
|
26
|
+
aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/
|
|
27
|
+
aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
30
28
|
cd ../../../
|
|
31
29
|
# aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
32
30
|
|
|
33
31
|
# echo new version deployed on s3://tiledesk-dashboard/chat/$NEW_BUILD/
|
|
34
|
-
echo new version deployed on s3://tiledesk-console/v2/chat/$version/
|
|
35
|
-
echo
|
|
36
|
-
echo available on https://console.tiledesk.com/v2/chat/$version/index.html
|
|
37
|
-
echo available on https://console.tiledesk.com/v2/chat/index.html
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
###### CHAT-IONIC5
|
|
41
|
-
# cd platforms/browser/www
|
|
42
|
-
# #aws s3 sync . s3://tiledesk-dashboard/chat/
|
|
43
|
-
# aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/
|
|
44
|
-
# aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
45
|
-
# cd ../../../
|
|
46
|
-
# # aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
47
|
-
|
|
48
|
-
# # echo new version deployed on s3://tiledesk-dashboard/chat/$NEW_BUILD/
|
|
49
|
-
# echo new version deployed on s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
50
|
-
# echo available on https://console.tiledesk.com/v2/chat-ionic5/$version/index.html
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
####### chat ionic FIREBASE in PROD IN SUBFOLDER
|
|
55
|
-
# cd platforms/browser/www
|
|
56
|
-
# aws s3 sync . s3://tiledesk-console/v2/chat5-dev/
|
|
57
|
-
# aws s3 sync . s3://tiledesk-console/v2/chat5-dev/$version
|
|
58
|
-
# cd ../../../
|
|
59
|
-
# echo new version deployed on s3://console.tiledesk.com/v2/chat5-dev/$version
|
|
60
|
-
# echo new version deployed on s3://console.tiledesk.com/v2/chat5-dev/
|
|
61
|
-
# echo available on http://console.tiledesk.com/v2/chat5-dev/index.html
|
|
62
|
-
# echo available on http://console.tiledesk.com/v2/chat5-dev/$version/index.html
|
|
32
|
+
echo new version deployed on s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
33
|
+
echo available on https://console.tiledesk.com/v2/chat-ionic5/$version/index.html
|
package/package.json
CHANGED
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
<!-- ----------------------------------------------------------------------------------- -->
|
|
214
214
|
<!-- SETTINGS // old: goToSettings_CannedResponses() *ngIf="USER_ROLE !== 'agent'" (click)="goToWidgetSetUpOrToCannedResponses()" -->
|
|
215
215
|
<!-- ----------------------------------------------------------------------------------- -->
|
|
216
|
-
<li matTooltipClass="custom-mat-tooltip"
|
|
216
|
+
<li *ngIf="USER_ROLE !== 'agent'" matTooltipClass="custom-mat-tooltip"
|
|
217
217
|
matTooltip="{{ settings_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
218
218
|
<a target="_self" href="{{ dashboard_settings_url }}" class="customAncor">
|
|
219
219
|
<i class="material-icons sidebar-icons">settings</i>
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
<!-- (click)="goToUserProfile()" -->
|
|
23
23
|
<div role="button" class="user-details-avatar">
|
|
24
|
-
<img
|
|
24
|
+
<img *ngIf="USER_PHOTO_PROFILE_EXIST" class="user-img-in-sidebar-user-details" [src]="photo_profile_URL"
|
|
25
25
|
onerror="this.src='assets/images/no_image_user.png'" />
|
|
26
26
|
|
|
27
|
-
<div *ngIf="!USER_PHOTO_PROFILE_EXIST"
|
|
28
|
-
|
|
27
|
+
<div *ngIf="!USER_PHOTO_PROFILE_EXIST" class="user-img-in-sidebar-user-details"
|
|
28
|
+
[ngStyle]="{'background': 'linear-gradient(rgb(255,255,255) -125%,' + user?.fillColour + ')'}">
|
|
29
29
|
<span id="sidebaravatar-altenative-user-avatar" class="sidebar-user-details-altenative-user-avatar">
|
|
30
30
|
{{ user?.fullname_initial }}
|
|
31
31
|
</span>
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<section *ngIf="isVisiblePAY" class="user-details-plan-info">
|
|
77
77
|
<span>
|
|
78
78
|
<div> {{prjct_name}} </div>
|
|
79
|
-
<div
|
|
79
|
+
<div style="display: inline-block;"> {{ profile_name_translated }} </div>
|
|
80
80
|
|
|
81
81
|
<div *ngIf="plan_type === 'payment' && plan_subscription_is_active === false"
|
|
82
82
|
style="color:#f44336; position:relative; top: -1px;;display: inline-block;">
|
|
@@ -99,18 +99,22 @@
|
|
|
99
99
|
border-top: 1px solid rgba(255, 255,255, 0.2);"> -->
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
<section class="user-details-footer-section"
|
|
102
|
+
<section class="user-details-footer-section"
|
|
103
103
|
[ngClass]="{'footer-margin-top-pricing-no-visible': isVisiblePAY === false }">
|
|
104
|
-
<
|
|
105
|
-
logout
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
<div role="button" class="logout-btn-wpr" (click)=onLogout()>
|
|
105
|
+
<i class="material-icons user-details-logout-icon" >
|
|
106
|
+
logout
|
|
107
|
+
</i>
|
|
108
|
+
<div class="user-details-logout-text">
|
|
109
|
+
{{LOGOUT_msg}}
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
108
112
|
</section>
|
|
109
113
|
|
|
110
114
|
<section class="user-details-footer-chat-version">
|
|
111
|
-
<div class="chat-version">
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
<div class="chat-version">
|
|
116
|
+
<!-- © {{test | date: 'yyyy'}} {{company_name}} ver {{version}} -->
|
|
117
|
+
ver {{version}}
|
|
114
118
|
</div>
|
|
115
119
|
</section>
|
|
116
120
|
|
|
@@ -253,7 +253,7 @@ button.user-details-btn-close {
|
|
|
253
253
|
margin: auto;
|
|
254
254
|
position: absolute;
|
|
255
255
|
text-align: center;
|
|
256
|
-
|
|
256
|
+
|
|
257
257
|
padding-bottom: 15px;
|
|
258
258
|
padding-top: 200px;
|
|
259
259
|
font-size: 16px;
|
|
@@ -262,13 +262,17 @@ button.user-details-btn-close {
|
|
|
262
262
|
// top:355px
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
+
.logout-btn-wpr {
|
|
266
|
+
cursor: pointer;
|
|
267
|
+
}
|
|
268
|
+
|
|
265
269
|
.footer-margin-top-pricing-no-visible {
|
|
266
270
|
padding-top: 240px;
|
|
267
271
|
}
|
|
268
272
|
.user-details-logout-icon {
|
|
269
273
|
color: #a9afbb;
|
|
270
274
|
font-size: 30px;
|
|
271
|
-
margin-top: 30px;
|
|
275
|
+
// margin-top: 30px;
|
|
272
276
|
}
|
|
273
277
|
|
|
274
278
|
.user-details-logout-icon:hover {
|
|
@@ -41,6 +41,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
41
41
|
PAYD_PLAN_NAME_ENTERPRISE_msg: string;
|
|
42
42
|
PRO_PLAN_TRIAL_msg: string;
|
|
43
43
|
FREE_PLAN_msg: string;
|
|
44
|
+
LOGOUT_msg: string;
|
|
44
45
|
profile_name_translated: string;
|
|
45
46
|
SubscriptionPaymentProblem: string;
|
|
46
47
|
user: any
|
|
@@ -222,6 +223,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
222
223
|
this.getIsBusyTranslation();
|
|
223
224
|
this.getSubscriptionPaymentProblemTranslation();
|
|
224
225
|
this.getThePlanHasExpiredTranslation();
|
|
226
|
+
this.getLogoutTranslation();
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
|
|
@@ -280,6 +282,15 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
280
282
|
});
|
|
281
283
|
}
|
|
282
284
|
|
|
285
|
+
getLogoutTranslation() {
|
|
286
|
+
this.translate.get('LABEL_LOGOUT')
|
|
287
|
+
.subscribe((text: string) => {
|
|
288
|
+
// this.deleteContact_msg = text;
|
|
289
|
+
// console.log('[SIDEBAR-USER-DETAILS] - GET Logout label ', text)
|
|
290
|
+
this.LOGOUT_msg = text
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
|
|
283
294
|
getSubscriptionPaymentProblemTranslation() {
|
|
284
295
|
this.translate.get('SubscriptionPaymentProblem')
|
|
285
296
|
.subscribe((text: string) => {
|
|
@@ -392,6 +403,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
|
|
|
392
403
|
});
|
|
393
404
|
}
|
|
394
405
|
|
|
406
|
+
|
|
395
407
|
|
|
396
408
|
|
|
397
409
|
listenTocurrentProjectUserUserAvailability$() {
|
package/src/assets/i18n/es.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"LABEL_ERROR_EMAIL": "Introduzca una dirección de correo electrónico válida.",
|
|
79
79
|
"LABEL_ERROR_PASSWORD": "La contraseña debe tener al menos 6 caracteres.",
|
|
80
80
|
"LABEL_LOGIN": "Ingresar",
|
|
81
|
-
"LABEL_LOGOUT": "
|
|
81
|
+
"LABEL_LOGOUT": "Finalizar la sesión",
|
|
82
82
|
"LABEL_WELCOME_TO": "Bienvenido a",
|
|
83
83
|
"LABEL_SIGNUP": "Regístrate",
|
|
84
84
|
"LABEL_ALREDY_HAVE_AN_ACCOUNT": "¿Ya tienes una cuenta?",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"LABEL_ERROR_EMAIL": "Entrez une adresse mail valide.",
|
|
79
79
|
"LABEL_ERROR_PASSWORD": "Le mot de passe doit comporter au moins 6 caractères.",
|
|
80
80
|
"LABEL_LOGIN": "Connexion",
|
|
81
|
-
"LABEL_LOGOUT": "
|
|
81
|
+
"LABEL_LOGOUT": "Déconnexion",
|
|
82
82
|
"LABEL_WELCOME_TO": "Bienvenue à",
|
|
83
83
|
"LABEL_SIGNUP": "S'inscrire",
|
|
84
84
|
"LABEL_ALREDY_HAVE_AN_ACCOUNT": "Vous avez déjà un compte?",
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"LABEL_ERROR_EMAIL": "Inserisci un indirizzo email valido.",
|
|
79
79
|
"LABEL_ERROR_PASSWORD": "La password deve essere di almeno 6 caratteri.",
|
|
80
80
|
"LABEL_LOGIN": "Login",
|
|
81
|
-
"LABEL_LOGOUT": "
|
|
81
|
+
"LABEL_LOGOUT": "Disconnettersi",
|
|
82
82
|
"LABEL_WELCOME_TO": "Benvenuto in",
|
|
83
83
|
"LABEL_SIGNUP": "Registrati",
|
|
84
84
|
"LABEL_ALREDY_HAVE_AN_ACCOUNT": "Hai già un account?",
|
package/src/assets/i18n/pt.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"LABEL_ERROR_EMAIL": "Digite um endereço de e-mail válido.",
|
|
79
79
|
"LABEL_ERROR_PASSWORD": "A senha deve ter pelo menos 6 caracteres.",
|
|
80
80
|
"LABEL_LOGIN": "Conecte-se",
|
|
81
|
-
"LABEL_LOGOUT": "
|
|
81
|
+
"LABEL_LOGOUT": "Deslogar",
|
|
82
82
|
"LABEL_WELCOME_TO": "Bem-vindo ao",
|
|
83
83
|
"LABEL_SIGNUP": "Inscrever-se",
|
|
84
84
|
"LABEL_ALREDY_HAVE_AN_ACCOUNT": "Já tem uma conta?",
|
package/src/assets/i18n/ru.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"LABEL_ERROR_EMAIL": "Введите действительный адрес электронной почты.",
|
|
79
79
|
"LABEL_ERROR_PASSWORD": "Пароль должен быть не менее 6 символов.",
|
|
80
80
|
"LABEL_LOGIN": "Авторизоваться",
|
|
81
|
-
"LABEL_LOGOUT": "Выйти",
|
|
81
|
+
"LABEL_LOGOUT": "Выйти из системы",
|
|
82
82
|
"LABEL_WELCOME_TO": "Добро пожаловать в",
|
|
83
83
|
"LABEL_SIGNUP": "Зарегистрироваться",
|
|
84
84
|
"LABEL_ALREDY_HAVE_AN_ACCOUNT": "У вас уже есть аккаунт?",
|
package/src/assets/i18n/sr.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"LABEL_ERROR_EMAIL": "Унесите исправну е-маил адресу.",
|
|
79
79
|
"LABEL_ERROR_PASSWORD": "Лозинка мора имати најмање 6 знакова.",
|
|
80
80
|
"LABEL_LOGIN": "Пријавите се",
|
|
81
|
-
"LABEL_LOGOUT": "
|
|
81
|
+
"LABEL_LOGOUT": "Одјава",
|
|
82
82
|
"LABEL_WELCOME_TO": "Добродошли у",
|
|
83
83
|
"LABEL_SIGNUP": "Пријави се",
|
|
84
84
|
"LABEL_ALREDY_HAVE_AN_ACCOUNT": "Већ имате налог?",
|