@chat21/chat21-ionic 3.0.60-rc6 → 3.0.61-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.
Files changed (99) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/LICENSE +661 -21
  3. package/README.md +2 -0
  4. package/angular.json +2 -0
  5. package/env.sample +3 -1
  6. package/package.json +5 -1
  7. package/src/app/app.component.html +11 -2
  8. package/src/app/app.component.scss +13 -1
  9. package/src/app/app.component.ts +70 -23
  10. package/src/app/app.module.ts +3 -2
  11. package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +62 -36
  12. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +2 -2
  13. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +64 -14
  14. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +2 -3
  15. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +5 -2
  16. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +4 -0
  17. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +2 -2
  18. package/src/app/components/conversation-info/info-content/info-content.component.html +2 -2
  19. package/src/app/components/ddp-header/ddp-header.component.html +14 -7
  20. package/src/app/components/ddp-header/ddp-header.component.scss +4 -0
  21. package/src/app/components/ddp-header/ddp-header.component.ts +21 -2
  22. package/src/app/components/project-item/project-item.component.html +37 -14
  23. package/src/app/components/project-item/project-item.component.scss +35 -15
  24. package/src/app/components/project-item/project-item.component.ts +17 -4
  25. package/src/app/components/sidebar/sidebar.component.html +210 -0
  26. package/src/app/components/sidebar/sidebar.component.scss +11 -0
  27. package/src/app/components/sidebar/sidebar.component.spec.ts +24 -0
  28. package/src/app/components/sidebar/sidebar.component.ts +400 -0
  29. package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +102 -0
  30. package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +310 -0
  31. package/src/app/components/sidebar-user-details/sidebar-user-details.component.spec.ts +24 -0
  32. package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +423 -0
  33. package/src/app/pages/conversation-detail/conversation-detail.page.html +34 -45
  34. package/src/app/pages/conversation-detail/conversation-detail.page.ts +154 -84
  35. package/src/app/pages/conversations-list/conversations-list.page.html +11 -7
  36. package/src/app/pages/conversations-list/conversations-list.page.ts +34 -9
  37. package/src/app/pages/profile-info/profile-info.page.html +2 -2
  38. package/src/app/pages/profile-info/profile-info.page.ts +23 -21
  39. package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +3 -3
  40. package/src/app/shared/shared.module.ts +16 -2
  41. package/src/assets/i18n/de.json +226 -0
  42. package/src/assets/i18n/en.json +25 -4
  43. package/src/assets/i18n/es.json +26 -5
  44. package/src/assets/i18n/fr.json +226 -0
  45. package/src/assets/i18n/it.json +26 -5
  46. package/src/assets/i18n/pt.json +226 -0
  47. package/src/assets/i18n/ru.json +226 -0
  48. package/src/assets/i18n/tr.json +227 -0
  49. package/src/assets/images/language_flag/ar.png +0 -0
  50. package/src/assets/images/language_flag/bg.png +0 -0
  51. package/src/assets/images/language_flag/ca.png +0 -0
  52. package/src/assets/images/language_flag/cs.png +0 -0
  53. package/src/assets/images/language_flag/da.png +0 -0
  54. package/src/assets/images/language_flag/de.png +0 -0
  55. package/src/assets/images/language_flag/el.png +0 -0
  56. package/src/assets/images/language_flag/en.png +0 -0
  57. package/src/assets/images/language_flag/es.png +0 -0
  58. package/src/assets/images/language_flag/fa.png +0 -0
  59. package/src/assets/images/language_flag/fi.png +0 -0
  60. package/src/assets/images/language_flag/fr.png +0 -0
  61. package/src/assets/images/language_flag/he.png +0 -0
  62. package/src/assets/images/language_flag/hi.png +0 -0
  63. package/src/assets/images/language_flag/hu.png +0 -0
  64. package/src/assets/images/language_flag/id.png +0 -0
  65. package/src/assets/images/language_flag/it.png +0 -0
  66. package/src/assets/images/language_flag/ja.png +0 -0
  67. package/src/assets/images/language_flag/ko.png +0 -0
  68. package/src/assets/images/language_flag/ml-IN.png +0 -0
  69. package/src/assets/images/language_flag/ne-NP.png +0 -0
  70. package/src/assets/images/language_flag/nl.png +0 -0
  71. package/src/assets/images/language_flag/no.png +0 -0
  72. package/src/assets/images/language_flag/pl.png +0 -0
  73. package/src/assets/images/language_flag/pt-BR.png +0 -0
  74. package/src/assets/images/language_flag/pt.png +0 -0
  75. package/src/assets/images/language_flag/ro.png +0 -0
  76. package/src/assets/images/language_flag/ru.png +0 -0
  77. package/src/assets/images/language_flag/sk.png +0 -0
  78. package/src/assets/images/language_flag/sl.png +0 -0
  79. package/src/assets/images/language_flag/sv-SE.png +0 -0
  80. package/src/assets/images/language_flag/ta.png +0 -0
  81. package/src/assets/images/language_flag/th.png +0 -0
  82. package/src/assets/images/language_flag/tr.png +0 -0
  83. package/src/assets/images/language_flag/uk.png +0 -0
  84. package/src/assets/images/language_flag/vi.png +0 -0
  85. package/src/assets/images/language_flag/zh-CN.png +0 -0
  86. package/src/assets/images/language_flag/zh-TW.png +0 -0
  87. package/src/assets/images/no_image_user.png +0 -0
  88. package/src/assets/js/chat21client.js +16 -3
  89. package/src/assets/tiledesk-solo-logo.png +0 -0
  90. package/src/chat-config-pre-test.json +3 -0
  91. package/src/chat-config-template.json +4 -1
  92. package/src/chat-config.json +4 -1
  93. package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +54 -43
  94. package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +23 -0
  95. package/src/chat21-core/providers/mqtt/mqtt-archivedconversations-handler.ts +1 -1
  96. package/src/chat21-core/utils/constants.ts +2 -0
  97. package/src/chat21-core/utils/utils.ts +12 -1
  98. package/src/global.scss +451 -3
  99. package/src/index.html +7 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.61-rc2
