diff --git a/src/components/Settings/List.vue b/src/components/Settings/List.vue new file mode 100644 index 0000000..ae62f53 --- /dev/null +++ b/src/components/Settings/List.vue @@ -0,0 +1,25 @@ + + + diff --git a/src/components/Settings/Stats.vue b/src/components/Settings/Stats.vue new file mode 100644 index 0000000..effab5d --- /dev/null +++ b/src/components/Settings/Stats.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/components/Sidebar/Subscriptions.vue b/src/components/Sidebar/Subscriptions.vue index 0d2942d..60faa05 100644 --- a/src/components/Sidebar/Subscriptions.vue +++ b/src/components/Sidebar/Subscriptions.vue @@ -23,6 +23,8 @@ + + @@ -35,9 +37,11 @@ import Export from '../Settings/Export.vue' import Filters from '../Settings/Filters.vue' import Import from '../Settings/Import.vue' import Item from './Item.vue' +import List from '../Settings/List.vue' import Loading from '../Atoms/Loading.vue' import Plus from 'vue-material-design-icons/Plus.vue' import Speed from '../Settings/Speed.vue' +import Stats from '../Settings/Stats.vue' import { showError } from '@nextcloud/dialogs' export default { @@ -48,12 +52,14 @@ export default { Filters, Import, Item, + List, Loading, NcAppContentList, NcAppNavigationNew, NcAppNavigationSettings, Plus, Speed, + Stats, }, data() { return { diff --git a/src/router.js b/src/router.js index 96b5915..3767b63 100644 --- a/src/router.js +++ b/src/router.js @@ -1,6 +1,7 @@ import Discover from './views/Discover.vue' import Feed from './views/Feed.vue' import Router from 'vue-router' +import Statistics from './views/Statistics.vue' import Vue from 'vue' import { generateUrl } from '@nextcloud/router' @@ -13,6 +14,10 @@ const router = new Router({ path: '/', component: Discover, }, + { + path: '/stats', + component: Statistics, + }, { path: '/:url', component: Feed, diff --git a/src/views/Statistics.vue b/src/views/Statistics.vue new file mode 100644 index 0000000..44da4f3 --- /dev/null +++ b/src/views/Statistics.vue @@ -0,0 +1,18 @@ + + +