Commit Graph

16 Commits

Author SHA1 Message Date
Anton Gunnarsson
bbcabfa0ba Merged in feat/sw-2864-move-hotels-router-to-trpc-package (pull request #2410)
feat (SW-2864): Move booking router to trpc package

* Add env to trpc package

* Add eslint to trpc package

* Apply lint rules

* Use direct imports from trpc package

* Add lint-staged config to trpc

* Move lang enum to common

* Restructure trpc package folder structure

* WIP first step

* update internal imports in trpc

* Fix most errors in scandic-web

Just 100 left...

* Move Props type out of trpc

* Fix CategorizedFilters types

* Move more schemas in hotel router

* Fix deps

* fix getNonContentstackUrls

* Fix import error

* Fix entry error handling

* Fix generateMetadata metrics

* Fix alertType enum

* Fix duplicated types

* lint:fix

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package

* Fix broken imports

* Move booking router to trpc package

* Merge branch 'master' into feat/sw-2864-move-hotels-router-to-trpc-package


Approved-by: Linus Flood
2025-06-26 09:02:59 +00:00
Anton Gunnarsson
002d093af4 Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389)
feat(SW-2863): Move contentstack router to trpc package

* Add exports to packages and lint rule to prevent relative imports

* Add env to trpc package

* Add eslint to trpc package

* Apply lint rules

* Use direct imports from trpc package

* Add lint-staged config to trpc

* Move lang enum to common

* Restructure trpc package folder structure

* WIP first step

* update internal imports in trpc

* Fix most errors in scandic-web

Just 100 left...

* Move Props type out of trpc

* Fix CategorizedFilters types

* Move more schemas in hotel router

* Fix deps

* fix getNonContentstackUrls

* Fix import error

* Fix entry error handling

* Fix generateMetadata metrics

* Fix alertType enum

* Fix duplicated types

* lint:fix

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package

* Fix broken imports

* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package


Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Chuma Mcphoy (We Ahead)
2101b79db1 Merged in feat/LOY-230-Microsoft-Entra-ID-Auth (pull request #2113)
Feat(LOY-230): DTMC Routes with Entra ID Auth & Error Page Handling

* feat(LOY-230): Link Scandic Friends and Azure accounts

* fix(LOY-230): remove employee id param setting

* fix(LOY-230): return token in jwt callback for auth.dtmc.ts


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-06-18 10:22:04 +00:00
Chuma Mcphoy (We Ahead)
144a33fa30 Merged in feat/LOY-233-success-banner-for-dtmc-linking (pull request #2328)
feat(LOY-233): create success banner for successful DTMC linking

* feat(LOY-233): create success banner for successful DTMC linking

* fix(LOY-233): code cleanup

* fix(LOY-233): use new design vars for alert bg colors


Approved-by: Erik Tiekstra
2025-06-11 08:52:28 +00:00
Christian Andolf
21566eb5b5 fix: performance fixes for dtmc animation 2025-06-05 10:34:57 +02:00
Christian Andolf
84d4faf6df fix(LOY-199): add missing benefits link 2025-05-19 09:15:50 +02:00
Christian Andolf
2b32a9c1ff chore: rename functions to make more sense 2025-05-09 09:57:55 +02:00
Christian Andolf
485fddfa3d fix: make sure of design system button and inherent typography props 2025-05-09 09:57:40 +02:00
Christian Andolf
494f44f216 Merged in feat/LOY-198-dtmc-card-animation (pull request #2010)
feat(LOY-198): dtmc card animation when hovering

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-08 14:55:06 +00:00
Christian Andolf
53c21bb601 feat(LOY-199): add benefits link to dtmc modal 2025-05-08 14:25:16 +02:00
Christian Andolf
d53b07b907 feat(LOY-198): dtmc card animation when hovering 2025-05-08 11:59:20 +02:00
Christian Andolf
62eef660fe feat(LOY-197): add screen wake lock to dtmc 2025-05-07 14:01:51 +02:00
Christian Andolf
0066c058e3 fix(LOY-196): change svg color to be derived from css and variables instead 2025-05-07 10:48:08 +02:00
Christian Andolf
8ca0aee25e fix(LOY-196): replace employee number with dummy value
add support for className to modal
2025-05-07 10:32:32 +02:00
Christian Andolf
9b22459837 feat(LOY-196): add modal to dtmc button containing card 2025-05-06 15:08:54 +02:00
Christian Andolf
7359ab4afd feat(LOY-195): digital team member card button on my pages overview 2025-05-06 14:46:12 +02:00