@chat21/chat21-ionic 3.0.60-rc8 → 3.0.61-rc11

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.
Files changed (150) hide show
  1. package/CHANGELOG.md +83 -1
  2. package/LICENSE +661 -21
  3. package/README.md +2 -0
  4. package/angular.json +3 -0
  5. package/config.xml +5 -5
  6. package/deploy_pre.sh +10 -10
  7. package/deploy_prod.sh +5 -1
  8. package/env.sample +3 -1
  9. package/package.json +12 -7
  10. package/resources/{Android → android}/icon/drawable-hdpi-icon.png +0 -0
  11. package/resources/{Android → android}/icon/drawable-ldpi-icon.png +0 -0
  12. package/resources/{Android → android}/icon/drawable-mdpi-icon.png +0 -0
  13. package/resources/{Android → android}/icon/drawable-xhdpi-icon.png +0 -0
  14. package/resources/{Android → android}/icon/drawable-xxhdpi-icon.png +0 -0
  15. package/resources/{Android → android}/icon/drawable-xxxhdpi-icon.png +0 -0
  16. package/resources/{Android → android}/icon.png +0 -0
  17. package/resources/{Android → android}/splash/drawable-land-hdpi-screen.png +0 -0
  18. package/resources/{Android → android}/splash/drawable-land-ldpi-screen.png +0 -0
  19. package/resources/{Android → android}/splash/drawable-land-mdpi-screen.png +0 -0
  20. package/resources/{Android → android}/splash/drawable-land-xhdpi-screen.png +0 -0
  21. package/resources/{Android → android}/splash/drawable-land-xxhdpi-screen.png +0 -0
  22. package/resources/{Android → android}/splash/drawable-land-xxxhdpi-screen.png +0 -0
  23. package/resources/{Android → android}/splash/drawable-port-hdpi-screen.png +0 -0
  24. package/resources/{Android → android}/splash/drawable-port-ldpi-screen.png +0 -0
  25. package/resources/{Android → android}/splash/drawable-port-mdpi-screen.png +0 -0
  26. package/resources/{Android → android}/splash/drawable-port-xhdpi-screen.png +0 -0
  27. package/resources/{Android → android}/splash/drawable-port-xxhdpi-screen.png +0 -0
  28. package/resources/{Android → android}/splash/drawable-port-xxxhdpi-screen.png +0 -0
  29. package/resources/{Android → android}/splash.png +0 -0
  30. package/src/app/app-routing.module.ts +10 -0
  31. package/src/app/app.component.html +14 -4
  32. package/src/app/app.component.scss +18 -1
  33. package/src/app/app.component.ts +56 -22
  34. package/src/app/app.module.ts +7 -1
  35. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +7 -2
  36. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +103 -12
  37. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +39 -36
  38. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +5 -1
  39. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +147 -65
  40. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +3 -3
  41. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +12 -2
  42. package/src/app/components/ddp-header/ddp-header.component.html +20 -6
  43. package/src/app/components/ddp-header/ddp-header.component.scss +4 -0
  44. package/src/app/components/ddp-header/ddp-header.component.ts +104 -10
  45. package/src/app/components/project-item/project-item.component.html +8 -7
  46. package/src/app/components/project-item/project-item.component.scss +35 -15
  47. package/src/app/components/project-item/project-item.component.ts +15 -2
  48. package/src/app/components/sidebar/sidebar.component.html +274 -0
  49. package/src/app/components/sidebar/sidebar.component.scss +79 -0
  50. package/src/app/components/sidebar/sidebar.component.spec.ts +24 -0
  51. package/src/app/components/sidebar/sidebar.component.ts +493 -0
  52. package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +110 -0
  53. package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +318 -0
  54. package/src/app/components/sidebar-user-details/sidebar-user-details.component.spec.ts +24 -0
  55. package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +486 -0
  56. package/src/app/pages/conversation-detail/conversation-detail.module.ts +2 -1
  57. package/src/app/pages/conversation-detail/conversation-detail.page.html +40 -50
  58. package/src/app/pages/conversation-detail/conversation-detail.page.ts +1302 -774
  59. package/src/app/pages/conversations-list/conversations-list.module.ts +2 -1
  60. package/src/app/pages/conversations-list/conversations-list.page.html +18 -11
  61. package/src/app/pages/conversations-list/conversations-list.page.scss +9 -1
  62. package/src/app/pages/conversations-list/conversations-list.page.ts +753 -428
  63. package/src/app/pages/create-requester/create-requester-routing.module.ts +17 -0
  64. package/src/app/pages/create-requester/create-requester.module.ts +28 -0
  65. package/src/app/pages/create-requester/create-requester.page.html +67 -0
  66. package/src/app/pages/create-requester/create-requester.page.scss +30 -0
  67. package/src/app/pages/create-requester/create-requester.page.spec.ts +24 -0
  68. package/src/app/pages/create-requester/create-requester.page.ts +137 -0
  69. package/src/app/pages/create-ticket/create-ticket-routing.module.ts +17 -0
  70. package/src/app/pages/create-ticket/create-ticket.module.ts +28 -0
  71. package/src/app/pages/create-ticket/create-ticket.page.html +171 -0
  72. package/src/app/pages/create-ticket/create-ticket.page.scss +52 -0
  73. package/src/app/pages/create-ticket/create-ticket.page.spec.ts +24 -0
  74. package/src/app/pages/create-ticket/create-ticket.page.ts +423 -0
  75. package/src/app/pages/loader-preview/loader-preview.page.ts +226 -166
  76. package/src/app/pages/profile-info/profile-info.page.html +2 -2
  77. package/src/app/pages/profile-info/profile-info.page.scss +1 -1
  78. package/src/app/pages/profile-info/profile-info.page.ts +23 -21
  79. package/src/app/services/tiledesk/tiledesk.service.ts +181 -0
  80. package/src/app/shared/shared.module.ts +13 -0
  81. package/src/app/utils/scrollbar-theme.directive.ts +58 -24
  82. package/src/assets/i18n/de.json +56 -13
  83. package/src/assets/i18n/en.json +49 -6
  84. package/src/assets/i18n/es.json +48 -5
  85. package/src/assets/i18n/fr.json +51 -8
  86. package/src/assets/i18n/it.json +48 -5
  87. package/src/assets/i18n/pt.json +49 -6
  88. package/src/assets/i18n/ru.json +50 -7
  89. package/src/assets/i18n/sr.json +251 -0
  90. package/src/assets/i18n/tr.json +48 -5
  91. package/src/assets/images/default-avatar-x-select.png +0 -0
  92. package/src/assets/images/language_flag/ar.png +0 -0
  93. package/src/assets/images/language_flag/bg.png +0 -0
  94. package/src/assets/images/language_flag/ca.png +0 -0
  95. package/src/assets/images/language_flag/cs.png +0 -0
  96. package/src/assets/images/language_flag/da.png +0 -0
  97. package/src/assets/images/language_flag/de.png +0 -0
  98. package/src/assets/images/language_flag/el.png +0 -0
  99. package/src/assets/images/language_flag/en.png +0 -0
  100. package/src/assets/images/language_flag/es.png +0 -0
  101. package/src/assets/images/language_flag/fa.png +0 -0
  102. package/src/assets/images/language_flag/fi.png +0 -0
  103. package/src/assets/images/language_flag/fr.png +0 -0
  104. package/src/assets/images/language_flag/he.png +0 -0
  105. package/src/assets/images/language_flag/hi.png +0 -0
  106. package/src/assets/images/language_flag/hr.png +0 -0
  107. package/src/assets/images/language_flag/hu.png +0 -0
  108. package/src/assets/images/language_flag/id.png +0 -0
  109. package/src/assets/images/language_flag/it.png +0 -0
  110. package/src/assets/images/language_flag/ja.png +0 -0
  111. package/src/assets/images/language_flag/ko.png +0 -0
  112. package/src/assets/images/language_flag/ml-IN.png +0 -0
  113. package/src/assets/images/language_flag/ne-NP.png +0 -0
  114. package/src/assets/images/language_flag/nl.png +0 -0
  115. package/src/assets/images/language_flag/no.png +0 -0
  116. package/src/assets/images/language_flag/pl.png +0 -0
  117. package/src/assets/images/language_flag/pt-BR.png +0 -0
  118. package/src/assets/images/language_flag/pt.png +0 -0
  119. package/src/assets/images/language_flag/ro.png +0 -0
  120. package/src/assets/images/language_flag/ru.png +0 -0
  121. package/src/assets/images/language_flag/sk.png +0 -0
  122. package/src/assets/images/language_flag/sl.png +0 -0
  123. package/src/assets/images/language_flag/sr.png +0 -0
  124. package/src/assets/images/language_flag/sv-SE.png +0 -0
  125. package/src/assets/images/language_flag/ta.png +0 -0
  126. package/src/assets/images/language_flag/th.png +0 -0
  127. package/src/assets/images/language_flag/tr.png +0 -0
  128. package/src/assets/images/language_flag/uk.png +0 -0
  129. package/src/assets/images/language_flag/vi.png +0 -0
  130. package/src/assets/images/language_flag/zh-CN.png +0 -0
  131. package/src/assets/images/language_flag/zh-TW.png +0 -0
  132. package/src/assets/images/no_image_user.png +0 -0
  133. package/src/assets/images/priority_icons/high.svg +3 -0
  134. package/src/assets/images/priority_icons/high_v2.svg +14 -0
  135. package/src/assets/images/priority_icons/low.svg +10 -0
  136. package/src/assets/images/priority_icons/low_v2.svg +14 -0
  137. package/src/assets/images/priority_icons/medium.svg +16 -0
  138. package/src/assets/images/priority_icons/medium_v2.svg +11 -0
  139. package/src/assets/images/priority_icons/urgent.svg +4 -0
  140. package/src/assets/images/priority_icons/urgent_v2.svg +16 -0
  141. package/src/assets/tiledesk-solo-logo.png +0 -0
  142. package/src/chat-config-pre-test.json +3 -1
  143. package/src/chat-config-template.json +3 -1
  144. package/src/chat-config.json +4 -2
  145. package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +1 -1
  146. package/src/chat21-core/utils/constants.ts +6 -1
  147. package/src/global.scss +397 -3
  148. package/src/index.html +7 -0
  149. package/publish_pre.sh +0 -33
  150. package/publish_prod.sh +0 -33
