@chat21/chat21-ionic 3.0.61-rc2 → 3.0.61-rc5
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 +20 -0
- package/env.sample +1 -1
- package/package.json +1 -1
- package/src/app/app.component.html +2 -1
- package/src/app/app.component.scss +4 -0
- package/src/app/app.component.ts +6 -6
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +6 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +18 -13
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +29 -32
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +4 -0
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +15 -1
- package/src/app/components/conversation-info/info-content/info-content.component.html +2 -2
- package/src/app/components/ddp-header/ddp-header.component.html +3 -3
- package/src/app/components/ddp-header/ddp-header.component.ts +2 -2
- package/src/app/components/project-item/project-item.component.html +1 -1
- package/src/app/components/project-item/project-item.component.ts +1 -1
- package/src/app/components/sidebar/sidebar.component.scss +12 -1
- package/src/app/components/sidebar/sidebar.component.ts +60 -45
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +4 -4
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +10 -10
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +83 -78
- package/src/app/pages/conversation-detail/conversation-detail.module.ts +2 -1
- package/src/app/pages/conversation-detail/conversation-detail.page.html +3 -3
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +11 -3
- package/src/app/pages/conversations-list/conversations-list.module.ts +2 -1
- package/src/app/pages/conversations-list/conversations-list.page.html +6 -5
- package/src/app/pages/conversations-list/conversations-list.page.scss +9 -1
- package/src/app/pages/conversations-list/conversations-list.page.ts +35 -13
- package/src/app/utils/scrollbar-theme.directive.ts +58 -24
- package/src/assets/i18n/de.json +2 -1
- package/src/assets/i18n/en.json +2 -1
- package/src/assets/i18n/es.json +2 -1
- package/src/assets/i18n/fr.json +2 -1
- package/src/assets/i18n/it.json +2 -1
- package/src/assets/i18n/pt.json +2 -1
- package/src/assets/i18n/ru.json +2 -1
- package/src/assets/i18n/tr.json +2 -1
- package/src/assets/images/language_flag/hr.png +0 -0
- package/src/assets/images/language_flag/sr.png +0 -0
- package/src/chat-config-pre-test.json +1 -1
- package/src/chat-config-template.json +1 -1
- package/src/chat-config.json +1 -1
- package/src/global.scss +5 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# chat21-ionic ver 3.0
|
|
2
2
|
|
|
3
|
+
### 3.0.61-rc5
|
|
4
|
+
- Fixes the bug: on mobile devices the chat content is shifted to the right
|
|
5
|
+
- Adds the ability to open and close the "user detail sidebar" by clicking on the avatar of the logged teammate present on the sidebar
|
|
6
|
+
- Fixes the bug: canned responses remain visible even if, after making a filter, the backslash is deleted
|
|
7
|
+
- Prevents the "open canned responses" button from inserting a backslash if another one exists before
|
|
8
|
+
- Hides the badge that displays the number of unassigned conversations if there are none
|
|
9
|
+
- Improves custom scrollbar displayed in the sidebar and in user detail sidebar
|
|
10
|
+
- Adds custom scrollbars to the conversation list and to the conversation detail
|
|
11
|
+
|
|
12
|
+
### 3.0.61-rc4
|
|
13
|
+
- Hides the item showing unassigned conversations in the list of archived conversations
|
|
14
|
+
- Adds in the list of conversations to the "archive" button the tooltip "Resolve" if the conversation is of type "support" and the tooltip "Archive" if the conversation is of type "direct" or "group"
|
|
15
|
+
- Changes all occurrences of the "teammatesButton" environment variable to "writeToButton"
|
|
16
|
+
- Fixes the bug: if the sidebar is visible and the window width is less than 768px, the content of the conversation detail is not completely visible
|
|
17
|
+
- Moves for conversations of type "support" the "Resolve conversation" button from the dropdown menu to the header of the conversation detail
|
|
18
|
+
|
|
19
|
+
### 3.0.61-rc3
|
|
20
|
+
- Replaces console.log with custom loggers
|
|
21
|
+
- Fixes the bug: the info support sidebar is no more displayed
|
|
22
|
+
|
|
3
23
|
### 3.0.61-rc2
|
|
4
24
|
- Fixes the bug: Profile picture in the sidebar does not update when logged in with another user after logging out
|
|
5
25
|
- Bug Fix: in the "info-profile" page avoid the "uid of undefined" error
|
package/env.sample
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
<!-- <app-details></app-details> -->
|
|
21
21
|
<!-- </ion-router-outlet> -->
|
|
22
22
|
<!-- the main content -->
|
|
23
|
-
|
|
23
|
+
<!-- -->
|
|
24
|
+
<ion-router-outlet id="main" #detailNav animated="false" [ngClass]="{'router-outlet-margin-left': platformIs === 'mobile' && SUPPORT_MODE === true && IS_ON_MOBILE_DEVICE === false}">
|
|
24
25
|
</ion-router-outlet>
|
|
25
26
|
</ion-split-pane>
|
|
26
27
|
</div>
|
package/src/app/app.component.ts
CHANGED
|
@@ -78,7 +78,7 @@ export class AppComponent implements OnInit {
|
|
|
78
78
|
public sidebarPage: any;
|
|
79
79
|
public notificationsEnabled: boolean;
|
|
80
80
|
public zone: NgZone;
|
|
81
|
-
|
|
81
|
+
public platformIs: string;
|
|
82
82
|
private doitResize: any;
|
|
83
83
|
private timeModalLogin: any;
|
|
84
84
|
public tenant: string;
|
|
@@ -158,7 +158,7 @@ export class AppComponent implements OnInit {
|
|
|
158
158
|
if (/Android|iPhone/i.test(window.navigator.userAgent)) {
|
|
159
159
|
this.IS_ON_MOBILE_DEVICE = true;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
this.logger.log('[APP-COMP] IS_ON_MOBILE_DEVICE', this.IS_ON_MOBILE_DEVICE)
|
|
162
162
|
return this.IS_ON_MOBILE_DEVICE;
|
|
163
163
|
}
|
|
164
164
|
|
|
@@ -298,10 +298,10 @@ export class AppComponent implements OnInit {
|
|
|
298
298
|
*/
|
|
299
299
|
ngOnInit() {
|
|
300
300
|
const appconfig = this.appConfigProvider.getConfig();
|
|
301
|
-
console.log('[APP-COMP] appconfig', appconfig)
|
|
301
|
+
// console.log('[APP-COMP] appconfig', appconfig)
|
|
302
302
|
if (appconfig && appconfig.supportMode) {
|
|
303
303
|
this.SUPPORT_MODE = appconfig.supportMode
|
|
304
|
-
console.log('[APP-COMP] appconfig > SUPPORT_MODE', this.SUPPORT_MODE)
|
|
304
|
+
// console.log('[APP-COMP] appconfig > SUPPORT_MODE', this.SUPPORT_MODE)
|
|
305
305
|
} else {
|
|
306
306
|
this.SUPPORT_MODE = false;
|
|
307
307
|
}
|
|
@@ -850,13 +850,13 @@ export class AppComponent implements OnInit {
|
|
|
850
850
|
// if (this.isOnline === false) {
|
|
851
851
|
// if (AUTH_STATE_ONLINE) {
|
|
852
852
|
this.IS_ONLINE = true;
|
|
853
|
-
console.log('[APP-COMP] IS_ONLINE', this.IS_ONLINE)
|
|
853
|
+
// console.log('[APP-COMP] IS_ONLINE', this.IS_ONLINE)
|
|
854
854
|
this.goOnLine();
|
|
855
855
|
// }
|
|
856
856
|
} else if (state === AUTH_STATE_OFFLINE) {
|
|
857
857
|
// this.checkTokenAndGoOffline() //se c'è un tiledeskToken salvato, allora aspetta, altrimenti vai offline
|
|
858
858
|
this.IS_ONLINE = false;
|
|
859
|
-
console.log('[APP-COMP] IS_ONLINE', this.IS_ONLINE)
|
|
859
|
+
// console.log('[APP-COMP] IS_ONLINE', this.IS_ONLINE)
|
|
860
860
|
this.goOffLine()
|
|
861
861
|
}
|
|
862
862
|
}, error => {
|
|
@@ -118,12 +118,17 @@
|
|
|
118
118
|
<ion-note *ngIf="!conversation.archived" class="conversation_time">{{conversation.timestamp | amTimeAgo}}</ion-note>
|
|
119
119
|
|
|
120
120
|
<ion-buttons slot="end">
|
|
121
|
-
<ion-button *ngIf="!conversation.archived"
|
|
121
|
+
<ion-button *ngIf="!conversation.archived" [tooltip]="archiveTooltip" [options]="tooltip_options" placement="bottom" content-type="template"
|
|
122
122
|
[ngClass]="{'hide': !isApp, 'button-on-desktop': !isApp, 'button-on-mobile': isApp }"
|
|
123
123
|
id="{{ 'close_conversation_button' + conversation.uid }}" class="close-conversation-button" ion-button clear
|
|
124
124
|
item-end (click)="closeConversation(conversation);$event.stopPropagation();" padding>
|
|
125
125
|
<ion-icon slot="icon-only" style="display:block;" id="{{ 'close_button_icon' + conversation.uid }}"
|
|
126
126
|
color="close-conversation" name="archive-outline" item-end></ion-icon>
|
|
127
|
+
|
|
128
|
+
<ng-template #archiveTooltip>
|
|
129
|
+
<span *ngIf="conversation?.recipient.startsWith('support-group')"> {{ resolve_btn_tooltip}} </span>
|
|
130
|
+
<span *ngIf="!conversation?.recipient.startsWith('support-group')"> {{ archive_btn_tooltip }} </span>
|
|
131
|
+
</ng-template>
|
|
127
132
|
</ion-button>
|
|
128
133
|
<!-- <ion-button *ngIf="conversation.archived" class="close-conversation-button" ion-button clear item-end disabled padding>
|
|
129
134
|
<!- - <ion-icon style="display:block;" id="{{ 'close_button_icon' + conversation.uid }}" color="close-conversation" name="archive-outline" item-end></ion-icon> - ->
|
|
@@ -9,12 +9,11 @@ import { LoggerInstance } from 'src/chat21-core/providers/logger/loggerInstance'
|
|
|
9
9
|
import { TranslateService } from '@ngx-translate/core';
|
|
10
10
|
|
|
11
11
|
import * as moment from 'moment';
|
|
12
|
-
// import { EventsService } from 'src/app/services/events-service';
|
|
13
|
-
// import { TiledeskService } from '../../../services/tiledesk/tiledesk.service';
|
|
14
12
|
import { NetworkService } from '../../../services/network-service/network.service';
|
|
15
13
|
import { AppConfigProvider } from 'src/app/services/app-config';
|
|
16
14
|
import { DomSanitizer } from '@angular/platform-browser'
|
|
17
15
|
import { TiledeskAuthService } from 'src/chat21-core/providers/tiledesk/tiledesk-auth.service';
|
|
16
|
+
|
|
18
17
|
// import { LoggerService } from 'src/chat21-core/providers/abstract/logger.service';
|
|
19
18
|
// import { LoggerInstance } from 'src/chat21-core/providers/logger/loggerInstance';
|
|
20
19
|
|
|
@@ -36,15 +35,16 @@ export class IonListConversationsComponent extends ListConversationsComponent im
|
|
|
36
35
|
|
|
37
36
|
public PROJECT_FOR_PANEL: any;
|
|
38
37
|
public archive_btn_tooltip: string;
|
|
38
|
+
public resolve_btn_tooltip: string;
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
'show-delay':
|
|
40
|
+
tooltip_options = {
|
|
41
|
+
'show-delay': 0,
|
|
42
42
|
'tooltip-class': 'chat-tooltip',
|
|
43
43
|
'theme': 'light',
|
|
44
44
|
'shadow': false,
|
|
45
45
|
'hide-delay-mobile': 0,
|
|
46
46
|
'hideDelayAfterClick': 3000,
|
|
47
|
-
'hide-delay':
|
|
47
|
+
'hide-delay': 100
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
@@ -57,12 +57,11 @@ export class IonListConversationsComponent extends ListConversationsComponent im
|
|
|
57
57
|
public kvDiffers: KeyValueDiffers,
|
|
58
58
|
public platform: Platform,
|
|
59
59
|
private translate: TranslateService,
|
|
60
|
-
// private events: EventsService,
|
|
61
|
-
// private tiledeskService: TiledeskService,
|
|
62
60
|
private networkService: NetworkService,
|
|
63
61
|
private appConfigProvider: AppConfigProvider,
|
|
64
62
|
private sanitizer: DomSanitizer,
|
|
65
|
-
public tiledeskAuthService: TiledeskAuthService
|
|
63
|
+
public tiledeskAuthService: TiledeskAuthService,
|
|
64
|
+
|
|
66
65
|
) {
|
|
67
66
|
super(iterableDiffers, kvDiffers)
|
|
68
67
|
this.setMomentLocale();
|
|
@@ -88,18 +87,24 @@ export class IonListConversationsComponent extends ListConversationsComponent im
|
|
|
88
87
|
|
|
89
88
|
// console.log('[ION-LIST-CONVS-COMP] - DASHBOARD_BASE_URL ', DASHBOARD_BASE_URL)
|
|
90
89
|
this.PROJECT_FOR_PANEL = this.sanitizer.bypassSecurityTrustResourceUrl(DASHBOARD_BASE_URL + '#/project-for-panel');
|
|
91
|
-
this.
|
|
90
|
+
this.translateLbls();
|
|
91
|
+
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
|
|
95
|
+
translateLbls() {
|
|
95
96
|
this.translate.get('Resolve')
|
|
96
97
|
.subscribe((text: string) => {
|
|
97
98
|
// this.deleteContact_msg = text;
|
|
98
|
-
|
|
99
|
+
this.resolve_btn_tooltip = text;
|
|
100
|
+
// console.log('[ION-LIST-CONVS-COMP] getTranslations Resolve : ', text)
|
|
99
101
|
|
|
102
|
+
});
|
|
103
|
+
this.translate.get('Archive')
|
|
104
|
+
.subscribe((text: string) => {
|
|
105
|
+
// this.deleteContact_msg = text;
|
|
100
106
|
this.archive_btn_tooltip = text;
|
|
101
|
-
|
|
102
|
-
|
|
107
|
+
// console.log('[ION-LIST-CONVS-COMP] getTranslations Resolve : ', text)
|
|
103
108
|
});
|
|
104
109
|
}
|
|
105
110
|
|
|
@@ -1,49 +1,39 @@
|
|
|
1
|
-
|
|
2
1
|
<ion-header no-border class="ion-no-border">
|
|
3
2
|
<ion-toolbar style="height:60px">
|
|
4
3
|
<ion-buttons slot="start" style="height:60px">
|
|
5
4
|
<!-- (click)="pushPage('conversations-list')" defaultHref="/conversations-list" -->
|
|
6
5
|
<ion-back-button style="display: block;" text="" *ngIf="isMobile" (click)="goBackToConversationList()">
|
|
7
|
-
</ion-back-button>
|
|
6
|
+
</ion-back-button>
|
|
8
7
|
</ion-buttons>
|
|
9
8
|
|
|
10
9
|
<ion-title [class.info-open]="openInfoConversation || openInfoMessage">
|
|
11
10
|
|
|
12
11
|
<div *ngIf="conversationAvatar" class="avatar-and-typing-wpr">
|
|
13
12
|
<!-- [ngStyle] = "{ 'left': platformName === 'ios' ? '55px' : '' }" -->
|
|
14
|
-
<div *ngIf="conversationAvatar" class="avatar-container"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
></app-avatar-profile>
|
|
13
|
+
<div *ngIf="conversationAvatar" class="avatar-container"
|
|
14
|
+
[ngClass]="{ 'avatar-container-ios': platformName === 'ios' }">
|
|
15
|
+
<app-avatar-profile [itemAvatar]=conversationAvatar></app-avatar-profile>
|
|
18
16
|
</div>
|
|
19
17
|
<!-- [ngStyle] = "{ 'left': platformName === 'ios' ? '63px' : '' }" -->
|
|
20
|
-
<div *ngIf="isDirect" class="user-presence" [ngClass]
|
|
21
|
-
<app-user-presence
|
|
22
|
-
[
|
|
23
|
-
[translationMap] = translationMap
|
|
24
|
-
[borderColor] = borderColor
|
|
25
|
-
[fontColor] = fontColor>
|
|
18
|
+
<div *ngIf="isDirect" class="user-presence" [ngClass]="{ 'user-presence-ios': platformName === 'ios' }">
|
|
19
|
+
<app-user-presence [idUser]=conversationAvatar.conversation_with [translationMap]=translationMap
|
|
20
|
+
[borderColor]=borderColor [fontColor]=fontColor>
|
|
26
21
|
</app-user-presence>
|
|
27
22
|
</div>
|
|
28
23
|
|
|
29
24
|
<div *ngIf="conversationAvatar" class="user-typing">
|
|
30
|
-
<app-user-typing
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
[isDirect] = isDirect
|
|
34
|
-
[translationMap] = translationMap
|
|
35
|
-
[color] = fontColor
|
|
36
|
-
[membersConversation] = membersConversation
|
|
37
|
-
></app-user-typing>
|
|
25
|
+
<app-user-typing [idConversation]=conversationAvatar.uid [idCurrentUser]=idLoggedUser [isDirect]=isDirect
|
|
26
|
+
[translationMap]=translationMap [color]=fontColor [membersConversation]=membersConversation>
|
|
27
|
+
</app-user-typing>
|
|
38
28
|
</div>
|
|
39
29
|
|
|
40
30
|
</div>
|
|
41
31
|
<!-- [ngClass] = "{ 'tile-info-with-ios': platformName === 'ios' ? '82px' : ''82px'' }" -->
|
|
42
|
-
<div *ngIf="conversationAvatar" class="tile-info-with" (click)="onOpenCloseInfoConversation()"
|
|
43
|
-
|
|
32
|
+
<div *ngIf="conversationAvatar" class="tile-info-with" (click)="onOpenCloseInfoConversation()"
|
|
33
|
+
[ngClass]="{ 'tile-info-with-ios': platformName === 'ios' }">
|
|
44
34
|
<!-- <span class="tile-username">{{ conversationAvatar.conversation_with_fullname }} </span> -->
|
|
45
35
|
<span class="tile-username">{{ conversation_with_fullname }} </span>
|
|
46
|
-
|
|
36
|
+
|
|
47
37
|
</div>
|
|
48
38
|
|
|
49
39
|
<!-- <div *ngIf="conversationWithFullname" class="tile-info-with" (click)="onOpenCloseInfoConversation()">
|
|
@@ -54,15 +44,22 @@
|
|
|
54
44
|
<!-- openInfoConversation {{openInfoConversation}} -->
|
|
55
45
|
<ion-buttons slot="end">
|
|
56
46
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
47
|
+
<ion-button *ngIf="idConv.startsWith('support-group')" ion-button fill="clear" color="primary" size="small" (click)="closeConversation()" [ngClass]="{'resolve-conv-margin-right': !isMobile}" style="">
|
|
48
|
+
<!-- <ion-icon slot="icon-only" name="alert-circle-outline"></ion-icon> -->
|
|
49
|
+
<ion-icon name="archive-outline"></ion-icon>
|
|
50
|
+
<!-- <ion-icon slot="icon-only" name="information-outline"></ion-icon> -->
|
|
51
|
+
<span style="text-transform: capitalize; margin-left: 5px;"> {{ 'Resolve' | translate}} </span>
|
|
52
|
+
</ion-button>
|
|
53
|
+
|
|
54
|
+
<ion-button *ngIf="!openInfoConversation" ion-button fill="clear" (click)="onOpenCloseInfoConversation()">
|
|
55
|
+
<!-- <ion-icon slot="icon-only" name="alert-circle-outline"></ion-icon> -->
|
|
56
|
+
<ion-icon slot="icon-only" name="information-circle-outline"></ion-icon>
|
|
57
|
+
<!-- <ion-icon slot="icon-only" name="information-outline"></ion-icon> -->
|
|
58
|
+
|
|
59
|
+
</ion-button>
|
|
60
|
+
<ion-button *ngIf="openInfoConversation" ion-button fill="clear" (click)="onOpenCloseInfoConversation()">
|
|
61
|
+
<ion-icon slot="icon-only" name="close-circle-outline"></ion-icon>
|
|
62
|
+
</ion-button>
|
|
66
63
|
|
|
67
64
|
</ion-buttons>
|
|
68
65
|
|
|
@@ -7,6 +7,10 @@ import { LoggerService } from 'src/chat21-core/providers/abstract/logger.service
|
|
|
7
7
|
import { LoggerInstance } from 'src/chat21-core/providers/logger/loggerInstance';
|
|
8
8
|
import { setConversationAvatar, setChannelType } from 'src/chat21-core/utils/utils';
|
|
9
9
|
import { Platform } from '@ionic/angular';
|
|
10
|
+
// import { TiledeskAuthService } from 'src/chat21-core/providers/tiledesk/tiledesk-auth.service';
|
|
11
|
+
// import { TiledeskService } from 'src/app/services/tiledesk/tiledesk.service';
|
|
12
|
+
import { EventsService } from 'src/app/services/events-service';
|
|
13
|
+
|
|
10
14
|
@Component({
|
|
11
15
|
selector: 'app-header-conversation-detail',
|
|
12
16
|
templateUrl: './header-conversation-detail.component.html',
|
|
@@ -44,7 +48,10 @@ export class HeaderConversationDetailComponent implements OnInit, OnChanges {
|
|
|
44
48
|
public imageRepoService: ImageRepoService,
|
|
45
49
|
private route: ActivatedRoute,
|
|
46
50
|
public platform: Platform,
|
|
47
|
-
private router: Router
|
|
51
|
+
private router: Router,
|
|
52
|
+
// public tiledeskAuthService: TiledeskAuthService,
|
|
53
|
+
// public tiledeskService: TiledeskService,
|
|
54
|
+
public events: EventsService,
|
|
48
55
|
) {
|
|
49
56
|
this.route.paramMap.subscribe(params => {
|
|
50
57
|
|
|
@@ -58,6 +65,10 @@ export class HeaderConversationDetailComponent implements OnInit, OnChanges {
|
|
|
58
65
|
});
|
|
59
66
|
}
|
|
60
67
|
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
61
72
|
// ----------------------------------------------------
|
|
62
73
|
// @ Lifehooks
|
|
63
74
|
// ----------------------------------------------------
|
|
@@ -113,7 +124,10 @@ export class HeaderConversationDetailComponent implements OnInit, OnChanges {
|
|
|
113
124
|
this.platformName = 'android'
|
|
114
125
|
this.logger.log('getPlatformName platformName', this.platformName)
|
|
115
126
|
}
|
|
127
|
+
}
|
|
116
128
|
|
|
129
|
+
closeConversation() {
|
|
130
|
+
this.events.publish('hasclosedconversation', this.idConv);
|
|
117
131
|
}
|
|
118
132
|
|
|
119
133
|
onOpenCloseInfoConversation() {
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
[groupDetail]="groupDetail">
|
|
11
11
|
</app-info-group>
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<app-info-support-group *ngIf="panelType === 'support-group-panel'"
|
|
14
14
|
[urlConversationSupportGroup]="urlConversationSupportGroup">
|
|
15
|
-
</app-info-support-group>
|
|
15
|
+
</app-info-support-group>
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
</ion-content>
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
<!-- <ion-icon name="file-tray-full-outline"></ion-icon> -->
|
|
20
20
|
</ion-button>
|
|
21
21
|
|
|
22
|
-
<ion-button *ngIf="
|
|
23
|
-
|
|
24
|
-
<ion-icon slot="icon-only" name="people-outline"></ion-icon>
|
|
22
|
+
<ion-button *ngIf="writeto_btn" ion-button fill="clear" (click)="onOpenContactsDirectory($event)">
|
|
23
|
+
<ion-icon slot="icon-only" name="create-outline"></ion-icon>
|
|
24
|
+
<!-- <ion-icon slot="icon-only" name="people-outline"></ion-icon> -->
|
|
25
25
|
|
|
26
26
|
</ion-button>
|
|
27
27
|
|
|
@@ -9,7 +9,7 @@ export class DdpHeaderComponent implements OnInit {
|
|
|
9
9
|
@Input() numberOpenConv: number;
|
|
10
10
|
@Input() supportMode: boolean;
|
|
11
11
|
@Input() archived_btn: boolean;
|
|
12
|
-
@Input()
|
|
12
|
+
@Input() writeto_btn: boolean;
|
|
13
13
|
@Output() openContactsDirectory = new EventEmitter();
|
|
14
14
|
@Output() openProfileInfo = new EventEmitter();
|
|
15
15
|
IS_ON_MOBILE_DEVICE: boolean;
|
|
@@ -25,7 +25,7 @@ export class DdpHeaderComponent implements OnInit {
|
|
|
25
25
|
if (/Android|iPhone/i.test(window.navigator.userAgent)) {
|
|
26
26
|
this.IS_ON_MOBILE_DEVICE = true;
|
|
27
27
|
}
|
|
28
|
-
console.log('[DDP-HEADER] IS_ON_MOBILE_DEVICE', this.IS_ON_MOBILE_DEVICE)
|
|
28
|
+
// console.log('[DDP-HEADER] IS_ON_MOBILE_DEVICE', this.IS_ON_MOBILE_DEVICE)
|
|
29
29
|
return this.IS_ON_MOBILE_DEVICE;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</g>
|
|
24
24
|
</svg>
|
|
25
25
|
</div>
|
|
26
|
-
<div class="unassigned-notifications-badge">
|
|
26
|
+
<div class="unassigned-notifications-badge" *ngIf="unservedRequestCount > 0">
|
|
27
27
|
<!-- || currentUserRequestCount > 0 -->
|
|
28
28
|
<!-- <span *ngIf="unservedRequestCount > 0 "> -->
|
|
29
29
|
<!-- + currentUserRequestCount -->
|
|
@@ -71,7 +71,7 @@ export class ProjectItemComponent implements OnInit {
|
|
|
71
71
|
if (/Android|iPhone/i.test(window.navigator.userAgent)) {
|
|
72
72
|
this.IS_ON_MOBILE_DEVICE = true;
|
|
73
73
|
}
|
|
74
|
-
console.log('[PROJECT-ITEM] IS_ON_MOBILE_DEVICE', this.IS_ON_MOBILE_DEVICE)
|
|
74
|
+
// console.log('[PROJECT-ITEM] IS_ON_MOBILE_DEVICE', this.IS_ON_MOBILE_DEVICE)
|
|
75
75
|
return this.IS_ON_MOBILE_DEVICE;
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -8,4 +8,15 @@
|
|
|
8
8
|
color: #feb92c;
|
|
9
9
|
background-color: #2d323e;
|
|
10
10
|
border-radius: 50%;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// #sidebar_wrapper::-webkit-scrollbar {
|
|
14
|
+
// width: 6px;
|
|
15
|
+
// }
|
|
16
|
+
// #sidebar_wrapper::-webkit-scrollbar-track {
|
|
17
|
+
// background-color: #1c2b45;
|
|
18
|
+
// }
|
|
19
|
+
// #sidebar_wrapper::-webkit-scrollbar-thumb {
|
|
20
|
+
// background-color: #3c485b;
|
|
21
|
+
// border-radius: 3px;
|
|
22
|
+
// }
|