@chat21/chat21-ionic 3.0.83 → 3.0.86-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 +124 -4
- package/README.md +2 -2
- package/deploy_amazon_beta.sh +29 -0
- package/deploy_amazon_prod.sh +30 -0
- package/package.json +4 -3
- package/src/app/app-routing.module.ts +7 -2
- package/src/app/app.component.html +7 -1
- package/src/app/app.component.scss +20 -2
- package/src/app/app.component.ts +231 -114
- package/src/app/app.module.ts +8 -3
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.ts +8 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +86 -23
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +188 -88
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +42 -3
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +11 -24
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.scss +6 -10
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.spec.ts +2 -2
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +16 -26
- package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.html +5 -1
- package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.scss +22 -15
- package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.ts +25 -5
- package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.html +2 -1
- package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.scss +14 -15
- package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.ts +24 -5
- package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.html +6 -1
- package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.scss +12 -13
- package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.ts +26 -5
- package/src/app/chatlib/conversation-detail/message/frame/frame.component.html +8 -2
- package/src/app/chatlib/conversation-detail/message/frame/frame.component.scss +36 -0
- package/src/app/chatlib/conversation-detail/message/frame/frame.component.ts +2 -2
- package/src/app/chatlib/conversation-detail/message/html/html.component.ts +0 -1
- package/src/app/chatlib/conversation-detail/message/image/image.component.html +3 -2
- package/src/app/chatlib/conversation-detail/message/image/image.component.scss +17 -5
- package/src/app/chatlib/conversation-detail/message/image/image.component.ts +1 -1
- package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +3 -2
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.html +16 -6
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.scss +1 -3
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.ts +2 -0
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +78 -52
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +63 -20
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +14 -10
- package/src/app/components/canned-response/canned-response.component.html +9 -9
- package/src/app/components/canned-response/canned-response.component.scss +14 -7
- package/src/app/components/canned-response/canned-response.component.ts +5 -4
- package/src/app/components/contacts-directory/contacts-directory.component.html +22 -26
- package/src/app/components/contacts-directory/contacts-directory.component.scss +8 -6
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +64 -47
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +98 -61
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +24 -40
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component_2.html +116 -0
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +39 -42
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +67 -4
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +82 -152
- package/src/app/components/conversation-info/info-content/info-content.component.html +23 -2
- package/src/app/components/conversation-info/info-content/info-content.component.ts +3 -6
- package/src/app/components/conversation-info/info-direct/info-direct.component.html +7 -14
- package/src/app/components/conversation-info/info-direct/info-direct.component.scss +23 -0
- package/src/app/components/conversation-info/info-direct/info-direct.component.ts +1 -6
- package/src/app/components/conversation-info/info-group/info-group.component.html +44 -108
- package/src/app/components/conversation-info/info-group/info-group.component.scss +101 -61
- package/src/app/components/conversation-info/info-group/info-group.component.ts +1 -0
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.html +2 -1
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +0 -1
- package/src/app/components/{ddp-header/ddp-header.component.html → conversations-list/header-conversations-list/header-conversations-list.component.html} +3 -3
- package/src/app/components/{ddp-header/ddp-header.component.scss → conversations-list/header-conversations-list/header-conversations-list.component.scss} +16 -4
- package/src/app/components/{conversation-detail/bubble-my-message/bubble-my-message.component.spec.ts → conversations-list/header-conversations-list/header-conversations-list.component.spec.ts} +6 -6
- package/src/app/components/{ddp-header/ddp-header.component.ts → conversations-list/header-conversations-list/header-conversations-list.component.ts} +7 -16
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.html +12 -0
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +14 -0
- package/src/app/components/{conversation-detail/option-header/option-header.component.spec.ts → conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.spec.ts} +5 -5
- package/src/app/components/{conversation-detail/option-header/option-header.component.ts → conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.ts} +5 -4
- package/src/app/components/navbar/navbar.component.html +103 -0
- package/src/app/components/navbar/navbar.component.scss +249 -0
- package/src/app/components/{ddp-header/ddp-header.component.spec.ts → navbar/navbar.component.spec.ts} +6 -6
- package/src/app/components/navbar/navbar.component.ts +190 -0
- package/src/app/components/project-item/project-item.component.html +98 -149
- package/src/app/components/project-item/project-item.component.scss +43 -35
- package/src/app/components/project-item/project-item.component.ts +16 -4
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +5 -5
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +24 -13
- package/src/app/components/utils/user-presence/user-presence.component.html +7 -2
- package/src/app/components/utils/user-presence/user-presence.component.scss +35 -18
- package/src/app/components/utils/user-presence/user-presence.component.ts +6 -10
- package/src/app/{pages → modals}/create-canned-response/create-canned-response-routing.module.ts +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.module.ts +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.html +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.scss +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.spec.ts +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.ts +13 -13
- package/src/app/{pages → modals}/loader-preview/loader-preview-routing.module.ts +0 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.module.ts +0 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.html +1 -1
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.scss +4 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.spec.ts +0 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.ts +1 -2
- package/src/app/modals/send-email/send-email-routing.module.ts +17 -0
- package/src/app/modals/send-email/send-email.module.ts +31 -0
- package/src/app/modals/send-email/send-email.page.html +46 -0
- package/src/app/modals/send-email/send-email.page.scss +161 -0
- package/src/app/modals/send-email/send-email.page.spec.ts +24 -0
- package/src/app/modals/send-email/send-email.page.ts +89 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.html +1 -1
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +47 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +2 -0
- package/src/app/pages/conversation-detail/conversation-detail.module.ts +0 -8
- package/src/app/pages/conversation-detail/conversation-detail.page.html +48 -27
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +45 -254
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +361 -173
- package/src/app/pages/conversations-list/conversations-list.page.html +11 -8
- package/src/app/pages/conversations-list/conversations-list.page.scss +18 -2
- package/src/app/pages/conversations-list/conversations-list.page.ts +69 -65
- package/src/app/pages/profile-info/profile-info.page.html +2 -4
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +1 -1
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +42 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.ts +1 -0
- package/src/app/services/canned-responses/canned-responses.service.ts +26 -0
- package/src/app/services/projects/projects.service.spec.ts +12 -0
- package/src/app/services/projects/projects.service.ts +43 -0
- package/src/app/services/tiledesk/tiledesk.service.ts +33 -17
- package/src/app/services/websocket/websocket.service.ts +1 -1
- package/src/app/shared/shared.module.ts +24 -33
- package/src/app/utils/toast.spec.ts +7 -0
- package/src/app/utils/toast.ts +48 -0
- package/src/assets/i18n/ar.json +288 -265
- package/src/assets/i18n/az.json +24 -1
- package/src/assets/i18n/de.json +25 -2
- package/src/assets/i18n/en.json +25 -2
- package/src/assets/i18n/es.json +26 -3
- package/src/assets/i18n/fr.json +24 -1
- package/src/assets/i18n/it.json +24 -1
- package/src/assets/i18n/kk.json +25 -2
- package/src/assets/i18n/pt.json +25 -2
- package/src/assets/i18n/ru.json +24 -1
- package/src/assets/i18n/sr.json +287 -264
- package/src/assets/i18n/sv.json +25 -2
- package/src/assets/i18n/tr.json +25 -2
- package/src/assets/i18n/uk.json +25 -2
- package/src/assets/i18n/uz.json +24 -1
- package/src/assets/js/chat21client.js +175 -148
- package/src/assets/sounds/interface-start.mp3 +0 -0
- package/src/assets/sounds/wheep-wheep.mp3 +0 -0
- package/src/chat-config-mqtt-localhost.json +2 -2
- package/src/chat-config-native-mqtt.json +3 -0
- package/src/chat21-core/models/conversation.ts +0 -1
- package/src/chat21-core/models/projects.ts +27 -0
- package/src/chat21-core/providers/firebase/firebase-typing.service.ts +7 -9
- package/src/chat21-core/providers/mqtt/mqtt-auth-service.ts +7 -8
- package/src/chat21-core/utils/constants.ts +7 -1
- package/src/chat21-core/utils/convertRequestToConversation.ts +41 -0
- package/src/chat21-core/utils/user-typing/user-typing.component.html +8 -5
- package/src/chat21-core/utils/user-typing/user-typing.component.scss +87 -17
- package/src/chat21-core/utils/user-typing/user-typing.component.ts +12 -94
- package/src/chat21-core/utils/utils.ts +41 -11
- package/src/global.scss +59 -255
- package/src/index.html +0 -9
- package/src/variables.scss +30 -10
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.html +0 -3
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.scss +0 -21
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.spec.ts +0 -24
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.ts +0 -14
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.html +0 -54
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.scss +0 -98
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.ts +0 -84
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.html +0 -30
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.scss +0 -83
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.spec.ts +0 -24
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.ts +0 -68
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.html +0 -3
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.scss +0 -10
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.spec.ts +0 -24
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.ts +0 -14
- package/src/app/components/conversation-detail/option-header/option-header.component.html +0 -13
- package/src/app/components/conversation-detail/option-header/option-header.component.scss +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# chat21-ionic ver 3.0
|
|
2
2
|
|
|
3
|
+
### 3.0.86-rc.1
|
|
4
|
+
- added: send-email modal on Email footer option click
|
|
5
|
+
- added: handle window['analytics'] error
|
|
6
|
+
- added: send Offline message email if lead is offline and conversation is still open
|
|
7
|
+
- changed: info-conversation width from 300px to 320px
|
|
8
|
+
- changed: z-index of element when canned-list is open
|
|
9
|
+
- changed: chat21client.js file to 1.12.3
|
|
10
|
+
- changed: disable email section for direct conversations
|
|
11
|
+
- changed: do not reload right side bar conversation-info component
|
|
12
|
+
- bug-fixed: canned element is not focused on arrowDown keyboard action
|
|
13
|
+
- bug-fixed: if scroll over canned element, focus on text-area is missed
|
|
14
|
+
- bug-fixed: on text-area change, scroll conversation-detail if needed
|
|
15
|
+
- removed: 'Resolve' conversation button from header-conversation detail component
|
|
16
|
+
|
|
17
|
+
## 3.0.85 in PROD
|
|
18
|
+
- bug-fixed: remove focus from last edited canned
|
|
19
|
+
- changed: do not cache right side-bar conversation-info component
|
|
20
|
+
- changed: chat21client.js file to 1.12.3
|
|
21
|
+
|
|
22
|
+
## 3.0.84 in PROD
|
|
23
|
+
- bug-fixed: handle window['analytics] errors
|
|
24
|
+
|
|
3
25
|
## 3.0.83 in PROD
|
|
4
26
|
- bug-fixed: canned item is not visible (missing scroll position) if ArrowDown keyboard button is pressed
|
|
5
27
|
- bug-fixed: if ArrowUp keyboard button is pressed, text-area cursor moved left and canned not substituted correctly
|
|
@@ -8,19 +30,117 @@
|
|
|
8
30
|
- bug-fixed: do not disable textArea if is a direct archived conversation
|
|
9
31
|
- bug-fixed: canned item not fire click event on Firefox browser
|
|
10
32
|
|
|
11
|
-
|
|
33
|
+
### 3.0.82-rc.7
|
|
34
|
+
- bug-fixed: do not disable textArea if is a direct archived conversation
|
|
35
|
+
- bug-fixed: canned item not fire click event on Firefox browser
|
|
36
|
+
|
|
37
|
+
### 3.0.82-rc.6
|
|
38
|
+
- bug-fixed: axios is undefined in chat21Client.js
|
|
39
|
+
- bug-fixed: if userImage not exist in sidebar--user-detail, no info of fillColor exist
|
|
40
|
+
|
|
41
|
+
### 3.0.82-rc.3
|
|
42
|
+
- bug-fixed: incorrect dashboard urls in navbar
|
|
43
|
+
- changed: used logger in mqtt auth service
|
|
44
|
+
|
|
45
|
+
### 3.0.82-rc.2
|
|
46
|
+
- changed: 'force' parameter to /close post as body content
|
|
47
|
+
- changed: enabled MTT
|
|
48
|
+
- changed: position of 'LogOut' button in sidebar-user-detail component
|
|
49
|
+
- bug-fixed: removed scrollbar on firefox browser in conversation-list, contacts-directory pages
|
|
50
|
+
|
|
51
|
+
### 3.0.82-rc.1
|
|
52
|
+
- changed: forceArchive to force while calling /close API URL
|
|
53
|
+
- changed: chat21Client.js from 1.12.1 to 1.12.2
|
|
54
|
+
- changed: list conversations component with from 360px to 320px
|
|
55
|
+
|
|
56
|
+
### 3.0.81 in PROD
|
|
57
|
+
|
|
58
|
+
### 3.0.81-rc.3
|
|
59
|
+
- bug-fixed: if window width is less then 991px, move 'Close detail' icon to right
|
|
60
|
+
- changed: removed segment from index.html and loaded dynamically only if in not production
|
|
61
|
+
|
|
62
|
+
### 3.0.81-rc.2
|
|
63
|
+
- changed: canned loader
|
|
12
64
|
- bug-fixed: if search for a string that not correspond with an existing canned, was shown loader ever
|
|
13
65
|
|
|
14
|
-
|
|
66
|
+
### 3.0.81-rc.1
|
|
67
|
+
- added: remove bubble-message background if is image or iframe and no text is in message
|
|
68
|
+
- added: new sound if unassigned request arrive
|
|
69
|
+
- added: animation on hover an image
|
|
70
|
+
- added: parameter to /close to forse the closing of a conversation
|
|
71
|
+
- added: v.0.1.12.1 chatclient.js
|
|
72
|
+
- changed: info-message UI, image UI, frame UI
|
|
73
|
+
- bug-fixed: if click on canned icon, then close and clear '/' char, if click again on canned icon, '/' was not added to message text-area
|
|
74
|
+
|
|
75
|
+
### 3.0.80 in PROD
|
|
15
76
|
- bug-fixed: if search a canned response, after clicked it does not replaced into text-area
|
|
16
77
|
|
|
17
|
-
|
|
78
|
+
### 3.0.80-rc.1
|
|
79
|
+
- changed: moved sender_fullname inside bubble-message component
|
|
80
|
+
- changed: publish onConversationSelect event to stop audio after agent has clicked on it
|
|
81
|
+
- bug-fixed: /null loading flag_url in sidebar-user-detail
|
|
82
|
+
|
|
83
|
+
### 3.0.79 in PROD
|
|
18
84
|
- added: segment analytics events
|
|
19
85
|
|
|
20
|
-
|
|
86
|
+
### 3.0.79-rc.4
|
|
87
|
+
- bug-fixed: testsiteBaseUrl wrong value env property
|
|
88
|
+
|
|
89
|
+
### 3.0.79-rc.3
|
|
90
|
+
- added: segment analytics for SignIn-SignOut-Resolved-MsgAdded-ConvAdded
|
|
91
|
+
- added: navbar component if not mobile
|
|
92
|
+
- added: NAVBAR translations
|
|
93
|
+
- changed: minor improvements on UI
|
|
94
|
+
- changed: ion-split-pane UI if mobile
|
|
95
|
+
- changed: moved hover 'add canned' button from bubble-message to ion-conversation-detail component
|
|
96
|
+
- changed: moved addNewCanned to tiledesk service to canned-responses service
|
|
97
|
+
- bug-fixed: open/close detail icon not aligned correctly on click 'close'
|
|
98
|
+
|
|
99
|
+
### 3.0.79-rc.2
|
|
100
|
+
- added: new sound if new conversation is triggered in agent's chat
|
|
101
|
+
- changed: header UI of header-conversation-detail and unassigned-conversations components
|
|
102
|
+
|
|
103
|
+
### 3.0.79-rc.1
|
|
104
|
+
- added: LABEL_ONLINE, LABEL_OFFLINE translations
|
|
105
|
+
- changed: renamed ddp-header with conversations-list-header
|
|
106
|
+
- changed: unified control to mobile/desktop app
|
|
107
|
+
- changed: LABEL_AVAILABLE/NOT_AVAILABLE with LABEL_ONLINE/OFFLINE in user-presence component
|
|
108
|
+
- changed: icon to user-presence
|
|
109
|
+
- changed: UI for conversation-list, conversation-detail and info-group for desktop and mobile
|
|
110
|
+
- changed: renamed option-header component with header-conversations-list-archived
|
|
111
|
+
- changed: contacts-directory UI
|
|
112
|
+
- bug-fixed: if app is opened and user press width expand, move correctly the right position
|
|
113
|
+
|
|
114
|
+
## 3.0.78 in PROD
|
|
21
115
|
- bug-fixed: unassigned request not sound the if is the first at all
|
|
22
116
|
- bug-fixed: canned responses opens in incorrect mode
|
|
23
117
|
|
|
118
|
+
### 3.0.78-rc.4
|
|
119
|
+
- bug-fixed: unassigned request not sound the if is the first at all
|
|
120
|
+
- bug-fixed: translations missed
|
|
121
|
+
- bug-fixed: direct info not showed in conversation-header component
|
|
122
|
+
- removed: conversation-footer border top
|
|
123
|
+
- changed: colors to message-text-area icons and message-attachment components
|
|
124
|
+
|
|
125
|
+
### 3.0.78-rc.3
|
|
126
|
+
- changed: user-typing location moved from conversation-header to conversation-detail component
|
|
127
|
+
- changed: replace includes with startsWith for check what type of conversation is in project info conversation-list component
|
|
128
|
+
- added: styleMap integrations to some elements
|
|
129
|
+
- bug-fixed: no tooltip showed if no unserved request are present
|
|
130
|
+
|
|
131
|
+
### 3.0.78-rc.2
|
|
132
|
+
- changed: project item UI and tooltip msg
|
|
133
|
+
- changed: conversation UI in conversations list component
|
|
134
|
+
- changed: conversation detail header component
|
|
135
|
+
- added: open/close info-conversation moved from conversation-header to conversation detail component
|
|
136
|
+
- bug-fixed: canned responses opens in incorrect mode
|
|
137
|
+
|
|
138
|
+
### 3.0.78-rc.1
|
|
139
|
+
- changed: conversation-list page width increased
|
|
140
|
+
- changed: background changed in info-message component
|
|
141
|
+
- changed: project-item UI
|
|
142
|
+
- changed: conversation-list page UI
|
|
143
|
+
|
|
24
144
|
## 3.0.77 in PROD
|
|
25
145
|
|
|
26
146
|
### 3.0.77-rc.3
|
package/README.md
CHANGED
|
@@ -100,8 +100,8 @@ Use [Docker Compose Tiledesk installation guide](https://github.com/Tiledesk/til
|
|
|
100
100
|
},
|
|
101
101
|
"apiUrl": "https://<YOUR-TILEDESK-API-URL>",
|
|
102
102
|
"baseImageUrl": "https://<YOUR-BASE-IMAGE-URL>",
|
|
103
|
-
"dashboardUrl": "https://<YOUR-DASHBOARD-URL>"
|
|
104
|
-
"testsiteBaseUrl": "https:<YOUR-WIDGET-URL>/test_widget_page/index.html"
|
|
103
|
+
"dashboardUrl": "https://<YOUR-DASHBOARD-URL>"
|
|
104
|
+
"testsiteBaseUrl": "https:<YOUR-WIDGET-URL>/test_widget_page/index.html"
|
|
105
105
|
"wsUrl": 'ws://' + window.location.hostname + '/ws/',
|
|
106
106
|
}
|
|
107
107
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#npm version prerelease --preid=beta
|
|
2
|
+
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
|
+
echo "version $version"
|
|
4
|
+
|
|
5
|
+
URL_VER=${version//[.]//}
|
|
6
|
+
echo 'URL_VER: ---->'$URL_VER
|
|
7
|
+
|
|
8
|
+
sed -i -e "s/$URL_VER/g" src/utils/constants.ts
|
|
9
|
+
|
|
10
|
+
# ng build --prod --base-href /$NEW_BUILD/
|
|
11
|
+
#ionic cordova build browser --prod
|
|
12
|
+
|
|
13
|
+
ionic cordova platform add browser --save
|
|
14
|
+
#ionic cordova build browser --prod --release
|
|
15
|
+
ionic cordova build --configuration="pre" browser #--prod --verbose
|
|
16
|
+
|
|
17
|
+
cp -p src/firebase-messaging-sw.js platforms/browser/www/
|
|
18
|
+
cp -p src/manifest.json platforms/browser/www/
|
|
19
|
+
cp -p src/chat-config.json platforms/browser/www/
|
|
20
|
+
|
|
21
|
+
cd platforms/browser/www
|
|
22
|
+
aws s3 sync . s3://tiledesk-dashboard-pre/chat-ionic5/$version/ --cache-control max-age=300
|
|
23
|
+
aws s3 sync . s3://tiledesk-dashboard-pre/chat-ionic5/ --cache-control max-age=300
|
|
24
|
+
cd ../../../
|
|
25
|
+
|
|
26
|
+
#aws cloudfront create-invalidation --distribution-id E13L8CUUKUWAJF --paths "/*"
|
|
27
|
+
|
|
28
|
+
echo new version deployed on s3://tiledesk-dashboard-pre/chat-ionic5/$version/
|
|
29
|
+
echo available on https://s3.eu-west-1.amazonaws.com/tiledesk-dashboard-pre/chat-ionic5/$version/index.html
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# npm version patch
|
|
2
|
+
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
|
+
echo "version $version"
|
|
4
|
+
|
|
5
|
+
URL_VER=${version//[.]//}
|
|
6
|
+
echo 'URL_VER: ---->'$URL_VER
|
|
7
|
+
|
|
8
|
+
# sed -i -e "s/$start$ver.$build/$start$NEW_VER.$NEW_BUILD/g" src/utils/constants.ts
|
|
9
|
+
sed -i -e "s/$URL_VER/g" src/utils/constants.ts
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
ionic cordova platform add browser --save
|
|
13
|
+
#ionic cordova build --env=prod browser -- --base-href /www/ --prod
|
|
14
|
+
ionic cordova build --env=prod browser --prod
|
|
15
|
+
|
|
16
|
+
cp -p src/firebase-messaging-sw.js platforms/browser/www/
|
|
17
|
+
cp -p src/manifest.json platforms/browser/www/
|
|
18
|
+
cp -p src/chat-config.json platforms/browser/www/
|
|
19
|
+
|
|
20
|
+
cd platforms/browser/www
|
|
21
|
+
aws s3 sync . s3://tiledesk-console/v2/chat/ --cache-control max-age=172800
|
|
22
|
+
aws s3 sync . s3://tiledesk-console/v2/chat/$version/ --cache-control max-age=172800
|
|
23
|
+
# aws s3 sync . s3://tiledesk-console/v2/chat/latest/ --cache-control max-age=172800
|
|
24
|
+
cd ../../../
|
|
25
|
+
|
|
26
|
+
# aws cloudfront create-invalidation --distribution-id E36UIP90GOSFPM --paths "/*"
|
|
27
|
+
|
|
28
|
+
# echo new version deployed on s3://tiledesk-dashboard/chat/$NEW_BUILD/
|
|
29
|
+
echo new version deployed on s3://tiledesk-console/v2/chat/$version/
|
|
30
|
+
echo available on https://console.tiledesk.com/v2/chat/$version/index.html
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chat21/chat21-ionic",
|
|
3
3
|
"author": "Tiledesk SRL",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.86-rc.1",
|
|
5
5
|
"license": "MIT License",
|
|
6
6
|
"homepage": "https://tiledesk.com/",
|
|
7
7
|
"repository": {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"@ng-select/ng-select": "^3.7.3",
|
|
43
43
|
"@ngx-translate/core": "^12.1.2",
|
|
44
44
|
"@ngx-translate/http-loader": "^4.0.0",
|
|
45
|
+
"@types/marked": "^1.1.0",
|
|
45
46
|
"angular2-moment": "^1.9.0",
|
|
46
47
|
"autolinker": "^3.14.2",
|
|
47
48
|
"cordova-android": "9.1.0",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"core-js": "^2.5.4",
|
|
60
61
|
"file-saver": "^2.0.5",
|
|
61
62
|
"firebase": "^8.6.7",
|
|
62
|
-
"marked": "^2.
|
|
63
|
+
"marked": "^2.1.3",
|
|
63
64
|
"material-icons": "^1.11.2",
|
|
64
65
|
"moment": "^2.24.0",
|
|
65
66
|
"moment-timezone": "^0.5.28",
|
|
@@ -119,4 +120,4 @@
|
|
|
119
120
|
"android"
|
|
120
121
|
]
|
|
121
122
|
}
|
|
122
|
-
}
|
|
123
|
+
}
|
|
@@ -43,7 +43,7 @@ const routes: Routes = [
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
path: 'loader-preview',
|
|
46
|
-
loadChildren: () => import('./
|
|
46
|
+
loadChildren: () => import('./modals/loader-preview/loader-preview.module').then( m => m.LoaderPreviewPageModule)
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
path: 'unassigned-conversations',
|
|
@@ -59,13 +59,18 @@ const routes: Routes = [
|
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
path: 'create-canned-response',
|
|
62
|
-
loadChildren: () => import('./
|
|
62
|
+
loadChildren: () => import('./modals/create-canned-response/create-canned-response.module').then( m => m.CreateCannedResponsePageModule)
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
path: 'send-email',
|
|
66
|
+
loadChildren: () => import('./modals/send-email/send-email.module').then( m => m.SendEmailModalModule)
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
|
|
66
70
|
|
|
67
71
|
|
|
68
72
|
|
|
73
|
+
|
|
69
74
|
// {
|
|
70
75
|
// path: 'conversation-detail/:IDConv',
|
|
71
76
|
// loadChildren: () => import('./pages/conversation-detail/conversation-detail.module').then( m => m.ConversationDetailPageModule)
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
<app-network-offline></app-network-offline>
|
|
7
7
|
|
|
8
|
+
|
|
9
|
+
<app-navbar *ngIf="!IS_ON_MOBILE_DEVICE"
|
|
10
|
+
[isSoundEnabled]="isSoundEnabled"
|
|
11
|
+
(onSoundChange)="onSoundChange($event)">
|
|
12
|
+
</app-navbar>
|
|
13
|
+
|
|
8
14
|
<div class="sidebar" [ngClass]="{'hide-sidebar': IS_ONLINE === false || IS_ON_MOBILE_DEVICE === true || SUPPORT_MODE === false}">
|
|
9
15
|
<app-sidebar></app-sidebar>
|
|
10
16
|
</div>
|
|
@@ -13,7 +19,7 @@
|
|
|
13
19
|
<app-sidebar-user-details> </app-sidebar-user-details>
|
|
14
20
|
</div>
|
|
15
21
|
|
|
16
|
-
<ion-split-pane when="md" contentId="main">
|
|
22
|
+
<ion-split-pane when="md" contentId="main" [ngClass]="{'mobile': IS_ON_MOBILE_DEVICE}">
|
|
17
23
|
<!-- 'sidebar-visible': IS_ONLINE === true && SUPPORT_MODE === true, -->
|
|
18
24
|
<ion-nav #sidebarNav [root]="sidebarPage" [ngClass]="{'sidebar-hidden': IS_ON_MOBILE_DEVICE === true || SUPPORT_MODE === false}"></ion-nav>
|
|
19
25
|
<!-- our side menu -->
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
+
@import '../variables.scss';
|
|
2
|
+
|
|
1
3
|
.split-pane-md.split-pane-visible > .split-pane-side {
|
|
2
|
-
min-width: 312px;
|
|
4
|
+
min-width: 320px; //360px; //312px;
|
|
3
5
|
display: block; // Safari bug fix
|
|
4
|
-
margin-left:
|
|
6
|
+
margin-left: var(--sidebar-width);
|
|
7
|
+
--border: 0px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.split-pane-md:not(.mobile){
|
|
11
|
+
height: calc( 100% - var(--nav-bar-heigth));
|
|
12
|
+
margin-top: var(--nav-bar-heigth);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.navbar{
|
|
16
|
+
display: flex;
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0px;
|
|
5
19
|
}
|
|
6
20
|
|
|
7
21
|
.sidebar-visible {
|
|
@@ -20,6 +34,10 @@
|
|
|
20
34
|
left: 60px
|
|
21
35
|
}
|
|
22
36
|
|
|
37
|
+
// ion-nav {
|
|
38
|
+
// background-color: var(--list-bkg-color);
|
|
39
|
+
// }
|
|
40
|
+
|
|
23
41
|
// @media (min-width: 768px) {
|
|
24
42
|
// .split-pane-md.split-pane-visible > .split-pane-side {
|
|
25
43
|
// min-width: 312px;
|