Commit Graph

106 Commits

Author SHA1 Message Date
Andreas Zweili
701c596ad1 fix the route for NotFound 2021-07-28 21:18:27 +02:00
Andreas Zweili
8fd11809ed add content to the NotFound page 2021-07-28 21:18:15 +02:00
Andreas Zweili
d0d3c40151 add animation to the BaseDialog 2021-07-28 20:57:45 +02:00
Andreas Zweili
c5bb1139f8 only load the coaches once a minute 2021-07-28 20:51:47 +02:00
Andreas Zweili
1f361349fe fetch the requests from the backend 2021-07-28 20:26:10 +02:00
Andreas Zweili
727001eb62 remove the fake ID from the request object 2021-07-28 20:10:59 +02:00
Andreas Zweili
5c4e88edb8 remove git stuff 2021-07-28 20:08:32 +02:00
Andreas Zweili
184d7ca8a0 Merge branch 'master' of git.2li.ch:Nebucatnetzer/find_coach 2021-07-28 20:07:44 +02:00
Andreas Zweili
b1b12127c4 store the requests in the backend 2021-07-28 20:07:21 +02:00
Andreas Zweili
4a30f209d8 store the requests in the backend 2021-07-28 20:03:43 +02:00
Andreas Zweili
10d9c762ed add error handling for fetching coaches 2021-07-28 17:41:06 +02:00
Andreas Zweili
f259092500 add the BaseDialog component 2021-07-28 17:22:34 +02:00
Andreas Zweili
0317b58706 add the spinner to the CoachesList 2021-07-28 17:10:22 +02:00
Andreas Zweili
0f04ac7a3e add BaseSpinner 2021-07-28 17:06:34 +02:00
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
dfd778e288 add axios 2021-07-28 16:12:19 +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
4abd706a27 update packages 2021-07-10 16:26:29 +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