Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move dummy components to UIShared directory 🪵 #11800

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/PublicShareAuthSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import ChatView from './components/ChatView.vue'
import MediaSettings from './components/MediaSettings/MediaSettings.vue'
import PollViewer from './components/PollViewer/PollViewer.vue'
import TopBar from './components/TopBar/TopBar.vue'
import TransitionWrapper from './components/TransitionWrapper.vue'
import TransitionWrapper from './components/UIShared/TransitionWrapper.vue'

import { useHashCheck } from './composables/useHashCheck.js'
import { useSessionIssueHandler } from './composables/useSessionIssueHandler.js'
Expand Down
2 changes: 1 addition & 1 deletion src/PublicShareSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import MediaSettings from './components/MediaSettings/MediaSettings.vue'
import PollViewer from './components/PollViewer/PollViewer.vue'
import CallButton from './components/TopBar/CallButton.vue'
import TopBar from './components/TopBar/TopBar.vue'
import TransitionWrapper from './components/TransitionWrapper.vue'
import TransitionWrapper from './components/UIShared/TransitionWrapper.vue'

import { useHashCheck } from './composables/useHashCheck.js'
import { useIsInCall } from './composables/useIsInCall.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdminSettings/RecordingServers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'

import RecordingServer from '../../components/AdminSettings/RecordingServer.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

import { CALL } from '../../constants.js'

Expand Down
2 changes: 1 addition & 1 deletion src/components/AdminSettings/SignalingServers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'

import SignalingServer from '../../components/AdminSettings/SignalingServer.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

import { SIGNALING } from '../../constants.js'

Expand Down
2 changes: 1 addition & 1 deletion src/components/AdminSettings/StunServers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import { loadState } from '@nextcloud/initial-state'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'

import StunServer from '../../components/AdminSettings/StunServer.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

