feat: onboarding

This commit is contained in:
Jannat Patel
2025-03-26 13:08:06 +05:30
parent f9b2471b32
commit aa979b96f2
23 changed files with 4602 additions and 2882 deletions

View File

@@ -29,9 +29,11 @@ import { Dialog, createResource } from 'frappe-ui'
import { ref } from 'vue'
import Link from '@/components/Controls/Link.vue'
import { showToast } from '@/utils'
import { useOnboarding } from 'frappe-ui/frappe'
const students = defineModel('reloadStudents')
const student = ref()
const { updateOnboardingStep } = useOnboarding('learning')
const show = defineModel()
const props = defineProps({
@@ -61,6 +63,7 @@ const addStudent = (close) => {
onSuccess() {
students.value.reload()
student.value = null
updateOnboardingStep('add_batch_student')
close()
},
onError(err) {