Commit Graph

21 Commits

Author SHA1 Message Date
Andreas Eriksson 20ee509c28 style: 💄 Add eslint rules to api-skolplattformen and autofix
Add react-native-community eslint rules to project and run autofix on
all files.
2022-04-24 20:27:10 +02:00
Andreas Eriksson 5577c7fe42 fix: 🐛 Tweak retry in Hooks lib to exponential with 7 retries 2022-04-24 11:16:28 +02:00
Erik Hellman f05ff64687
feat: 🎸 bump to RN 0.66 + upgrade dependencies (#521)
Co-authored-by: Erik Hellman <erik.hellman@hellsoft.se>
Co-authored-by: Viktor Sarström <viktorsarstrom@gmail.com>
Co-authored-by: Jonathan Edenström <jonathan@edenstrom.io>
2021-12-16 08:22:20 +01:00
Kajetan Kazimierczak b7dbd356c6
feat: 🎸 Hämta lärare och skolkontakter från api-skolplattfomen och visa lärarens namn i schemat (#589)
* feat: 🎸 Get list of teachers from api-skolplattfomen

* feat: 🎸 teachers and school contacts in hooks

* style: 💄 lint

* chore: 🤖 fakeData for matching some lessons with teachers

* feat: 🎸 Teacher's names in timetable (where available)

* test: 💍 fix failing tests (add mocks for new calls)
2021-12-10 10:33:52 +01:00
Andreas Eriksson 933a8840a3
feat: 🎸 Fix image load and typescript errors (#570)
* Update Cocoapods version
* Use new api GetRequestHeaders to get headers
* Remove warnings of missing colors and brushes
* Fix typing errors
* Change affected main branch to main
* Remove unused feature toggle
* Add dummy login checker to remove using any
2021-12-02 15:34:15 +01:00
Emil Lindqvist 92fb670295 Make ApiProvider only change login handler on ApiChange 2021-11-28 16:16:27 +01:00
Viktor Sarström d26fd62e5c fix: 🐛 merge 2021-11-27 20:27:40 +01:00
Viktor Sarström ce056821a1 feat: 🎸 Feature toggle context 2021-11-22 10:47:11 +01:00
Andreas Eriksson 826e198cc4
test: 💍 Remove warnings about timers not beeing mocked (#540)
The jest.advanceTimersToNextTimer() is not needed by the tests, they pass without it.
The reason the warnings was not seen before was because we used an older version
of jest (26) before. Now with NX we use 27.
2021-11-15 23:48:04 +01:00
Viktor Sarström 916ebc5e25 feat: 🎸 WIP Switch school platform 2021-11-12 21:42:53 +01:00
Viktor Sarström 1aaaeb64e3 feat: 🎸 Started on provider for selecting platform + feature to 2021-11-12 17:06:11 +01:00
Viktor Sarström ba45cfd796 fix: 🐛 Fixes inheritance from @skolplattformen-api 2021-11-12 15:19:03 +01:00
Jonathan Edenström 1ef5dd58bc remove duplicate cookies packages 2021-10-26 09:59:14 +02:00
Jonathan Edenström 83e837955c Fix tests for `hooks` 2021-10-15 22:36:48 +02:00
Viktor Sarström e9d82745ce More test stuff 2021-10-15 22:07:03 +02:00
Jonathan Edenström 169b5365e9 fix: lint and prettier fixes 2021-10-06 22:47:50 +02:00
Jonathan Edenström c122f281a9 fix: some failing tests in hooks now works 2021-10-06 07:15:38 +02:00
Jonathan Edenström f103564ad3 chore: remove unused yarn.lock 2021-10-06 07:10:09 +02:00
Jonathan Edenström 18ed8620af fix: rename and fix imports 2021-10-05 17:44:14 +02:00
Jonathan Edenström d90cfd2a3b feat: add nx build system 2021-10-05 17:27:47 +02:00
Erik Hellman 9a37d4f2e7 Moved api-hooks project to subdirectory before merge to monorepo 2021-10-03 11:50:00 +02:00