diff --git a/.env.development b/.env.development index f5b345c..641216d 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VUE_APP_APIENDPOINT="/api/" VUE_APP_APIVERSION="v1" -VUE_APP_GATEWAYENDPOINT="http://localhost:23981" +VUE_APP_GATEWAYENDPOINT="/socket.io/" VUE_APP_STAGING=true VUE_APP_RELEASE="Canary" \ No newline at end of file diff --git a/assets/css/kaverti.css b/assets/css/kaverti.css index 71e8b88..5bdda17 100644 --- a/assets/css/kaverti.css +++ b/assets/css/kaverti.css @@ -1,3 +1,11 @@ .large-icon { font-size: 60px; +} +.vertical { + margin: 0; + position: absolute; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); } \ No newline at end of file diff --git a/package.json b/package.json index fcb794a..b86c6c5 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales 'src/locales/**/*.json'" }, "dependencies": { + "@kangc/v-md-editor": "^1.6.0", "@vue/cli": "^4.5.10", "axios": "^0.21.1", "buefy": "^0.9.4", @@ -17,6 +18,8 @@ "dotenv-webpack": "^6.0.0", "lodash.throttle": "^4.1.1", "socket.io": "^3.1.0", + "tiptap": "^1.32.0", + "tiptap-extensions": "^1.35.0", "to-boolean": "^1.0.0", "v-offline": "^1.3.0", "vue": "^2.6.11", diff --git a/src/App.vue b/src/App.vue index a5ef97e..271e935 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,6 @@ diff --git a/src/components/ChatMenu.vue b/src/components/ChatMenu.vue new file mode 100644 index 0000000..8abd684 --- /dev/null +++ b/src/components/ChatMenu.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/components/ChatPagination.vue b/src/components/ChatPagination.vue new file mode 100644 index 0000000..a3f7552 --- /dev/null +++ b/src/components/ChatPagination.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/components/ChatUserTyping.vue b/src/components/ChatUserTyping.vue new file mode 100644 index 0000000..1af1751 --- /dev/null +++ b/src/components/ChatUserTyping.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/components/ConversationMessage.vue b/src/components/ConversationMessage.vue new file mode 100644 index 0000000..b0c9cd8 --- /dev/null +++ b/src/components/ConversationMessage.vue @@ -0,0 +1,113 @@ + + + + + \ No newline at end of file diff --git a/src/components/ConversationTimeBreak.vue b/src/components/ConversationTimeBreak.vue new file mode 100644 index 0000000..61a197a --- /dev/null +++ b/src/components/ConversationTimeBreak.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/src/components/Editor.vue b/src/components/Editor.vue new file mode 100644 index 0000000..b737f5f --- /dev/null +++ b/src/components/Editor.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/components/EditorIcons.vue b/src/components/EditorIcons.vue new file mode 100644 index 0000000..e4964f9 --- /dev/null +++ b/src/components/EditorIcons.vue @@ -0,0 +1,67 @@ + + + + + \ No newline at end of file diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index e935454..3857ef2 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -224,7 +224,7 @@ required> - {{$t('register.agree')}} {{$t('tos')}} + {{$t('register.agree')}} {{$t('tos')}}