From 76fbe7a0ea8171c9b7cab078be979f56d8c3699a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 17 Dec 2019 22:43:44 +0100 Subject: [PATCH] Fix eslint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- package.json | 4 +- src/App.vue | 6 +- src/BoardSelector.vue | 18 +++-- src/CardSelector.vue | 18 +++-- src/components/ActivityEntry.vue | 4 +- src/components/CollaborationView.vue | 3 +- src/components/ColorPicker.vue | 7 +- src/components/Controls.vue | 18 ++--- src/components/board/BoardSidebar.vue | 5 +- src/components/board/DeletedTabSidebar.vue | 10 +-- src/components/board/SharingTabSidebar.vue | 22 +++++-- src/components/board/Stack.vue | 18 +++-- src/components/board/TagsTabSidebar.vue | 16 +++-- src/components/board/TimelineTabSidebar.vue | 7 +- src/components/boards/BoardItem.vue | 12 ++-- src/components/boards/Boards.vue | 12 +++- src/components/card/CardSidebar.vue | 47 +++++++++---- src/components/cards/AvatarList.vue | 3 +- src/components/cards/CardBadges.vue | 3 +- src/components/cards/CardItem.vue | 66 +++++++++++++------ src/components/cards/LabelTag.vue | 40 ----------- src/components/navigation/AppNavigation.vue | 23 ++++--- .../navigation/AppNavigationAddBoard.vue | 7 +- .../navigation/AppNavigationBoard.vue | 12 ++-- .../navigation/AppNavigationBoardCategory.vue | 7 +- 25 files changed, 221 insertions(+), 167 deletions(-) delete mode 100644 src/components/cards/LabelTag.vue diff --git a/package.json b/package.json index fb5133f21..2cd3abda5 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "dev": "webpack --config webpack.dev.js", "watch": "webpack --progress --watch --config webpack.dev.js", "build": "webpack --progress --hide-modules --config webpack.prod.js", - "lint": "eslint --ext .js,.vue src tests", - "lint:fix": "eslint --ext .js,.vue src tests --fix", + "lint": "eslint --ext .js,.vue src", + "lint:fix": "eslint --ext .js,.vue src --fix", "test": "jest", "test:coverage": "jest --coverage" }, diff --git a/src/App.vue b/src/App.vue index 57617ece6..427877404 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,7 +21,6 @@ --> - - diff --git a/src/components/navigation/AppNavigation.vue b/src/components/navigation/AppNavigation.vue index 8e96de49b..4e0a9936c 100644 --- a/src/components/navigation/AppNavigation.vue +++ b/src/components/navigation/AppNavigation.vue @@ -28,31 +28,36 @@ :text="t('deck', 'All boards')" :boards="noneArchivedBoards" :open-on-add-boards="true" - icon="icon-deck" /> + icon="icon-deck" + /> + icon="icon-archive" + /> + icon="icon-shared" + /> -
+
- + @input="updateConfig" + />

{{ t('deck', 'Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them.') }}

@@ -66,14 +71,12 @@ import ClickOutside from 'vue-click-outside' import { Multiselect } from '@nextcloud/vue/dist/Components/Multiselect' import AppNavigationAddBoard from './AppNavigationAddBoard' -import AppNavigationBoard from './AppNavigationBoard' import AppNavigationBoardCategory from './AppNavigationBoardCategory' export default { name: 'AppNavigation', components: { AppNavigationAddBoard, - AppNavigationBoard, AppNavigationBoardCategory, Multiselect }, diff --git a/src/components/navigation/AppNavigationAddBoard.vue b/src/components/navigation/AppNavigationAddBoard.vue index 313320f51..52e400a3e 100644 --- a/src/components/navigation/AppNavigationAddBoard.vue +++ b/src/components/navigation/AppNavigationAddBoard.vue @@ -21,8 +21,8 @@ -->