diff --git a/client/src/gql/schema.graphql b/client/src/gql/schema.graphql index 14d5f4ed..1ba76b89 100644 --- a/client/src/gql/schema.graphql +++ b/client/src/gql/schema.graphql @@ -356,6 +356,7 @@ type CircleObjectType implements CoursePageInterface { frontend_url: String! course: CourseObjectType learning_sequences: [LearningSequenceObjectType!]! + profiles: [String]! } type LearningSequenceObjectType implements CoursePageInterface { diff --git a/client/src/graphql/queries.ts b/client/src/graphql/queries.ts index dbd1ea33..89357f20 100644 --- a/client/src/graphql/queries.ts +++ b/client/src/graphql/queries.ts @@ -298,6 +298,7 @@ export const COURSE_QUERY = graphql(` circles { description goals + profiles ...CoursePageFields learning_sequences { icon diff --git a/client/src/pages/learningPath/learningPathPage/LearningPathPage.vue b/client/src/pages/learningPath/learningPathPage/LearningPathPage.vue index 0e051681..4234f14c 100644 --- a/client/src/pages/learningPath/learningPathPage/LearningPathPage.vue +++ b/client/src/pages/learningPath/learningPathPage/LearningPathPage.vue @@ -12,7 +12,6 @@ import { useCourseDataWithCompletion, useCurrentCourseSession, } from "@/composables"; -import CourseSessionDueDatesList from "@/components/dueDates/CourseSessionDueDatesList.vue"; const props = defineProps<{ courseSlug: string; @@ -33,6 +32,8 @@ const course = computed(() => lpQueryResult.course.value); const courseSession = useCurrentCourseSession(); +const filter = ref(""); + const { inProgressCirclesCount, circlesCount } = useCourseCircleProgress( lpQueryResult.circles ); @@ -66,10 +67,15 @@ const changeViewType = (viewType: ViewType) => {
@@ -101,6 +107,7 @@ const changeViewType = (viewType: ViewType) => {