From e0958ac1294a8ac0b5a0b2bc12db69c8803ccbdc Mon Sep 17 00:00:00 2001 From: Steffen Date: Sat, 12 Dec 2020 22:03:36 +0100 Subject: [PATCH] first draft of gamestate modal improved general modal performance --- src/App.vue | 3 ++ src/components/Menu.vue | 4 ++ src/components/modals/EditionModal.vue | 6 +-- src/components/modals/FabledModal.vue | 2 +- src/components/modals/GameStateModal.vue | 47 ++++++++++++++++++++++ src/components/modals/Modal.vue | 9 ++--- src/components/modals/NightOrderModal.vue | 5 +-- src/components/modals/ReferenceModal.vue | 3 +- src/components/modals/ReminderModal.vue | 3 +- src/components/modals/RoleModal.vue | 2 +- src/components/modals/RolesModal.vue | 3 +- src/components/modals/VoteHistoryModal.vue | 3 +- src/store/index.js | 1 + 13 files changed, 67 insertions(+), 24 deletions(-) create mode 100644 src/components/modals/GameStateModal.vue diff --git a/src/App.vue b/src/App.vue index 3f07790..fa31921 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,6 +27,7 @@ + v{{ version }} @@ -47,9 +48,11 @@ import Gradients from "./components/Gradients"; import NightOrderModal from "./components/modals/NightOrderModal"; import FabledModal from "@/components/modals/FabledModal"; import VoteHistoryModal from "@/components/modals/VoteHistoryModal"; +import GameStateModal from "@/components/modals/GameStateModal"; export default { components: { + GameStateModal, VoteHistoryModal, FabledModal, NightOrderModal, diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 74b622a..a1eec66 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -170,6 +170,10 @@ Night Order Sheet [N] +
  • + Game State JSON + G +
  • Join Discord diff --git a/src/components/modals/EditionModal.vue b/src/components/modals/EditionModal.vue index 3670a71..724f844 100644 --- a/src/components/modals/EditionModal.vue +++ b/src/components/modals/EditionModal.vue @@ -1,9 +1,5 @@