Commit Graph

12 Commits

Author SHA1 Message Date
Arnaud Fauconnet
2e9db61173 Added loading icon when data is getting fetch for the username 2022-11-04 14:56:00 +01:00
Arnaud Fauconnet
c7f388f786 Customer can now login and the context get's updated in the correct way. Modularized the types in @api 2022-11-03 22:33:46 +01:00
Arnaud Fauconnet
aa444c4e33 The customer can now login to the actual TCPOS backend by making the API call and storing the token in localstorage 2022-11-03 13:24:52 +01:00
Arnaud Fauconnet
328a760eb8 added theme 2022-10-28 11:41:58 +02:00
Arnaud Fauconnet
99b63d95fd Removed redux and added useContext 2022-10-27 10:12:58 +02:00
Karma Riuk
fc00f9124c added redux to the setup (in src/ts/*), made webpack resolve also .ts files 2022-10-27 09:24:07 +02:00
Karma Riuk
598df57fac removed @types/yup from packages.json because yup already defines it's own types, and also because it made the app crash ehehe 2022-10-23 15:22:08 +02:00
Arnaud Fauconnet
97b92fa60c Made Login.tsx use the useForm hook and expanded the error page so that it can take another error if other shit happens. AuthComponent now doesn't have a hardcoded isLogged var, but looks at the query. 2022-10-23 15:09:28 +02:00
Karma Riuk
308ae6ab88 Added react router to package.json 2022-10-20 09:02:28 +02:00
Arnaud Fauconnet
1002d2fd0f added paths to the tsconfig so that it's not a pain to import stuff 2022-10-13 17:06:43 +02:00
Arnaud Fauconnet
3b430b9ff7 React components can now access scss variables 2022-10-13 14:21:45 +02:00
Fauconnet Arnaud
2e62d4675b React with typescript, sass and webpack workign 2022-10-13 09:50:30 +02:00