diff --git a/frappe-ui b/frappe-ui deleted file mode 160000 index 175be05a..00000000 --- a/frappe-ui +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 175be05a921b44560114ae9af07015a761b669a2 diff --git a/frontend/src/pages/PersonaForm.vue b/frontend/src/pages/PersonaForm.vue index 9a6d92b8..6f74214d 100644 --- a/frontend/src/pages/PersonaForm.vue +++ b/frontend/src/pages/PersonaForm.vue @@ -10,56 +10,32 @@
-
+
+ {{ __('Help us understand your needs') }} +
+ +
- {{ __('1. What best describes your role?') }} + {{ __('What is your main use case for Frappe Learning?') }}
-
-
-
- {{ __('2. How many students are you planning to teach?') }} -
- -
-
- -
-
-
- {{ __('3. What is your main use case for Frappe Learning?') }} -
- -
-
- -
-
-
- {{ __('4. Are you currently using any Frappe products?') }} -
- +
+
+ {{ __('How many students are you planning to teach?') }}
+
@@ -89,19 +65,15 @@ const router = useRouter() const { brand } = sessionStore() const persona = reactive({ - role: null, noOfStudents: null, useCase: null, - frappeProducts: null, }) const submitPersona = () => { let responses = { site: user.data?.sitename, - role: persona.role, no_of_students: persona.noOfStudents, use_case: persona.useCase, - frappe_products: persona.frappeProducts, } call('lms.lms.api.capture_user_persona', { responses: JSON.stringify(responses), @@ -125,24 +97,6 @@ const skipPersonaForm = () => { }) } -const roleOptions = computed(() => { - const options = [ - 'Trainer / Instructor', - 'Freelancer / Consultant', - 'HR / L&D Professional', - 'School / University Admin', - 'Software Developer', - 'Community Manager', - 'Business Owner / Team Lead', - 'Other', - ] - - return options.map((option) => ({ - label: option, - value: option, - })) -}) - const noOfStudentsOptions = computed(() => { const options = [ 'Less than 50', @@ -173,22 +127,6 @@ const useCaseOptions = computed(() => { })) }) -const frappeProductsOptions = computed(() => { - const options = [ - 'Frappe Framework', - 'ERPNext / Frappe HR', - 'Frappe CRM / Helpdesk', - 'Custom Frappe App', - 'Other', - 'Not using any Frappe product', - ] - - return options.map((option) => ({ - label: option, - value: option, - })) -}) - usePageMeta(() => { return { title: 'Persona',