diff --git a/src/components/ChattyLLM/ConversationBox.vue b/src/components/ChattyLLM/ConversationBox.vue index e085b202..d8436953 100644 --- a/src/components/ChattyLLM/ConversationBox.vue +++ b/src/components/ChattyLLM/ConversationBox.vue @@ -18,18 +18,20 @@ - +
+ + +
@@ -38,6 +40,7 @@ import AlertOutlineIcon from 'vue-material-design-icons/AlertOutline.vue' import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' +import LoadingPlaceholder from './LoadingPlaceholder.vue' import Message from './Message.vue' import NoSession from './NoSession.vue' @@ -49,6 +52,7 @@ export default { NcLoadingIcon, + LoadingPlaceholder, Message, NoSession, }, diff --git a/src/components/ChattyLLM/InputArea.vue b/src/components/ChattyLLM/InputArea.vue index ecb598e0..e1c74fe7 100644 --- a/src/components/ChattyLLM/InputArea.vue +++ b/src/components/ChattyLLM/InputArea.vue @@ -24,8 +24,7 @@ type="primary" @click="$emit('submit', $event)"> @@ -37,7 +36,6 @@ import SendIcon from 'vue-material-design-icons/Send.vue' import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import NcRichContenteditable from '@nextcloud/vue/dist/Components/NcRichContenteditable.js' -import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' /* maxlength calculation (just a rough estimate): @@ -54,7 +52,6 @@ export default { NcButton, NcRichContenteditable, - NcLoadingIcon, }, props: { diff --git a/src/components/ChattyLLM/LoadingPlaceholder.vue b/src/components/ChattyLLM/LoadingPlaceholder.vue new file mode 100644 index 00000000..ca509bbf --- /dev/null +++ b/src/components/ChattyLLM/LoadingPlaceholder.vue @@ -0,0 +1,185 @@ + + + + + + +