From d619ac97968dab4da570b8dbba4b1cffebba6fea Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Thu, 11 Aug 2022 23:34:40 -0700 Subject: [PATCH] Refactor tags --- public/index.html | 2 +- src/App.vue | 4 - src/components/GameCards/GameCardCompact.vue | 26 ++-- src/components/GameCards/GameCardDefault.vue | 6 +- src/components/GameCards/GameCardGrid.vue | 5 +- src/components/GameCards/GameCardText.vue | 5 +- src/components/Tags/TagsList.vue | 32 ++--- src/constants.js | 2 +- src/mixins/gameCardMixin.js | 19 +-- src/pages/CreateTagPage.vue | 121 +++++++------------ src/pages/EditTagPage.vue | 47 ++----- src/pages/GamePage.vue | 10 +- src/pages/GameTagsPage.vue | 97 ++++++--------- src/pages/TagsPage.vue | 5 +- src/store/actions.js | 17 ++- src/store/getters.js | 13 -- src/store/mutations.js | 44 ++++--- 17 files changed, 181 insertions(+), 274 deletions(-) diff --git a/public/index.html b/public/index.html index 71cc8d74..9ec60d6b 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,7 @@ - + diff --git a/src/App.vue b/src/App.vue index 3348125d..e1386f48 100644 --- a/src/App.vue +++ b/src/App.vue @@ -100,10 +100,6 @@ export default { isGamePage() { return this.$route.name === 'game'; }, - - isBoard() { - return ['public.board', 'board'].includes(this.$route.name); - }, }, watch: { diff --git a/src/components/GameCards/GameCardCompact.vue b/src/components/GameCards/GameCardCompact.vue index 1a92031c..59e835f3 100644 --- a/src/components/GameCards/GameCardCompact.vue +++ b/src/components/GameCards/GameCardCompact.vue @@ -37,19 +37,19 @@ height="6px" /> - + + + diff --git a/src/components/GameCards/GameCardDefault.vue b/src/components/GameCards/GameCardDefault.vue index e541615d..ae6349cc 100644 --- a/src/components/GameCards/GameCardDefault.vue +++ b/src/components/GameCards/GameCardDefault.vue @@ -42,14 +42,14 @@ {{ gameProgress }}% -