refactor: learning path

This commit is contained in:
Jannat Patel
2025-08-14 20:26:46 +05:30
parent 78ff2e6d07
commit 625ddac65a
21 changed files with 785 additions and 681 deletions

View File

@@ -117,14 +117,7 @@
</Dialog>
</template>
<script setup lang="ts">
import {
Avatar,
Badge,
Button,
createResource,
Dialog,
FormControl,
} from 'frappe-ui'
import { Avatar, Button, createResource, Dialog, FormControl } from 'frappe-ui'
import { useRouter } from 'vue-router'
import { ref, watch, reactive, inject } from 'vue'
import { RefreshCw, Plus, Search, Shield } from 'lucide-vue-next'
@@ -146,7 +139,6 @@ const start = ref(0)
const memberList = ref<Member[]>([])
const hasNextPage = ref(false)
const showForm = ref(false)
const dayjs = inject('$dayjs')
const user = inject<User | null>('$user')
const { updateOnboardingStep } = useOnboarding('learning')

View File

@@ -109,13 +109,6 @@ const tabsStructure = computed(() => {
'If enabled, users can access the course and batch lists without logging in.',
type: 'checkbox',
},
{
label: 'Enable Learning Paths',
name: 'enable_learning_paths',
description:
'This will ensure students follow the assigned programs in order.',
type: 'checkbox',
},
{
label: 'Prevent Skipping Videos',
name: 'prevent_skipping_videos',