Commit Graph

116 Commits

Author SHA1 Message Date
Andreas Eriksson 3ab98dfd2f Upgrade react-navigation to latest version 6 2021-10-02 15:05:13 +02:00
Viktor Sarström 54da602865
Merge pull request #489 from kolplattformen/feat/upgrade-packages-to-remove-warnings
chore: 🤖 Upgrade two packades to remove warnings
2021-10-01 13:06:26 +02:00
Johan Öbrink a655bbc590 feat: 🎸 Notifications use modified, then created date 2021-10-01 09:49:03 +02:00
Kajetan Kazimierczak 71cb230b92 fix: 🐛 Hämta alla aviseringar och sortera på senast ändrad 2021-09-30 22:27:57 +02:00
Jonathan Edenström 3b307d25b3
feat: 🎸 add settings screen (#492)
* feat: add first version of settings

* fix: navigate after logout is now working

* Add settings store with valtio

* fix: fix failing tests

* fix: remove unused module `rn-actionsheet-module`

* fix: remove unused packages

* fix: Remove unused AppearanceProvider

* fix: upgrade to correct version of hermes engine

* fix: correct theme name in selection list

* fix: add missing translations

* fix lint errors

* fix failing tests

* fix: simplify login method logic

* simplify cached personalIdNumber storage

* fix: settings is now always pressable on login screen

* fix: app is correctly rendered when language changes

* chore: rename SettingListItemText to SettingListItem

* fix: fix trailing useEffect error message

* fix: better RTL layout in settings

* add back missing hermes reference

* fix: add useTranslation hook instead of translate

* fix separator styling (includes change for bgColor)

* Add missing translation

* fix: 🐛 useTranslation on childListItem

Co-authored-by: Andreas Eriksson <addeman@gmail.com>
Co-authored-by: Kajetan Kazimierczak <kajetan@hotmail.com>
2021-09-29 17:31:47 +02:00
Andreas Eriksson d8ad29106d chore: 🤖 Upgrade two packades to remove warnings
 Closes: #480
2021-09-26 17:31:16 +02:00
Andreas Eriksson 4522298d15 fix: 🐛 Bumped embedded to 5.3.2 2021-09-23 10:55:08 +02:00
Andreas Eriksson 98f7c04f1c
feat: 🎸 Use custom async storage (#461)
Service and hooks for storing temp-data, settings and personal data from the app

Also:
* Remove npm package use-async-storage
* Changed naming to use personal identity number instead of social security number
2021-09-23 10:40:36 +02:00
Kajetan Kazimierczak 6a3005330c
feat: 🎸 Fler språk i schemat (uppd. curriculum) (#476) 2021-09-18 23:39:43 +02:00
Viktor Sarström a32c22f7a6 Bumped embedded to 5.3.0 2021-09-17 12:42:55 +02:00
Viktor Sarström 3ec81e7be6 Upgraded to RN 0.65.1 2021-09-16 15:44:05 +02:00
Viktor Sarström 7b6565296e feat: 🎸 Fixes status page and bump embedded 2021-09-14 07:53:00 +02:00
Andreas Eriksson 9f00ba4929 fix: 🐛 Bump embedded-api to 5.2.0
Should fix the app
2021-09-12 15:59:08 +02:00
Viktor Sarström 18bf3593ce Bumped embedded, disabled some languages that didnt work 2021-09-10 22:18:48 +02:00
Viktor Sarström f4ee6adc5b Bumped embedded api to 5.1.7 2021-09-09 15:55:55 +02:00
Viktor Sarström 162fc307b9 Bumped embedded to 5.1.5 2021-09-09 09:13:53 +02:00
Viktor Sarström 8bde5e948a bumped curriculum 2021-09-09 00:05:57 +02:00
Erik Hellman 0d4591ece8 fix: 🐛 Bump embedded-api to 5.1.4 2021-09-08 21:44:39 +02:00
Viktor Sarström 96f037c846 Changed rn-actionsheet-module to our own fork that has updated minsdk version for android 2021-09-08 08:32:36 +02:00
Christian Landgren 1877cdd594 fix: linting 2021-08-14 15:20:28 +02:00
Christian Landgren d58d1a9b70 chore: fix linting problems 2021-08-14 12:59:12 +02:00
Christian Landgren 45a4a4e2bb chore: bugfixes after merge 2021-08-14 11:02:32 +02:00
Jonathan Edenström 25f4ebc0f7 Design refresh with new navigator and colors (#418)
* Refactor design with navigator and colors

* remove childList test data

* Update React Navigation and related packages

* Add `initials` to peopleHelpers

* remove unused tests

* change initials to first 2 letters of name

* update color scheme

* add mock for react-native-reanimated

* fix absence translation

* update design à la modern/rounded

* Add headerLargeTitle everywhere
2021-08-13 22:56:34 +02:00
Kajetan Kazimierczak 0e8e90581b
feat: 🎸 Fler språk (#400)
* feat: 🎸 Fler språk

Lade till alla översättningar vi har fått hittills

* fix: 🐛 scroll i språklistan och deepmerge av språk

* style: 💄 linting
2021-05-22 00:03:58 +02:00
Viktor Sarström a37aeabf88 fix: 🐛 Added a11y lint and fixes those errors 2021-05-12 11:16:13 +02:00
Andreas Eriksson bbe268f2c2
fix: 🐛 Update to React-native 0.64.1 to make build work on xCode 4.5 (#372)
All accordning to
https://github.com/facebook/react-native/releases/tag/v0.64.1
2021-05-09 13:46:12 +02:00
Viktor Sarström bd9a4f54b9
feat: 🎸 Dark mode (#364)
* Darkmode init

* More work on dark-mode, still some bugs with hooks

* More darkmode fixes

* Cleaned up theming

* Fixed notification theming

* Fixed notifcations import

* Fixed linting

* Fixed visibility issue

* Fix mock for react-native-appearance

* Fixed coloring in news

* feat: add dark theme

* Adjusted colors to be darker

* Major rewamp so that we utilize the Eva Design system a bit more for theming

* Dark mode

* readded listHeader

* fixes girls-dark-mode

* Changes

* spelling error on buttons

* Better label color

* Dark mode images

* Menu styling

* colors on news items

* Fixes calender

* Menu text

* last changes

* styling

* readded border color

* Removed padding

* more buttons on calendar

* switcharoo

* minor tweaks

* Minor tweaks

* minor tweaks

* fix: 🐛 fixade till layout missad i mergen

* fix: 🐛 mer layoutfixar

* fix: 🐛 tweekade textfärgerna

Light mode ska nu ha samma färger som den hade innan. Dark mode har lite
dämpade färger, så inte texten lyser

* fix: 🐛 barnens knappar tillbaka till vit

* fix: 🐛 dar mode basic button colors and linting

* fix: 🐛 modalWebView buttons are back

Co-authored-by: Axel <54435884+axdra@users.noreply.github.com>
Co-authored-by: axdra <axel.draws@outlook.com>
Co-authored-by: Rickard Natt och Dag <rickard@hey.com>
Co-authored-by: Christian Landgren <christian@landgren.nu>
Co-authored-by: Kajetan Kazimierczak <kajetanek@gmail.com>
2021-05-06 14:35:11 +02:00
Viktor Sarström aa8830c4b1
Merge pull request #336 from davidfant/feature/news-search
feat: 🎸 Fuzzy search news
2021-05-03 13:02:08 +02:00
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
davidfant 16adc656b7
Merge branch 'main' into feature/news-search 2021-04-30 17:39:11 +02:00
Kajetan Kazimierczak 7e2fd8f74d
fix: 🐛 Formatering nyhetsbrev. Bumpade version på embedded-api (#345) 2021-04-30 10:50:45 +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
Christian Landgren d3d2be3a3e feat: first working schema ui 2021-04-28 10:32:10 +02:00
Viktor Sarström e28aeb4a47 Bitrise 2021-04-26 10:56:07 +02:00
Viktor Sarström 2362eb94a0 Added timezone to script 2021-04-26 09:05:17 +02:00
David Fant 62e61430af fuzzy search news 2021-04-25 18:38:18 +02:00
Viktor Sarström 772f65273c
feat: 🎸 Added useAppState hook and logs out user if not authenticated (#328)
- Tracks if the app has been put to background or foreground
- Verifies if the user is valid when going into foreground
2021-04-25 15:25:53 +02:00
Johan Öbrink b95c9e77cf fix: 🐛 Adress call turned off everywhere 2021-04-20 10:36:46 +02:00
Viktor Sarström 3192f8f586 Removed @types/react-native-restart from root 2021-04-19 12:21:18 +02:00
Viktor Sarström 36d0486e8a RTL switch 2021-04-19 11:13:34 +02:00
Viktor Sarström 23c486250e Added sync-i18n 2021-04-19 07:59:32 +02:00
Andreas Eriksson 260464026b
feat: 🎸 Remove required personal number on login on same device (#271)
* feat: 🎸 Remove required personal number on login on same device

When using the same device for BankId, personal number is not required.
You use the autostarttoken to bind it together.

Update embedded api to 4.4.0
2021-04-17 17:12:11 +02:00
Johan Öbrink 675454a2fe feat: 🎸 Updated embedded-api for better menu handling 2021-04-16 17:02:56 +02:00
Viktor Sarström 432a6f8edc merge with main 2021-04-16 14:57:49 +02:00
Andreas Eriksson 5a0d67363d fix: 🐛 Remove two packages that have security issues
The packages was not used anymore in the app
2021-04-16 10:37:02 +02:00
Rickard Natt och Dag f223eed808
chore: update root dependencies (#274) 2021-04-15 17:06:03 +02:00
Viktor Sarström a7b6c0aa12 Merge with main 2021-04-13 22:45:36 +02:00
Viktor Sarström cb8314c39b remove fast-memoize, added english test 2021-04-13 22:07:38 +02:00
Viktor Sarström 1060fd5806 Initial commit for translations. Added en + sv and translated first page 2021-04-13 16:28:15 +02:00