Commit Graph

82 Commits

Author SHA1 Message Date
Andreas Zweili
2dcd26709f get the coaches from the backend 2021-07-28 17:01:33 +02:00
Andreas Zweili
4665d05bfa add an action to get coaches from firebase 2021-07-28 16:58:14 +02:00
Andreas Zweili
f1ed21f3f0 move the commit into the try/catch block 2021-07-28 16:57:54 +02:00
Andreas Zweili
d716c7efd0 add the backend to the register form 2021-07-28 16:36:52 +02:00
Andreas Zweili
99ec687332 add script for axios 2021-07-28 16:36:05 +02:00
Andreas Zweili
ab93dd6f6b fix the coachId on ContactCoach 2021-07-28 15:34:17 +02:00
Andreas Zweili
e3d48145d3 filter requests for the reqistered coach 2021-07-28 15:33:55 +02:00
Andreas Zweili
373a1a72d6 Merge branch 'master' of git.2li.ch:Nebucatnetzer/find_coach 2021-07-28 12:13:50 +02:00
7df4a435dd fix the request ID lookup 2021-07-27 17:17:46 +02:00
a64c172402 add RequestItem 2021-07-27 17:14:53 +02:00
4ea754f5dc add styling for the RequestItem 2021-07-27 17:09:35 +02:00
1f4e731954 add RequestItem template 2021-07-27 11:46:58 +02:00
0b748e92cf add getters for requests 2021-07-27 11:41:01 +02:00
5406563d89 Add basic template for RequestsRecieved 2021-07-27 11:34:31 +02:00
ab3dddb0fb correct the name for contactCoach 2021-07-27 11:28:02 +02:00
ff0bdcf93b fix the import for requestsModule 2021-07-27 11:26:01 +02:00
4278d0e149 import the actions 2021-07-27 11:20:43 +02:00
f3a4c1c686 add Vuex actions for ContactCoach 2021-07-27 11:18:56 +02:00
c883fcfe9a add validation to ContactForm 2021-07-27 11:07:10 +02:00
e25dd5504e add content to the ContactForm 2021-07-27 11:00:04 +02:00
Andreas Zweili
80c3331c3d add the ContactCoach template 2021-07-10 17:19:18 +02:00
Andreas Zweili
ec7448790f provide the form values in the submit method 2021-07-10 17:01:14 +02:00
Andreas Zweili
f53d910f8e clear the warnings after input changes 2021-07-10 16:59:46 +02:00
Andreas Zweili
611e6f5c37 signal the invalid elements in the form 2021-07-10 16:54:27 +02:00
Andreas Zweili
f2a89fa8c2 add form validation 2021-07-10 16:25:02 +02:00
Andreas Zweili
494fdd4b46 hide the Register button if the user is not a coach 2021-06-29 22:17:12 +02:00
Andreas Zweili
aece4bba6a add isCoach getter 2021-06-29 22:10:43 +02:00
Andreas Zweili
bdc654c30a use the userId in the coaches action 2021-06-29 22:05:56 +02:00
Andreas Zweili
2de4dd1a5c add a rootGetter for the userId 2021-06-29 22:05:42 +02:00
Andreas Zweili
e3ab95bad6 add a hardcoded id to store 2021-06-29 22:02:56 +02:00
Andreas Zweili
fe81f36728 replace the coachId with a hardcoded value 2021-06-29 22:02:20 +02:00
Andreas Zweili
50f8c33dd4 replace router.push with router.replace
with replace you can't return to the previous page which is what we want after a
form.
2021-06-29 21:59:35 +02:00
Andreas Zweili
71c5e352b6 return to CoachesList after the register form 2021-06-29 21:58:47 +02:00
Andreas Zweili
95103ddf69 name the hourlyRate correctly 2021-06-29 21:58:27 +02:00
Andreas Zweili
abf6109d91 store registered coaches in the store 2021-06-29 21:55:19 +02:00
Andreas Zweili
600a42a12e emit data from CoachForm 2021-06-29 21:36:34 +02:00
Andreas Zweili
34cd8abf26 add the CoachForm to CoachRegistration 2021-06-28 21:59:16 +02:00
Andreas Zweili
691e88fff4 extend the CoachForm 2021-06-28 21:59:06 +02:00
Andreas Zweili
7ed867007b add the CoachForm 2021-06-28 21:44:51 +02:00
Andreas Zweili
0d2f7a185e correct "chanced" to "change" 2021-06-28 21:06:26 +02:00
Andreas Zweili
c1edc75733 add coach-filter 2021-06-28 21:02:28 +02:00
Andreas Zweili
2897e9fe61 add CoachDetails logic 2021-06-28 18:47:47 +02:00
Andreas Zweili
7c87f77380 add a space between the first and Lastname 2021-06-28 18:30:34 +02:00
Andreas Zweili
5fc47ef084 return props for the CoachDetails route 2021-06-28 18:23:54 +02:00
Andreas Zweili
e86d6490ac use the type for the badges in CoachItem 2021-06-28 18:10:52 +02:00
Andreas Zweili
ddab36caba use BaseBadge in CoachItem 2021-06-28 18:09:11 +02:00
Andreas Zweili
aa676727f8 correct the import path for BaseBadge 2021-06-28 18:08:41 +02:00
Andreas Zweili
f37c15f755 register BaseBadge globally 2021-06-28 18:06:58 +02:00
Andreas Zweili
a184a5c691 add BaseBadge 2021-06-28 18:06:45 +02:00
Andreas Zweili
e98db0c262 use BaseButton in CoachDetails 2021-06-28 18:01:42 +02:00