Matilda Landström
b7f2afb5e4
Merged in feat/SW-882-usp-card-icons (pull request #2586 )
...
feat(SW-882): add icons to USP card
* feat(SW-882): add icons to USP card
Approved-by: Anton Gunnarsson
2025-08-01 14:48:25 +00:00
Hrishikesh Vaipurkar
33c274bce1
Merged in fix/SW-2926-hotel-special-alerts- (pull request #2580 )
...
fix(SW-2926): Display alerts in booking flow if date range matches search dates and in hotel page if current date is in date range
* fix(SW-2926): Display alerts in booking flow if date range matches search dates and in hotel page if current date is in date range
* fix(SW-2926) Updated hotel alerts with respect to booking dates
* fix(SW-2926): Optimized code
Approved-by: Matilda Landström
2025-08-01 08:26:32 +00:00
Hrishikesh Vaipurkar
03c327b449
Merged in fix/SW-2193-enter-details-incorrect-bed- (pull request #2573 )
...
fix(SW-2193): Updated bed type icon in sidepeek room details
* fix(SW-2193): Updated bed type icon in sidepeek room details
Approved-by: Matilda Landström
2025-07-29 07:29:34 +00:00
Matilda Landström
9679212864
Merged in feat/SW-1956-add-English-caption-fallback (pull request #2574 )
...
Feat/SW-1956 add English caption fallback
* feat(SW-1956): add English fallback to gallery caption
* feat(SW-1956): add English fallback to gallery caption
Approved-by: Anton Gunnarsson
2025-07-29 06:12:57 +00:00
Chuma Mcphoy (We Ahead)
960787f82c
Merged in feat/LOY-285-SAS-marketing-banner-my-pages (pull request #2544 )
...
feat(LOY-285): SAS Link Account Banner for My Pages (Part 1)
* feat(LOY-285): SAS Link Account Banner for My Pages
* fix(LOY-285): )use new space variable
* fix(LOY-285): add alt to images
Approved-by: Matilda Landström
2025-07-11 08:37:25 +00:00
Matilda Landström
19b58be654
Merged in feat/SW-1468 (pull request #2529 )
...
feat(SW-1468): add restaurant name mapping
* feat(SW-1468): add restaurant name mapping
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
2025-07-08 12:20:18 +00:00
Linus Flood
b35ceafc00
Merged in feat/SW-2903-tokens (pull request #2508 )
...
feat(SW-2358): Use personal token if logged in
* feat(SW-2903): Use personal token if logged in
* Avoid encoding values in cookie
* Fix tests
Approved-by: Anton Gunnarsson
2025-07-08 11:24:31 +00:00
Matilda Landström
a68072d2f6
Merged in feat/SW-2311-campaign-tracking (pull request #2530 )
...
feat(SW-2311): add campaign page tracking
* feat(SW-2311): add campaign page tracking
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
2025-07-07 11:46:26 +00:00
Erik Tiekstra
270249c6c4
feat(SW-2973): Added bookingCode if available to links inside campaign pages
...
* feat(SW-2973): Moved block types to trpc lib
Approved-by: Matilda Landström
2025-07-04 10:15:01 +00:00
Erik Tiekstra
fa7214cb58
Feat/SW-2271 hotel list filtering
...
* feat(SW-2271): Changes to hotel data types in preperation for filtering
* feat(SW-2271): Added filter and sort functionality
Approved-by: Matilda Landström
2025-07-04 09:27:20 +00:00
Matilda Landström
c3279ec254
Merged in feat/SW-1577-activity-card (pull request #2517 )
...
feat(SW-1577): activity card: add linking to collection page
* feat(SW-1577): add linking to collection page
Approved-by: Erik Tiekstra
2025-07-04 07:38:18 +00:00
Joakim Jäderberg
daf765f3d5
Merged in feature/wrap-logging (pull request #2511 )
...
Feature/wrap logging
* feat: change all logging to go through our own logger function so that we can control log levels
* move packages/trpc to using our own logger
* merge
Approved-by: Linus Flood
2025-07-03 12:37:04 +00:00
Linus Flood
03b8d8eac6
Merged in fix/destination-city-page-cache-revalidate (pull request #2492 )
...
Fix: destination city page invalidate cache in webhook
* Fix: destination city page invalidate cache in webhook
* Use correct uid
Approved-by: Joakim Jäderberg
2025-07-01 12:49:23 +00:00
Anton Gunnarsson
be25be7bb5
Merged in feat/sw-3125-move-client-trpc-setup (pull request #2493 )
...
feat(SW-3125): Move client trpc setup
* Move client trpc to package
* Client setup in partner-sas
* Add todo
Approved-by: Linus Flood
2025-07-01 12:41:28 +00:00
Erik Tiekstra
ea4ef9a048
fix: Added translated city name to meta title
...
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-07-01 09:48:18 +00:00
Anton Gunnarsson
6eeaa1cd40
Merged in feat/sw-2872-dependency-inject-app-context-in-trpc-package (pull request #2478 )
...
feat(SW-2872) Dependency inject app context in trpc package
* Move appRouter to trpc package
* WIP Move serverClient to trpc package
Doesn't handle errors yet
* Don't use global
* Use trpc everywhere
Approved-by: Linus Flood
2025-07-01 08:49:33 +00:00
Chuma Mcphoy (We Ahead)
7eb8deb208
Merged in feat/LOY-232-DTMC-API-INTEGRATION (pull request #2454 )
...
feat(LOY-232): DTMC API Integration
* feat(LOY-232): DTMC API Integration
* feat(LOY-232): use employment data in team member card
* refactor(LOY-232): remove static data, return employment details in parsed response & fix tests
* refactor(LOY-232): improve DTMC API Linking error control flow + make res type safe
* fix(LOY-232): remove unused utils
* fix(LOY-232): error vars
Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-07-01 07:03:59 +00:00
Christian Andolf
733281240f
chore: add vitest project config and yarn constraints
2025-06-30 14:17:49 +02:00
Anton Gunnarsson
4e1cb01b84
Merged in chore/cleanup-after-trpc-migration (pull request #2457 )
...
Chore/cleanup after trpc migration
* Clean up TODOs
* Rename REDEMPTION constant to SEARCH_TYPE_REDEMPTION
* Update dependencies
Remove unused deps from scandic-web
Add missing deps to trpc package
* Update self-referencing imports
* Remove unused variables from scandic-web env
* Fix missing graphql-tag package
* Actually fix
* Remove unused env var
Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-06-30 12:08:19 +00:00
Erik Tiekstra
8127cfc73b
feat(SW-3033): Added possibility to reference to campaign overview pages
...
Approved-by: Matilda Landström
2025-06-30 11:46:34 +00:00
Erik Tiekstra
0393f7b7b9
feat(SW-2270): Added hotel listing block to campaign overview page
...
Approved-by: Matilda Landström
2025-06-30 09:29:20 +00:00
Erik Tiekstra
4229e9b11b
feat(SW-2283): Added carousel cards block to campaign overview page
...
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-30 09:08:22 +00:00
Christian Andolf
ff40ef72c4
chore: fix and migrate unit tests to vitest
2025-06-30 09:49:30 +02:00
Anton Gunnarsson
f0def99425
Merged in chore/remove-unused-env-vars (pull request #2463 )
...
chore: Remove unused env vars and feature toggles
* Remove unused env vars and feature toggles
Approved-by: Joakim Jäderberg
2025-06-30 07:48:05 +00:00
Christian Andolf
471b1b6409
feat(LOY-284): add accordion support to account pages
2025-06-30 09:06:34 +02:00
Matilda Landström
2b5573059c
Merged in fix/teaser-card-issue (pull request #2459 )
...
fix(SW-3120): update teaser card validation
* fix: update teaser card validation
Approved-by: Michael Zetterberg
Approved-by: Linus Flood
2025-06-27 13:27:35 +00:00
Anton Gunnarsson
01ca2b4897
Merged in feat/sw-2867-move-user-router-to-trpc-package (pull request #2428 )
...
Move user router to trpc package
* 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
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Remove translations from My Pages navigation trpc procedure
* Move navigation router to trpc package
* Move user router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'feat/sw-2865-move-navigation-router-to-trpc-package' into feat/sw-2867-move-user-router-to-trpc-package
* Merge branch 'master' into feat/sw-2867-move-user-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 07:07:49 +00:00
Anton Gunnarsson
00bcdaaa28
Merged in feat/sw-2865-move-navigation-router-to-trpc-package (pull request #2427 )
...
feat(SW-2862): Move navigation router to trpc package
* 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
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Remove translations from My Pages navigation trpc procedure
* Move navigation router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 06:54:49 +00:00
Anton Gunnarsson
e572d9e7e9
Merged in feat/sw-2862-move-booking-router-to-trpc-package (pull request #2421 )
...
feat(SW-2861): Move booking router to trpc package
* 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
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 13:21:16 +00:00
Anton Gunnarsson
5f8ac8cdeb
Merged in feat/sw-2861-move-autocomplete-router-to-trpc-package (pull request #2417 )
...
feat(SW-2861): Move autocomplete router 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
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Merge branch 'master' into feat/sw-2861-move-autocomplete-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 12:40:45 +00:00
Anton Gunnarsson
f9c719ff4b
Merged in feat/sw-2866-move-partners-router-to-trpc-package (pull request #2414 )
...
feat(sw-2866): Move partners router 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
* Move partners router to trpc package
* Merge branch 'master' into feat/sw-2866-move-partners-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:44:13 +00:00
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
Anton Gunnarsson
846fd904a6
Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319 )
...
feat(SW-2859): Create trpc package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Clean up tests
* Create trpc package and move initialization
* Move errors and a few procedures
* Move telemetry to common package
* Move tokenManager to common package
* Add Sentry to procedures
* Clean up procedures
* Fix self-referencing imports
* 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
* Fix lang imports
Approved-by: Linus Flood
2025-06-18 12:14:20 +00:00