diff --git a/src/App.vue b/src/App.vue index ec424e0a6d4..b2e02bb5fb8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -31,7 +31,6 @@ - @@ -54,7 +53,6 @@ import LeftSidebar from './components/LeftSidebar/LeftSidebar.vue' import MediaSettings from './components/MediaSettings/MediaSettings.vue' import RightSidebar from './components/RightSidebar/RightSidebar.vue' import SettingsDialog from './components/SettingsDialog/SettingsDialog.vue' -import UploadEditor from './components/UploadEditor.vue' import { useIsInCall } from './composables/useIsInCall.js' import { CONVERSATION, PARTICIPANT } from './constants.js' @@ -79,7 +77,6 @@ export default { LeftSidebar, PreventUnload, RightSidebar, - UploadEditor, SettingsDialog, ConversationSettingsDialog, MediaSettings, diff --git a/src/FilesSidebarTabApp.vue b/src/FilesSidebarTabApp.vue index acad204ee10..e89a886fde1 100644 --- a/src/FilesSidebarTabApp.vue +++ b/src/FilesSidebarTabApp.vue @@ -41,7 +41,6 @@ @@ -58,7 +57,6 @@ import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import ChatView from './components/ChatView.vue' import MediaSettings from './components/MediaSettings/MediaSettings.vue' import CallButton from './components/TopBar/CallButton.vue' -import UploadEditor from './components/UploadEditor.vue' import browserCheck from './mixins/browserCheck.js' import sessionIssueHandler from './mixins/sessionIssueHandler.js' @@ -80,7 +78,6 @@ export default { components: { CallButton, ChatView, - UploadEditor, MediaSettings, NcButton, }, diff --git a/src/components/BreakoutRoomsEditor/SendMessageDialog.vue b/src/components/BreakoutRoomsEditor/SendMessageDialog.vue index bcdc4076ea0..05c11c2c665 100644 --- a/src/components/BreakoutRoomsEditor/SendMessageDialog.vue +++ b/src/components/BreakoutRoomsEditor/SendMessageDialog.vue @@ -27,11 +27,10 @@

{{ dialogTitle }}

- { - this.$refs.messageForm.focusInput() + this.$refs.newMessage.focusInput() }) }, diff --git a/src/components/ChatView.vue b/src/components/ChatView.vue index f494a018db0..c0a2727ad9a 100644 --- a/src/components/ChatView.vue +++ b/src/components/ChatView.vue @@ -42,7 +42,7 @@ :aria-label="t('spreed', 'Conversation messages')" :token="token" :is-visible="isVisible" /> - import MessagesList from './MessagesList/MessagesList.vue' -import NewMessageForm from './NewMessageForm/NewMessageForm.vue' +import NewMessage from './NewMessage/NewMessage.vue' import { CONVERSATION } from '../constants.js' @@ -63,7 +63,7 @@ export default { components: { MessagesList, - NewMessageForm, + NewMessage, }, props: { @@ -106,7 +106,7 @@ export default { }, }, mounted() { - // Postpone render of NewMessageForm until application is mounted + // Postpone render of NewMessage until application is mounted this.containerId = this.$store.getters.getMainContainerSelector() }, diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessage/NewMessage.vue similarity index 71% rename from src/components/NewMessageForm/NewMessageForm.vue rename to src/components/NewMessage/NewMessage.vue index 7a9d5072481..dab30f8e67b 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/src/components/NewMessage/NewMessage.vue @@ -3,8 +3,9 @@ - - @author Marco Ambrosini - @author Grigorii Shartsev + - @author Maksim Sukharev - - - @license GNU AGPL version 3 or any later version + - @license AGPL-3.0-or-later - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as @@ -22,7 +23,7 @@ {{ t('spreed', 'Dismiss request for assistance') }} - + @@ -65,7 +65,7 @@ + @close="closeSendMessageDialog" />
    @@ -207,11 +207,11 @@ export default { }, methods: { - openSendMessageForm() { + openSendMessageDialog() { this.isDialogOpened = true }, - closeSendMessageForm() { + closeSendMessageDialog() { this.isDialogOpened = false }, diff --git a/src/services/filesSharingServices.js b/src/services/filesSharingServices.js index 77cd94f20a0..62777d425b0 100644 --- a/src/services/filesSharingServices.js +++ b/src/services/filesSharingServices.js @@ -67,7 +67,7 @@ const getFileTemplates = async () => { * @param {string} templateType The template type e.g 'user' * @return { object } the file object */ -const createTextFile = async function(filePath, templatePath, templateType) { +const createNewFile = async function(filePath, templatePath, templateType) { return await axios.post(generateOcsUrl('apps/files/api/v1/templates/create'), { filePath, templatePath, @@ -78,5 +78,5 @@ const createTextFile = async function(filePath, templatePath, templateType) { export { shareFile, getFileTemplates, - createTextFile, + createNewFile, }