wip: Make linter and TS happy, fix cypress
This commit is contained in:
parent
d1166ed507
commit
3a5c941360
|
|
@ -7,7 +7,6 @@ import { useMutation } from "@urql/vue";
|
|||
import { useRouteQuery } from "@vueuse/router";
|
||||
import log from "loglevel";
|
||||
import { computed, onMounted, reactive, ref } from "vue";
|
||||
import { useTranslation } from "i18next-vue";
|
||||
import { useCourseSessionDetailQuery, useCurrentCourseSession } from "@/composables";
|
||||
|
||||
const props = defineProps<{
|
||||
|
|
@ -23,8 +22,6 @@ const props = defineProps<{
|
|||
const courseSession = useCurrentCourseSession();
|
||||
const courseSessionDetailResult = useCourseSessionDetailQuery();
|
||||
|
||||
const { t } = useTranslation();
|
||||
|
||||
const stepNo = useRouteQuery("step", "0", { transform: Number, mode: "push" });
|
||||
|
||||
const title = computed(() => `«${props.content.circle?.title}»: ${props.title}`);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {
|
|||
RATINGS,
|
||||
YES_NO,
|
||||
} from "@/pages/learningPath/learningContentPage/feedback/feedback.constants";
|
||||
import { LearningContentFeedbackUK, LearningContentFeedbackVV } from "@/types";
|
||||
import type { LearningContentFeedbackUK, LearningContentFeedbackVV } from "@/types";
|
||||
import { computed } from "vue";
|
||||
import { useTranslation } from "i18next-vue";
|
||||
import { useCourseSessionDetailQuery } from "@/composables";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {
|
|||
RATINGS,
|
||||
YES_NO,
|
||||
} from "@/pages/learningPath/learningContentPage/feedback/feedback.constants";
|
||||
import { LearningContentFeedbackUK, LearningContentFeedbackVV } from "@/types";
|
||||
import type { LearningContentFeedbackUK, LearningContentFeedbackVV } from "@/types";
|
||||
import FeedbackBase from "@/pages/learningPath/learningContentPage/feedback/FeedbackBase.vue";
|
||||
import { useTranslation } from "i18next-vue";
|
||||
|
||||
|
|
@ -28,11 +28,6 @@ const stepLabels = [
|
|||
t("general.submission"),
|
||||
];
|
||||
|
||||
const introduction = t("a.feedback.introductionVV");
|
||||
const title = t("Feedback");
|
||||
const completionTitle = t("feedback.completionDescriptionVV");
|
||||
const completionDescription = t("feedback.completionDescriptionVV");
|
||||
|
||||
const questionData = [
|
||||
{
|
||||
modelKey: "satisfaction",
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ def command(
|
|||
print("create_feedback_responses")
|
||||
course_session = CourseSession.objects.get(id=TEST_COURSE_SESSION_BERN_ID)
|
||||
learning_content_feedback_page = LearningContentFeedbackUK.objects.get(
|
||||
slug="test-lehrgang-lp-circle-fahrzeug-lc-feedbackuk"
|
||||
slug="test-lehrgang-lp-circle-fahrzeug-lc-feedback"
|
||||
)
|
||||
create_feedback_response_data(
|
||||
feedback_user=User.objects.get(id=TEST_STUDENT1_USER_ID),
|
||||
|
|
|
|||
Loading…
Reference in New Issue