Commit Graph

46 Commits

Author SHA1 Message Date
Viktor Sarström 150baea573
Revert "refactor: 💡 Renamed skolplattformen-sthlm to skolplattformen-app" 2021-12-01 12:16:00 +01:00
Viktor Sarström 0ba4d355b8 refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
Andreas Eriksson eccbe5a7aa Add Fetch to imported types 2021-11-30 16:27:37 +01:00
Andreas Eriksson 22a6086703 Move files from lib to app 2021-11-30 15:55:49 +01:00
Viktor Sarström 9874dda30e fix: 🐛 Week component height and cap text 2021-11-30 13:34:15 +01:00
Viktor Sarström 33440bcc32 feat: 🎸 Toggled class list in hjärntorget 2021-11-30 11:31:59 +01:00
Viktor Sarström 8d9cfe2de4 fix: 🐛 Fix failing tests 2021-11-27 21:44:32 +01:00
Viktor Sarström 1230825571 fix: 🐛 added dist to ignore 2021-11-27 20:53:52 +01:00
Viktor Sarström 78f757783f fix: 🐛 removed dist prior to ignore, more lint errors fix 2021-11-27 20:53:05 +01:00
Viktor Sarström d26fd62e5c fix: 🐛 merge 2021-11-27 20:27:40 +01:00
Jonathan Edenström 649865784b show idNumber input on hjärntorget 2021-11-27 20:00:13 +01:00
Kajetan Kazimierczak 508b0792a1 fix: 🐛 error loading SKOLA24_CHILDREN SAML 2021-11-26 23:59:59 +01:00
Jonathan Edenström 97e131d30d fix: fetch typings 2021-11-24 07:17:37 +01:00
Viktor Sarström 1601c4f83c feat: 🎸 wip feagture toggle 2021-11-23 22:01:28 +01:00
Viktor Sarström ce056821a1 feat: 🎸 Feature toggle context 2021-11-22 10:47:11 +01:00
Kajetan Kazimierczak 3e0fd1474a fix: 🐛 Fixes crash when body od newItem is empty
 Closes: 525
2021-11-16 13:33:00 +01:00
Andreas Eriksson d24347f272
refactor: Fix typescript build errors (#539) 2021-11-15 23:36:26 +01:00
Viktor Sarström 46632691bf fix: 🐛 Fixes TS config + lint etc 2021-11-12 13:46:25 +01:00
Jonathan Edenström 7c5098859b
fix: images cropping on different devices (#524)
* feat: add image sizes using Image.getSizeWithHeaders

* chore: 🤖 bild i fakeData

* add rounded corners to embedded images in content

* add debug information

* add more debug info

Co-authored-by: Kajetan Kazimierczak <kajetan@hotmail.com>
2021-11-12 08:39:01 +00:00
Viktor Sarström 24c162419b fix: 🐛 Fixes TSconfig for all projects 2021-11-09 14:41:01 +01:00
Viktor Sarström 82e0c6f961 fix: 🐛 Readded mock, ts config to api 2021-11-09 11:46:45 +01:00
Viktor Sarström 3f62016d6a feat: 🎸 fixes ts issues 2021-11-09 11:04:13 +01:00
Viktor Sarström cafe6ec990 fix: 🐛 merge conflict 2021-11-09 10:53:51 +01:00
Viktor Sarström 9d213413be fix: 🐛 Merge with master 2021-11-09 10:53:07 +01:00
Viktor Sarström 4f1f66fcbb feat: 🎸 Merged with main, also added api to nx 2021-11-09 10:49:12 +01:00
Emil Lindqvist 225a8aa983 Make run scripts work with new structure 2021-11-09 10:29:38 +01:00
Emil Lindqvist 2162221322 Add interface for hjarntorget and skkolplattformen 2021-11-09 10:28:48 +01:00
Emil Lindqvist aeeab7feb6 Rename skolplattfomen api 2021-11-09 10:27:38 +01:00
Emil Lindqvist a9603422c8 Extract common code from api-skolplattformen
Common code consists of shared types, some helpers along with a few
common infrastructure code for fetching data and handling cookies etc.
Shortly a common `Api` interface will be introduced that  both
skolplattformen and hjarntorget will adhere to initially.
2021-11-09 10:25:31 +01:00
Andreas Eriksson beaf991342 Add check for correct set-cookie header in response
This way we can detect when the api returns data for the wrong child. We then throw an exception.
In the app the api-hooks library retires requests when errors occur so we try again and hope
that correct data is returned.
2021-10-30 15:23:40 +02:00
Viktor Sarström c54f2ffd05 fix: 🐛 Fixes merge with main 2021-10-26 14:23:49 +02:00
Viktor Sarström ff01199086 Merge branch 'main' of https://github.com/kolplattformen/skolplattformen into feature/nx 2021-10-26 14:22:10 +02:00
Jonathan Edenström 1ef5dd58bc remove duplicate cookies packages 2021-10-26 09:59:14 +02:00
Jonathan Edenström 61a1f3521b fix failing api tests 2021-10-15 22:40:29 +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
Emil Lindqvist 456e1a520c Make run scripts work with new structure 2021-10-11 10:50:23 +02:00
Emil Lindqvist 52c4c03665 Add interface for hjarntorget and skkolplattformen 2021-10-11 09:57:22 +02:00
Emil Lindqvist 85ffe3e40d Rename skolplattfomen api 2021-10-11 09:45:36 +02:00
Emil Lindqvist 214fa44bc6 Extract common code from api-skolplattformen
Common code consists of shared types, some helpers along with a few
common infrastructure code for fetching data and handling cookies etc.
Shortly a common `Api` interface will be introduced that  both
skolplattformen and hjarntorget will adhere to initially.
2021-10-10 21:09:14 +02:00
Jonathan Edenström 169b5365e9 fix: lint and prettier fixes 2021-10-06 22:47:50 +02:00
Jonathan Edenström 2a2259a260 fix: failing html parsing 2021-10-06 21:40:33 +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 8832990524 Moved to libs directory 2021-10-03 11:32:39 +02:00