From 3c17f4f8fc6791105ea207d07c1b49108d8aadb2 Mon Sep 17 00:00:00 2001 From: shivangrawat30 Date: Thu, 5 Oct 2023 19:34:16 +0530 Subject: [PATCH 1/2] replaced responsiveWindow with useKResponsiveWindow Signed-off-by: shivangrawat30 --- .../coach/assets/src/views/common/HeaderTabs/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kolibri/plugins/coach/assets/src/views/common/HeaderTabs/index.vue b/kolibri/plugins/coach/assets/src/views/common/HeaderTabs/index.vue index e7195fc1e9c..cda1d0d2e30 100644 --- a/kolibri/plugins/coach/assets/src/views/common/HeaderTabs/index.vue +++ b/kolibri/plugins/coach/assets/src/views/common/HeaderTabs/index.vue @@ -14,11 +14,16 @@ diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreateExamPreview.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreateExamPreview.vue index 7a35e7128c8..be1d0f70071 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreateExamPreview.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreateExamPreview.vue @@ -125,7 +125,6 @@ import { mapState } from 'vuex'; import BottomAppBar from 'kolibri.coreVue.components.BottomAppBar'; - import responsiveWindowMixin from 'kolibri.coreVue.mixins.responsiveWindowMixin'; import { ERROR_CONSTANTS } from 'kolibri.coreVue.vuex.constants'; import CatchErrors from 'kolibri.utils.CatchErrors'; import commonCoreStrings from 'kolibri.coreVue.mixins.commonCoreStrings'; @@ -141,7 +140,7 @@ CoachImmersivePage, QuestionListPreview, }, - mixins: [responsiveWindowMixin, commonCoach, commonCoreStrings], + mixins: [commonCoach, commonCoreStrings], data() { return { showError: false, diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue index 1dafc0d0864..cae42e01ac6 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue @@ -41,7 +41,6 @@ import { mapState } from 'vuex'; import { ContentNodeKinds } from 'kolibri.coreVue.vuex.constants'; - import responsiveWindowMixin from 'kolibri.coreVue.mixins.responsiveWindowMixin'; import commonCoreStrings from 'kolibri.coreVue.mixins.commonCoreStrings'; import ResourceSelectionBreadcrumbs from '../../plan/LessonResourceSelectionPage/SearchTools/ResourceSelectionBreadcrumbs'; import { PageNames } from '../../../constants'; @@ -56,7 +55,7 @@ ContentCardList, ResourceSelectionBreadcrumbs, }, - mixins: [commonCoreStrings, commonCoach, responsiveWindowMixin], + mixins: [commonCoreStrings, commonCoach], data() { return { viewMoreButtonState: 'no_more_results', diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue index c6eeaea5e8a..2ce01efa27c 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue @@ -36,7 +36,6 @@