Commit Graph

947 Commits

Author SHA1 Message Date
Andreas Eriksson a358351a3a
fix: 🐛 Fixes crash in ViewPager when setting selectedIndex (#347)
* fix: 🐛 Fixes crash in ViewPager when setting selectedIndex

* Apparently the ViewPager component does not like when you set the
selectedIndex from the useEffect method. This is a workaround.
* Add animation to schema appear
2021-05-02 14:41:44 +02:00
David Fant 219c536e1b lint 2021-04-30 18:02:21 +02:00
davidfant 16adc656b7
Merge branch 'main' into feature/news-search 2021-04-30 17:39:11 +02:00
semantic-release-bot 7ac39ae0f9 chore(release): 1.27.4 [skip ci]
## [1.27.4](https://github.com/kolplattformen/skolplattformen/compare/v1.27.3...v1.27.4) (2021-04-30)

### Bug Fixes

* 🐛 Formatering nyhetsbrev. Bumpade version på embedded-api ([#345](https://github.com/kolplattformen/skolplattformen/issues/345)) ([7e2fd8f](7e2fd8f74d))
2021-04-30 10:54:31 +02:00
Kajetan Kazimierczak 7e2fd8f74d
fix: 🐛 Formatering nyhetsbrev. Bumpade version på embedded-api (#345) 2021-04-30 10:50:45 +02:00
semantic-release-bot ba077c816c chore(release): 1.27.3 [skip ci]
## [1.27.3](https://github.com/kolplattformen/skolplattformen/compare/v1.27.2...v1.27.3) (2021-04-30)

### Bug Fixes

* 🐛 Day is selected after data is loaded ([ccaa17b](ccaa17bf96))
2021-04-30 09:01:47 +02:00
Viktor Sarström bf6bcd7f08
Merge pull request #343 from kolplattformen/fix/select-week-day
fix: 🐛 Day is selected after data is loaded
2021-04-30 08:58:07 +02:00
Viktor Sarström 40898b9777 setSelectedIndex when lessons are updated 2021-04-30 08:53:48 +02:00
Johan Öbrink ccaa17bf96 fix: 🐛 Day is selected after data is loaded 2021-04-30 08:08:08 +02:00
semantic-release-bot 4579c1278c chore(release): 1.27.2 [skip ci]
## [1.27.2](https://github.com/kolplattformen/skolplattformen/compare/v1.27.1...v1.27.2) (2021-04-29)

### Bug Fixes

* 🐛 schema syns inte om kalender är tom ([#342](https://github.com/kolplattformen/skolplattformen/issues/342)) ([d9bcc06](d9bcc06df3))
2021-04-29 10:50:40 +02:00
Kajetan Kazimierczak d9bcc06df3
fix: 🐛 schema syns inte om kalender är tom (#342) 2021-04-29 10:47:00 +02:00
semantic-release-bot a5694c17bc chore(release): 1.27.1 [skip ci]
## [1.27.1](https://github.com/kolplattformen/skolplattformen/compare/v1.27.0...v1.27.1) (2021-04-28)

### Bug Fixes

* 🐛 Fixes lunch rendering ([#341](https://github.com/kolplattformen/skolplattformen/issues/341)) ([6c75d9d](6c75d9d119))
2021-04-28 21:26:16 +02:00
Viktor Sarström 6c75d9d119
fix: 🐛 Fixes lunch rendering (#341)
* fix: 🐛 Fixes lunch rendering

* empty check
2021-04-28 21:22:40 +02:00
Viktor Sarström a85dde8588 dont show message if subject is empty 2021-04-28 16:00:45 +02:00
Viktor Sarström 907b3d9e60 Fixes merge error 2021-04-28 15:56:27 +02:00
Viktor Sarström 236936780e
Merge pull request #340 from kolplattformen/weblate-translations
Translations update from Weblate
2021-04-28 15:54:11 +02:00
Kajetan Kazimierczak 859a76d1c4
Translated using Weblate (Polish)
Currently translated at 100.0% (78 of 78 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/pl/
2021-04-28 15:47:23 +02:00
Viktor Sarström 6e1cb7c118
Merge pull request #339 from kolplattformen/bugfix/languages-on-schema
Added locale when fetching using useTimetable + translations
2021-04-28 15:38:37 +02:00
Viktor Sarström ac23183c06 Fixes default values 2021-04-28 15:35:32 +02:00
Viktor Sarström 1b1e3fa1b0 added missing behaviour 2021-04-28 15:20:44 +02:00
Viktor Sarström a3fa5070c2 Changed name 2021-04-28 14:49:55 +02:00
Viktor Sarström 8adb1f5fea Fallback setting 2021-04-28 14:48:03 +02:00
Viktor Sarström 122dc257da removed package-lock 2021-04-28 14:44:04 +02:00
Viktor Sarström 833a40ee10 Translated schedule stuff 2021-04-28 14:43:38 +02:00
Viktor Sarström d22df6dd9f Removed package-lock, also added locale when fetching using useTimetable 2021-04-28 14:28:21 +02:00
semantic-release-bot 875cff6793 chore(release): 1.27.0 [skip ci]
# [1.27.0](https://github.com/kolplattformen/skolplattformen/compare/v1.26.0...v1.27.0) (2021-04-28)

### Features

* **a11y:** update colors and styling to improve accessibility ([9dd9691](9dd9691aa9))
2021-04-28 14:22:02 +02:00
Viktor Sarström a7ea4cff05
Merge pull request #325 from kolplattformen/feature/a11y-colors
feat(a11y): update colors and styling to improve accessibility
2021-04-28 14:18:30 +02:00
Viktor Sarström 97bf8ee5d3 forgot mege errors 2021-04-28 14:13:27 +02:00
Viktor Sarström cbdab93c5b fixes merge error 2021-04-28 14:10:14 +02:00
Viktor Sarström 333f372edd build settings 2021-04-28 13:25:50 +02:00
Viktor Sarström 2969f47447 Updated yarn lock 2021-04-28 12:46:21 +02:00
Viktor Sarström c4a5bf47a6
Merge pull request #335 from davidfant/feature/i18n-date-strings
Use moment's locale specific formats
2021-04-28 11:07:52 +02:00
semantic-release-bot 6a7bc53568 chore(release): 1.26.0 [skip ci]
# [1.26.0](https://github.com/kolplattformen/skolplattformen/compare/v1.25.0...v1.26.0) (2021-04-28)

### Bug Fixes

* 🐛 Förbättrad markdown-parsning ([9546540](9546540d93))
* 🐛 Förbättrad markdown-parsning ([6d3ff81](6d3ff81185))
* 🐛 Localised names of days ([fe27819](fe2781994d))
* 🐛 Localised names of days ([f31c93b](f31c93b3d6))
* 🐛 Removed console.log ([9671fa2](9671fa223d))
* 🐛 Removed console.log ([9266711](9266711e7e))
* 🐛 Renamed misnamed location ([fba0c61](fba0c61709))
* 🐛 Renamed misnamed location ([d537a6d](d537a6d5eb))
* 🐛 uppdaterade version av embedded-api ([ebb0340](ebb03408a1))
* 🐛 uppdaterade version av embedded-api ([eaa2353](eaa23539a1))
* bug when getting next weeks schedule ([036968b](036968bfc3))
* bug when getting next weeks schedule ([fc22916](fc2291605e))
* linter is picky ([3af39c1](3af39c14be))
* linter is picky ([a2846cd](a2846cdb35))

### Features

* 🎸 Polish support in curriculum ([b8ef523](b8ef523afc))
* 🎸 Polish support in curriculum ([96c816e](96c816e33c))
* 🎸 Updated deps and removed unnecessary parsing in week ([586a975](586a975920))
* first working schema ui ([d3d2be3](d3d2be3a3e))
* first working schema ui ([8b69a20](8b69a20ab2))
* first working version in test ([0a8be80](0a8be80a1d))
* first working version in test ([4bf571b](4bf571b5d8))
* use curriculun lib ([8b700e5](8b700e5516))
* use curriculun lib ([0e61c16](0e61c16aa9))
* visa summering per dag inkl indikation om gymnastik ([ea18203](ea182035d8))
* visa summering per dag inkl indikation om gymnastik ([02eb7dc](02eb7dcf92))
2021-04-28 10:57:14 +02:00
Viktor Sarström e70b7b58a2
Merge pull request #265 from kolplattformen/feat/schema-ui
feat: 🎸 Visa veckans schema i kalendervyn
2021-04-28 10:53:59 +02:00
Viktor Sarström 70e53710e9 Merge branch 'main' of https://github.com/kolplattformen/skolplattformen into feat/schema-ui 2021-04-28 10:45:07 +02:00
Lage Linnarsson 9ec1fcf299 Translated using Weblate (Latin)
Currently translated at 100.0% (74 of 74 strings)

Translation: Skolplattformen/App translations
Translate-URL: https://hosted.weblate.org/projects/skolplattformen/app-translation/la/
2021-04-28 10:44:54 +02:00
Viktor Sarström d433f79257 Merge 2021-04-28 10:44:32 +02:00
Johan Öbrink fe2781994d fix: 🐛 Localised names of days 2021-04-28 10:41:52 +02:00
Kajetan Kazimierczak ebb03408a1 fix: 🐛 uppdaterade version av embedded-api 2021-04-28 10:40:22 +02:00
Johan Öbrink 9546540d93 fix: 🐛 Förbättrad markdown-parsning 2021-04-28 10:40:22 +02:00
Johan Öbrink 9671fa223d fix: 🐛 Removed console.log 2021-04-28 10:39:38 +02:00
Johan Öbrink fba0c61709 fix: 🐛 Renamed misnamed location 2021-04-28 10:38:34 +02:00
Johan Öbrink b8ef523afc feat: 🎸 Polish support in curriculum 2021-04-28 10:34:19 +02:00
Christian Landgren 3af39c14be fix: linter is picky 2021-04-28 10:33:52 +02:00
Christian Landgren 036968bfc3 fix: bug when getting next weeks schedule 2021-04-28 10:33:52 +02:00
Christian Landgren 26b18489d9 added lunch to summary 2021-04-28 10:33:52 +02:00
Christian Landgren 5c11d7a4df chore: converted to typescript 2021-04-28 10:33:52 +02:00
Christian Landgren 8b700e5516 feat: use curriculun lib 2021-04-28 10:33:31 +02:00
Christian Landgren 0a8be80a1d feat: first working version in test 2021-04-28 10:33:04 +02:00
Christian Landgren e8b60c26c5 chore: minor pixel adjustments and lint errors 2021-04-28 10:32:10 +02:00