4
+ - Fixes the bug: Profile picture in the sidebar does not update when logged in with another user after logging out
5
+ - Bug Fix: in the "info-profile" page avoid the "uid of undefined" error
6
+ - Adds the "user details" sidebar
7
+ - Adds the languages flags images
8
+ - Allows to close the "user details" sidebar by clicking outside it
9
+ - Adds the tooltips to the links of the sidebar
10
+ - 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
11
+ - Hides in the item showing unassigned conversations the button to pin a project if the app is not on a mobile device
12
+ - Gets in the sidebar the feature tokens from the environment variables
13
+ - Install the "Roboto" font
14
+ - Changes font priority in global.scss: replace "Helvetica Neue" font with "Roboto" font
15
+ - Imports the "Poppins" font family into index.html
16
+ - Adds the "Resolve" tooltip to the "archive" button available in the conversation list
17
+ - 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
18
+ - Adds "teammatesButton" and "archivedButton" variables to the environments
19
+ - Adds the "TEAMMATES_BUTTON" and the "ARCHIVED_BUTTON" variables to the env.sample file
20
+ - Adds the "teammatesButton" and the "archivedButton" variables to the "chat-config-template.json" file and to "the chat-config.json" file
21
+ - Updates the section "Configuration" of the "README.md" file with the new variables "teammatesButton" and the "archivedButton"
22
+
23
+ ### 3.0.61-rc1
24
+ - Adds a sidebar that allows navigation to the dashboard
25
+
26
+ ### 3.0.60
27
+ - Deploys in production
28
+
29
+ ### 3.0.60-rc9
30
+ - Adds the message "All conversations served" in the conversation details section that appears when there are no active conversations
31
+ - 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
32
+
33
+ ### 3.0.60-rc8
34
+ - Fixes the bug: "info" messages sent by "SYSTEM" are not translated
35
+ - Adds the Portuguese language
36
+ - Adds the French language
37
+ - Adds the Russian language
38
+ - Adds the Turkish language
39
+
40
+ ### 3.0.60-rc7
41
+ - Adds German language
42
+ - Adds a method that translates chat texts based on the language of the browser settings if no preferred language is selected in the dashboard or based on the preferred language (ignoring the browser language)
43
+ - Manages the language used for translations from the "moment" library based on the language of the browser settings if no preferred language has been selected in the dashboard or on the preferred language selected (ignoring the browser language)
44
+ - Adds the ability to manage the visibility of canned responses in env.sample, chat-config-tempalte.json and chat-config.json
45
+ - Fixes the bug: in the 'item' that displays the pinned project and the number of the not assigned conversions the tooltip is not correctly displayed
46
+
3
47
  ### 3.0.60-rc6
4
48
  - Fixes the bug: push notifications are initialized even if the "pushEngine" configuration variable is set to "none"
5
49
  - Adds spanish language