From 14c1a0c55893c353b5709d606da59ca19cf80e48 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 5 Oct 2021 18:37:52 +0530 Subject: [PATCH] feat: add feedback form close option Signed-off-by: Pranav C --- packages/nc-gui/components/feedbackForm.vue | 52 +++++++++++++++---- packages/nc-gui/components/utils/language.vue | 14 +++-- packages/nc-gui/store/windows.js | 6 ++- 3 files changed, 57 insertions(+), 15 deletions(-) diff --git a/packages/nc-gui/components/feedbackForm.vue b/packages/nc-gui/components/feedbackForm.vue index 70671028cd..d154984028 100644 --- a/packages/nc-gui/components/feedbackForm.vue +++ b/packages/nc-gui/components/feedbackForm.vue @@ -1,21 +1,51 @@ - diff --git a/packages/nc-gui/components/utils/language.vue b/packages/nc-gui/components/utils/language.vue index 712ecd9457..2b337eb55b 100644 --- a/packages/nc-gui/components/utils/language.vue +++ b/packages/nc-gui/components/utils/language.vue @@ -6,7 +6,7 @@ mdi-translate - + @@ -116,6 +116,14 @@ export default { } - diff --git a/packages/nc-gui/store/windows.js b/packages/nc-gui/store/windows.js index 4e0eeefe69..d229474f98 100644 --- a/packages/nc-gui/store/windows.js +++ b/packages/nc-gui/store/windows.js @@ -38,7 +38,8 @@ export const state = () => ({ screensaver: true, autoApplyFilter: true, apiLoading: false, - includeM2M: false + includeM2M: false, + feedbackFormHidden: false }) export const mutations = { @@ -51,6 +52,9 @@ export const mutations = { MutToggleLogWindow(state, show) { state.logWindow = !state.logWindow }, + MutFeedbackFormHidden(state, show) { + state.feedbackFormHidden = show + }, MutScreensaver(state, show) { state.screensaver = show },