Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarco <marcoambrosini@pm.me>2022-03-30 14:55:53 +0300
committermarco <marcoambrosini@pm.me>2022-04-13 16:53:23 +0300
commitc144aa04b7e9c544a5fb6345bf964126e8db60bf (patch)
tree5254dfcbe940c1fafe2ebc1d970dd090fa1da6f2
parenta0b760543daf96b9f232a96145a0351cbb888f6f (diff)
Initialise SharedItems tab
Signed-off-by: marco <marcoambrosini@pm.me>
-rw-r--r--src/components/RightSidebar/RightSidebar.vue15
-rw-r--r--src/components/RightSidebar/SharedItems/SharedItemsTab.vue41
2 files changed, 56 insertions, 0 deletions
diff --git a/src/components/RightSidebar/RightSidebar.vue b/src/components/RightSidebar/RightSidebar.vue
index f9e4766f3..d5534ae58 100644
--- a/src/components/RightSidebar/RightSidebar.vue
+++ b/src/components/RightSidebar/RightSidebar.vue
@@ -80,6 +80,17 @@
</div>
</div>
</AppSidebarTab>
+ <AppSidebarTab v-if="getUserId"
+ id="shared-items"
+ ref="sharedItemsTab"
+ :order="4"
+ :name="t('spreed', 'Shared Items')">
+ <template #icon>
+ <FolderMultipleImage :size="20"
+ decorative
+ title="" />
+ </template>
+ </AppSidebarTab>
</AppSidebar>
</template>
@@ -87,6 +98,7 @@
import { emit } from '@nextcloud/event-bus'
import AppSidebar from '@nextcloud/vue/dist/Components/AppSidebar'
import AppSidebarTab from '@nextcloud/vue/dist/Components/AppSidebarTab'
+import SharedItemsTab from './SharedItems/SharedItemsTab'
import ChatView from '../ChatView'
import { CollectionList } from 'nextcloud-vue-collections'
import BrowserStorage from '../../services/BrowserStorage'
@@ -98,12 +110,14 @@ import SipSettings from './SipSettings'
import LobbyStatus from './LobbyStatus'
import Button from '@nextcloud/vue/dist/Components/Button'
import CogIcon from 'vue-material-design-icons/Cog'
+import FolderMultipleImage from 'vue-material-design-icons/FolderMultipleImage.vue'
export default {
name: 'RightSidebar',
components: {
AppSidebar,
AppSidebarTab,
+ SharedItemsTab,
ChatView,
CollectionList,
ParticipantsTab,
@@ -112,6 +126,7 @@ export default {
LobbyStatus,
Button,
CogIcon,
+ FolderMultipleImage,
},
mixins: [
diff --git a/src/components/RightSidebar/SharedItems/SharedItemsTab.vue b/src/components/RightSidebar/SharedItems/SharedItemsTab.vue
new file mode 100644
index 000000000..f9fee230b
--- /dev/null
+++ b/src/components/RightSidebar/SharedItems/SharedItemsTab.vue
@@ -0,0 +1,41 @@
+<!--
+ - @copyright Copyright (c) 2022 Marco Ambrosini <marcoambrosini@pm.me>
+ -
+ - @author Marco Ambrosini <marcoambrosini@pm.me>
+ -
+ - @license GNU AGPL version 3 or any later version
+ -
+ - This program is free software: you can redistribute it and/or modify
+ - it under the terms of the GNU Affero General Public License as
+ - published by the Free Software Foundation, either version 3 of the
+ - License, or (at your option) any later version.
+ -
+ - This program is distributed in the hope that it will be useful,
+ - but WITHOUT ANY WARRANTY; without even the implied warranty of
+ - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ - GNU Affero General Public License for more details.
+ -
+ - You should have received a copy of the GNU Affero General Public License
+ - along with this program. If not, see <http://www.gnu.org/licenses/>.
+-->
+
+<template>
+ <div>
+ Some content
+ </div>
+</template>
+
+<script>
+
+export default {
+ name: 'SharedItemsTab',
+
+ props: {
+ },
+ computed: {
+ },
+}
+</script>
+
+<style scoped lang="scss">
+</style>