export default {
name: 'StunServers',
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdminSettings/TurnServers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import { loadState } from '@nextcloud/initial-state'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'

import TurnServer from '../../components/AdminSettings/TurnServer.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

export default {
name: 'TurnServers',
Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/Grid/Grid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ import { generateFilePath } from '@nextcloud/router'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'

import TransitionWrapper from '../../TransitionWrapper.vue'
import TransitionWrapper from '../../UIShared/TransitionWrapper.vue'
import EmptyCallView from '../shared/EmptyCallView.vue'
import LocalVideo from '../shared/LocalVideo.vue'
import VideoBottomBar from '../shared/VideoBottomBar.vue'
Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/LocalAudioControlButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus'

import { NcButton } from '@nextcloud/vue'

import VolumeIndicator from '../../VolumeIndicator/VolumeIndicator.vue'
import VolumeIndicator from '../../UIShared/VolumeIndicator.vue'

import { PARTICIPANT } from '../../../constants.js'
import BrowserStorage from '../../../services/BrowserStorage.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/ReactionToaster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import { imagePath } from '@nextcloud/router'

import usernameToColor from '@nextcloud/vue/dist/Functions/usernameToColor.js'

import TransitionWrapper from '../../TransitionWrapper.vue'
import TransitionWrapper from '../../UIShared/TransitionWrapper.vue'

import { useGuestNameStore } from '../../../stores/guestName.js'

Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/VideoBottomBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ import { emit } from '@nextcloud/event-bus'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'

import TransitionWrapper from '../../TransitionWrapper.vue'
import TransitionWrapper from '../../UIShared/TransitionWrapper.vue'

import { PARTICIPANT } from '../../../constants.js'
import { ConnectionState } from '../../../utils/webrtc/models/CallParticipantModel.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/VideoVue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ import Screen from './Screen.vue'
import VideoBackground from './VideoBackground.vue'
import VideoBottomBar from './VideoBottomBar.vue'
import AvatarWrapper from '../../AvatarWrapper/AvatarWrapper.vue'
import TransitionWrapper from '../../TransitionWrapper.vue'
import TransitionWrapper from '../../UIShared/TransitionWrapper.vue'

import { ATTENDEE, AVATAR } from '../../../constants.js'
import { EventBus } from '../../../services/EventBus.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/ViewerOverlayCallView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ import LocalVideo from './LocalVideo.vue'
import LocalVideoControlButton from './LocalVideoControlButton.vue'
import Screen from './Screen.vue'
import VideoVue from './VideoVue.vue'
import TransitionWrapper from '../../TransitionWrapper.vue'
import TransitionWrapper from '../../UIShared/TransitionWrapper.vue'

import { localCallParticipantModel, localMediaModel } from '../../../utils/webrtc/index.js'

Expand Down
2 changes: 1 addition & 1 deletion src/components/ChatView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import GuestWelcomeWindow from './GuestWelcomeWindow.vue'
import MessagesList from './MessagesList/MessagesList.vue'
import NewMessage from './NewMessage/NewMessage.vue'
import NewMessageUploadEditor from './NewMessage/NewMessageUploadEditor.vue'
import TransitionWrapper from './TransitionWrapper.vue'
import TransitionWrapper from './UIShared/TransitionWrapper.vue'

import { CONVERSATION, PARTICIPANT } from '../constants.js'
import { EventBus } from '../services/EventBus.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/ConversationSettings/BasicInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import { getCapabilities } from '@nextcloud/capabilities'
import { showError } from '@nextcloud/dialogs'

import ConversationAvatarEditor from './ConversationAvatarEditor.vue'
import EditableTextField from './EditableTextField.vue'
import EditableTextField from '../UIShared/EditableTextField.vue'

import { CONVERSATION } from '../../constants.js'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'

import DialpadPanel from '../../DialpadPanel.vue'
import DialpadPanel from '../../UIShared/DialpadPanel.vue'

Check warning on line 70 in src/components/LeftSidebar/CallPhoneDialog/CallPhoneDialog.vue

View workflow job for this annotation

GitHub Actions / NPM lint

`../../UIShared/DialpadPanel.vue` import should occur after import of `../../SelectPhoneNumber.vue`
import LoadingComponent from '../../LoadingComponent.vue'
import SelectPhoneNumber from '../../SelectPhoneNumber.vue'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import { RecycleScroller } from 'vue-virtual-scroller'

import Conversation from './Conversation.vue'
import LoadingPlaceholder from '../../LoadingPlaceholder.vue'
import LoadingPlaceholder from '../../UIShared/LoadingPlaceholder.vue'

import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import { RecycleScroller } from 'vue-virtual-scroller'

import ConversationSearchResult from './ConversationSearchResult.vue'
import LoadingPlaceholder from '../../LoadingPlaceholder.vue'
import LoadingPlaceholder from '../../UIShared/LoadingPlaceholder.vue'

import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'

Expand Down
6 changes: 3 additions & 3 deletions src/components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@
import ConversationsListVirtual from './ConversationsList/ConversationsListVirtual.vue'
import InvitationHandler from './InvitationHandler.vue'
import OpenConversationsList from './OpenConversationsList/OpenConversationsList.vue'
import SearchBox from './SearchBox/SearchBox.vue'
import SearchBox from '../UIShared/SearchBox.vue'

Check warning on line 319 in src/components/LeftSidebar/LeftSidebar.vue

View workflow job for this annotation

GitHub Actions / NPM lint

`../UIShared/SearchBox.vue` import should occur after import of `../NewConversationDialog/NewConversationDialog.vue`
import ConversationIcon from '../ConversationIcon.vue'
import Hint from '../Hint.vue'
import Hint from '../UIShared/Hint.vue'

Check warning on line 321 in src/components/LeftSidebar/LeftSidebar.vue

View workflow job for this annotation

GitHub Actions / NPM lint

`../UIShared/Hint.vue` import should occur after import of `../NewConversationDialog/NewConversationDialog.vue`
import NewConversationDialog from '../NewConversationDialog/NewConversationDialog.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

import { useArrowNavigation } from '../../composables/useArrowNavigation.js'
import { ATTENDEE, CONVERSATION } from '../../constants.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/MediaSettings/MediaSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ import VideoBackgroundEditor from './VideoBackgroundEditor.vue'
import AvatarWrapper from '../AvatarWrapper/AvatarWrapper.vue'
import VideoBackground from '../CallView/shared/VideoBackground.vue'
import CallButton from '../TopBar/CallButton.vue'
import VolumeIndicator from '../VolumeIndicator/VolumeIndicator.vue'
import VolumeIndicator from '../UIShared/VolumeIndicator.vue'

import { useDevices } from '../../composables/useDevices.js'
import { useIsInCall } from '../../composables/useIsInCall.js'
Expand Down
4 changes: 2 additions & 2 deletions src/components/MessagesList/MessagesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'

import MessagesGroup from './MessagesGroup/MessagesGroup.vue'
import MessagesSystemGroup from './MessagesGroup/MessagesSystemGroup.vue'
import LoadingPlaceholder from '../LoadingPlaceholder.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import LoadingPlaceholder from '../UIShared/LoadingPlaceholder.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

import { useIsInCall } from '../../composables/useIsInCall.js'
import { ATTENDEE, CHAT } from '../../constants.js'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@

import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'

import ContactSelectionBubble from '../ContactSelectionBubble.vue'
import DialpadPanel from '../DialpadPanel.vue'
import ContactSelectionBubble from '../UIShared/ContactSelectionBubble.vue'
import DialpadPanel from '../UIShared/DialpadPanel.vue'
import ParticipantSearchResults from '../RightSidebar/Participants/ParticipantsSearchResults.vue'

Check warning on line 88 in src/components/NewConversationDialog/NewConversationContactsPage.vue

View workflow job for this annotation

GitHub Actions / NPM lint

`../RightSidebar/Participants/ParticipantsSearchResults.vue` import should occur before import of `../UIShared/ContactSelectionBubble.vue`
import SelectPhoneNumber from '../SelectPhoneNumber.vue'

Check warning on line 89 in src/components/NewConversationDialog/NewConversationContactsPage.vue

View workflow job for this annotation

GitHub Actions / NPM lint

`../SelectPhoneNumber.vue` import should occur before import of `../UIShared/ContactSelectionBubble.vue`
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

import { useArrowNavigation } from '../../composables/useArrowNavigation.js'
import { searchPossibleConversations } from '../../services/conversationsService.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/NewMessage/NewMessageUploadEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NewMessage from './NewMessage.vue'
import AudioPlayer from '../MessagesList/MessagesGroup/Message/MessagePart/AudioPlayer.vue'
import FilePreview from '../MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue'
import TransitionWrapper from '../TransitionWrapper.vue'
import TransitionWrapper from '../UIShared/TransitionWrapper.vue'

const supportMediaCaption = getCapabilities()?.spreed?.features?.includes('media-caption')

Expand Down
2 changes: 1 addition & 1 deletion src/components/RightSidebar/Participants/Participant.vue
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'

import ParticipantPermissionsEditor from './ParticipantPermissionsEditor.vue'
import AvatarWrapper from '../../AvatarWrapper/AvatarWrapper.vue'
import DialpadPanel from '../../DialpadPanel.vue'
import DialpadPanel from '../../UIShared/DialpadPanel.vue'

import { useIsInCall } from '../../../composables/useIsInCall.js'
import { CONVERSATION, PARTICIPANT, ATTENDEE, WEBINAR } from '../../../constants.js'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<script>

import Participant from './Participant.vue'
import LoadingPlaceholder from '../../LoadingPlaceholder.vue'
import LoadingPlaceholder from '../../UIShared/LoadingPlaceholder.vue'

export default {
name: 'ParticipantsList',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import { RecycleScroller } from 'vue-virtual-scroller'

import Participant from './Participant.vue'
import LoadingPlaceholder from '../../LoadingPlaceholder.vue'
import LoadingPlaceholder from '../../UIShared/LoadingPlaceholder.vue'

import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'

import ParticipantsList from './ParticipantsList.vue'
import Hint from '../../Hint.vue'
import Hint from '../../UIShared/Hint.vue'

import { ATTENDEE } from '../../../constants.js'
import { useIntegrationsStore } from '../../../stores/integrations.js'
Expand Down
6 changes: 3 additions & 3 deletions src/components/RightSidebar/Participants/ParticipantsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
import ParticipantsList from './ParticipantsList.vue'
import ParticipantsListVirtual from './ParticipantsListVirtual.vue'
import ParticipantsSearchResults from './ParticipantsSearchResults.vue'
import DialpadPanel from '../../DialpadPanel.vue'
import Hint from '../../Hint.vue'
import SearchBox from '../../LeftSidebar/SearchBox/SearchBox.vue'
import DialpadPanel from '../../UIShared/DialpadPanel.vue'
import Hint from '../../UIShared/Hint.vue'
import SearchBox from '../../UIShared/SearchBox.vue'
import SelectPhoneNumber from '../../SelectPhoneNumber.vue'

Check warning on line 83 in src/components/RightSidebar/Participants/ParticipantsTab.vue

View workflow job for this annotation

GitHub Actions / NPM lint

`../../SelectPhoneNumber.vue` import should occur before import of `../../UIShared/DialpadPanel.vue`

import { useGetParticipants } from '../../../composables/useGetParticipants.js'
import { useIsInCall } from '../../../composables/useIsInCall.js'
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectPhoneNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import Phone from 'vue-material-design-icons/Phone.vue'
import NcAppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigationCaption.js'
import NcListItem from '@nextcloud/vue/dist/Components/NcListItem.js'

import Hint from './Hint.vue'
import Hint from './UIShared/Hint.vue'

import { ATTENDEE } from '../constants.js'

Expand Down
2 changes: 1 addition & 1 deletion src/components/SettingsDialog/MediaDevicesPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff.vue'
import VideoOff from 'vue-material-design-icons/VideoOff.vue'

import MediaDevicesSelector from '../MediaSettings/MediaDevicesSelector.vue'
import VolumeIndicator from '../VolumeIndicator/VolumeIndicator.vue'
import VolumeIndicator from '../UIShared/VolumeIndicator.vue'

import { useDevices } from '../../composables/useDevices.js'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ import Close from 'vue-material-design-icons/Close.vue'

import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'

import AvatarWrapper from './AvatarWrapper/AvatarWrapper.vue'
import AvatarWrapper from '../AvatarWrapper/AvatarWrapper.vue'

import { AVATAR } from '../constants.js'
import { AVATAR } from '../../constants.js'

export default {
name: 'ContactSelectionBubble',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcPopover from '@nextcloud/vue/dist/Components/NcPopover.js'
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'

import { regionCodes } from '../regionCodes.js'
import { regionCodes } from '../../regionCodes.js'

const allowedKeys = /^[0-9+\-()*#\s]+$/

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {
</script>

<style lang="scss" scoped>
@import '../assets/variables';
@import '../../assets/variables';

// Transition rules (inside mixins to be applied in two places)
@mixin group-rules {
Expand Down
2 changes: 1 addition & 1 deletion src/views/MainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import ChatView from '../components/ChatView.vue'
import LobbyScreen from '../components/LobbyScreen.vue'
import PollViewer from '../components/PollViewer/PollViewer.vue'
import TopBar from '../components/TopBar/TopBar.vue'
import TransitionWrapper from '../components/TransitionWrapper.vue'
import TransitionWrapper from '../components/UIShared/TransitionWrapper.vue'

import { useIsInCall } from '../composables/useIsInCall.js'

Expand Down
Loading