package/CHANGELOG.md CHANGED
@@ -1,7 +1,89 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.61-rc11
4
+ - Fixed the bug: the "Resolve" button is displayed in the header of the details of the archived conversations
5
+ - Fixed the bug: in the header of the conversation detail the "Resolve" button remains active even after resolving the conversation
6
+ - Adds the ability to create a ticket
7
+ - Adds tooltips to the buttons available in the header of the conversation list
8
+ - Change the text of the "Conversations" menu item in the left sidebar to "Monitor"
9
+
10
+ ### 3.0.61-rc10
11
+ - Fixes the bug: the Analytics icon of the left sidebar is not displayed
12
+
13
+ ### 3.0.61-rc9
14
+ - Fixes the bug: the Apps icon of the left sidebar is not displayed
15
+
16
+ ### 3.0.61-rc8
17
+ - Changes the icon of the "Conversations" menu item to the left sidebar
18
+ - Adds Serbian language
19
+
20
+ ### 3.0.61-rc7
21
+ - Fixes the bug: while loading the app, the conversation list changes size and becomes wider
22
+ - Changes the style of the left sidebar
23
+ - Display in the "user data drawer" an avatar constructed with the initials of the logged in teammate if his profile picture is not available
24
+
25
+ ### 3.0.61-rc6
26
+ - Enhances the style of the sidebar tooltips
27
+ - Fixed bug: for direct conversations opening the "info sidebar" by clicking on the teammate avatar available in the conversation detail header does not work correctly
28
+ - Fixes the bug: not all chat strings are translated into the browser language or into the selected language
29
+ - Fixes the bug: Email is broken on dashes in user details sidebar
30
+ - Displays an alert when a teammate archives a conversation from a project they are no longer a part of
31
+ - Disable the "send message" textarea when a teammate replies to a support conversation of a project he is no longer a part of
32
+ - Adds, when an image is pasted in the "send message" text area, the text of the text area as a caption of the image preview modal window
33
+ - Adds, when an image is uploaded, the text of the "send message" text area as a caption of the image preview modal window
34
+
35
+ ### 3.0.61-rc5
36
+ - Fixes the bug: on mobile devices the chat content is shifted to the right
37
+ - Adds the ability to open and close the "user detail sidebar" by clicking on the avatar of the logged teammate present on the sidebar
38
+ - Fixes the bug: canned responses remain visible even if, after making a filter, the backslash is deleted
39
+ - Prevents the "open canned responses" button from inserting a backslash if another one exists before
40
+ - Hides the badge that displays the number of unassigned conversations if there are none
41
+ - Improves custom scrollbar displayed in the sidebar and in user detail sidebar
42
+ - Adds custom scrollbars to the conversation list and to the conversation detail
43
+
44
+ ### 3.0.61-rc4
45
+ - Hides the item showing unassigned conversations in the list of archived conversations
46
+ - 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"
47
+ - Changes all occurrences of the "teammatesButton" environment variable to "writeToButton"
48
+ - 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
49
+ - Moves for conversations of type "support" the "Resolve conversation" button from the dropdown menu to the header of the conversation detail
50
+
51
+ ### 3.0.61-rc3
52
+ - Replaces console.log with custom loggers
53
+ - Fixes the bug: the info support sidebar is no more displayed
54
+
55
+ ### 3.0.61-rc2
56
+ - Fixes the bug: Profile picture in the sidebar does not update when logged in with another user after logging out
57
+ - Bug Fix: in the "info-profile" page avoid the "uid of undefined" error
58
+ - Adds the "user details" sidebar
59
+ - Adds the languages flags images
60
+ - Allows to close the "user details" sidebar by clicking outside it
61
+ - Adds the tooltips to the links of the sidebar
62
+ - Hides the sidebar when the teammate logs out, if the app is on a mobile device and if the environment variable "supportMode" is set to false
63
+ - Hides in the item showing unassigned conversations the button to pin a project if the app is not on a mobile device
64
+ - Gets in the sidebar the feature tokens from the environment variables
65
+ - Install the "Roboto" font
66
+ - Changes font priority in global.scss: replace "Helvetica Neue" font with "Roboto" font
67
+ - Imports the "Poppins" font family into index.html
68
+ - Adds the "Resolve" tooltip to the "archive" button available in the conversation list
69
+ - Displays the "Resolved Conversations" button and the "Teammates" button in the header of the conversation list based on how the "teammatesButton" and "archivedButton" environment variables are set
70
+ - Adds "teammatesButton" and "archivedButton" variables to the environments
71
+ - Adds the "TEAMMATES_BUTTON" and the "ARCHIVED_BUTTON" variables to the env.sample file
72
+ - Adds the "teammatesButton" and the "archivedButton" variables to the "chat-config-template.json" file and to "the chat-config.json" file
73
+ - Updates the section "Configuration" of the "README.md" file with the new variables "teammatesButton" and the "archivedButton"
74
+
75
+ ### 3.0.61-rc1
76
+ - Adds a sidebar that allows navigation to the dashboard
77
+
78
+ ### 3.0.60
79
+ - Deploys in production
80
+
81
+ ### 3.0.60-rc9
82
+ - Adds the message "All conversations served" in the conversation details section that appears when there are no active conversations
83
+ - Fixes the bug: in the item that displays the number of unassigned conversations the button "fix a project" does not go to the right in mobile mode
84
+
3
85
  ### 3.0.60-rc8
4
- - Fixes the bug:: "info" messages sent by "SYSTEM" are not translated
86
+ - Fixes the bug: "info" messages sent by "SYSTEM" are not translated
5
87
  - Adds the Portuguese language
6
88
  - Adds the French language
7
89
  - Adds the Russian language