Commit Graph

4885 Commits

Author SHA1 Message Date
Simon Emanuelsson
361fd75133 fix: lowerCase firstname and lastname when matching between rooms 2025-06-30 13:16:59 +00:00
Simon Emanuelsson
9eff04f987 fix: summary showed 0 CC for approx value 2025-06-30 12:59:57 +00:00
Christian Andolf
8ec3b6d60e Merged in chore/vitest-projects-config (pull request #2472)
chore: add vitest project config and yarn constraints

Approved-by: Anton Gunnarsson
2025-06-30 12:24:12 +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
Christian Andolf
69a90928f3 Merged in fix/hydration-errors (pull request #2476)
fix: fixed hydration errors by setting ids

Approved-by: Linus Flood
2025-06-30 11:42:24 +00:00
Christian Andolf
18cbd952b7 fix: fixed hydration errors by setting ids
moved scripts to body since beforeInteractive strategy ones will be placed in the head regardless, avoiding double render
2025-06-30 13:28:05 +02:00
Linus Flood
a8a11cca25 Merged in fix/lokalise-sync-250630 (pull request #2474)
Sync lokalise

* Sync lokalise


Approved-by: Bianca Widstam
2025-06-30 11:26:14 +00:00
Simon Emanuelsson
59f4a27cb1 feat: translate Voucher everywhere during booking flow 2025-06-30 10:57:00 +00:00
Hrishikesh Vaipurkar
a0b0ed2544 Merged in feat/SW-3072-desktop-new-button-for-see- (pull request #2408)
feat: SW-3072 Added overlay to static map on city page

* feat: SW-3072 Added overlay to static map on city page

* feat: SW-3072 Updated map link in desktop select-hotel page

* feat: SW-3072 Updated as review comments


Approved-by: Erik Tiekstra
2025-06-30 10:48: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
Linus Flood
15c85163fd Merged in fix/SW-3122-destionations-sort (pull request #2471)
fix(SW-3122): copy array before sorting since it can be immutible

* fix(SW-3122): copy array before sorting since it can be immutible


Approved-by: Matilda Landström
2025-06-30 08:44:11 +00:00
Linus Flood
167b5e7e8a Merged in fix/webview-auth (pull request #2469)
feat(SW-3124): webview auth stuck in a refresh loop

* feat(SW-3124): webview auth stuck in a refresh loop


Approved-by: Anton Gunnarsson
2025-06-30 08:29:19 +00:00
Christian Andolf
07085d02f5 Merged in chore/fix-migrate-unit-tests-vitest (pull request #2461)
Chore/fix migrate unit tests vitest

Approved-by: Anton Gunnarsson
2025-06-30 08:25:14 +00:00
Christian Andolf
a3645da8c4 chore: add unit test to scandic web pipeline 2025-06-30 09:58:26 +02:00
Christian Andolf
ff40ef72c4 chore: fix and migrate unit tests to vitest 2025-06-30 09:49:30 +02:00
Anton Gunnarsson
a91c28096d Merged in feat/sw-2880-prepare-booking-flow-package (pull request #2467)
feat(SW-2880) Prepare booking flow package

* Init booking-flow package

* Add gitignore

* Use booking-flow package

* Use design-system


Approved-by: Joakim Jäderberg
2025-06-30 07:48:28 +00: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
bdf66af23d Merged in feat/LOY-284-add-accordion-support-account-page (pull request #2443)
feat(LOY-284): add accordion support to account pages

Approved-by: Erik Tiekstra
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-30 07:47:05 +00:00
Christian Andolf
471b1b6409 feat(LOY-284): add accordion support to account pages 2025-06-30 09:06:34 +02:00
Erik Tiekstra
36d010a0a4 feat(SW-2957): Added suffix to meta title on specific page types
Approved-by: Matilda Landström
2025-06-30 06:08:17 +00: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
Bianca Widstam
fe75018a46 Merged in fix/SW-3117-filter-default-zero (pull request #2464)
fix(SW-3117): default filter count on mobile number of hotels

* fix(SW-3117): default filter should be hotel count


Approved-by: Tobias Johansson
2025-06-27 13:07:01 +00:00
Bianca Widstam
4755225bcc Merged in fix/SW-2824-map-mobile-card-hide-pin (pull request #2458)
fix(SW-2824): move pin latitude on mobile to make space for hotel card on map

* fix(SW-2824): move pin latitude on mobile to make space for hotel card on map


Approved-by: Anton Gunnarsson
2025-06-27 12:57:58 +00:00
Anton Gunnarsson
157c0415e5 Merged in fix/add-netlify-build-ignore (pull request #2366)
chore: Add ignore to build config

* Add ignore to build config

* Add missing package to ignore

* Add build filter for partner-sas site


Approved-by: Linus Flood
2025-06-27 09:48:03 +00:00
Hrishikesh Vaipurkar
edca03decf Merged in fix/SW-2884-select-hotel-page-users-are-di (pull request #2438)
fix: SW-2884 Fixed Alternative hotels map navigation issues

* fix: SW-2884 Fixed Alternative hotels map navigation issues

* fix: SW-2884 Optmized code


Approved-by: Arvid Norlin
2025-06-27 08:05:26 +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
Linus Flood
39250e21e3 Merged in fix/checkout-translation (pull request #2456)
Fixed checkout translation

* Fixed checkout translation

* Added comma


Approved-by: Bianca Widstam
2025-06-27 06:52:25 +00:00
Michael Zetterberg
5736c437b6 fix: Remove metadata for ratings subpage, it no longer exists 2025-06-27 06:37:27 +00:00
Michael Zetterberg
72f32a09ba fix: Ratings & reviews Sidepeek heading 2025-06-27 06:37:27 +00:00
Tobias Johansson
57433c0395 Merged in fix/SW-2679-form-tracking (pull request #2455)
fix(SW-2679): dont track form abandonment if form is valid

* fix(SW-2679): dont track form abandonment if form is valid


Approved-by: Linus Flood
2025-06-27 06:26:43 +00:00
Chuma Mcphoy (We Ahead)
6965effcc2 Merged in feat/LOY-261-Remove-Sidebar-From-MyPages (pull request #2380)
Feat/LOY-261 Remove Sidebar From MyPages

* feat(LOY-261): remove sidebar from my pages

* refactor(LOY-261): move SASLevelUpgradeCheck to my-pages layout and remove unused code

* chore(LOY-261): remove console logs

* fix(LOY-261): remove sidebar and center content in Loyalty Pages when logged in

* fix(LOY-261): better class naming for content width


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-06-26 14:25:17 +00:00
Anton Gunnarsson
133f7b3d75 Merged in feat/sw-2781-partner-sas-site-setup (pull request #2432)
feat(SW-2781): Setup SAS partner site

* Add boilerplate for SAS partner site

* Fonts

* netlify.toml


Approved-by: Linus Flood
2025-06-26 13:45:15 +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
Christian Andolf
ded9e1278f Merged in fix/LOY-283-remove-dtmc-title (pull request #2449)
fix(LOY-283): remove title from dtmc modal

Approved-by: Chuma Mcphoy (We Ahead)
2025-06-26 13:04:43 +00:00
Bianca Widstam
7b57899b85 Merged in fix/SW-2808-remove-filter-no-availability-messge (pull request #2447)
fix(SW-2808): remove no hotels match your filter as it will never appear due to changed logic

* fix(SW-2808): remove no hotels match your filter as it will never appear due to changed logic


Approved-by: Tobias Johansson
2025-06-26 13:04:23 +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
Simon Emanuelsson
7e4ed93c97 feat: add wrapping behavior to policy/cookie links in footer 2025-06-26 11:59:28 +00:00
Simon Emanuelsson
5d275c6b1b feat: add condition to show strikethrough price 2025-06-26 11:59:05 +00:00
Michael Zetterberg
fb75cdc710 fix(netlify-plugin-branch-sync): use 'FETCH_HEAD' instead of 'origin/${SYNC_SOURCE}' as push source in refspec 2025-06-26 13:24:10 +02:00
Michael Zetterberg
004f0e4ef9 fix(netlify-plugin-branch-sync): use 'origin/${SYNC_SOURCE}' instead of 'HEAD' as push source in refspec 2025-06-26 11:12:33 +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
395d466c51 Merged in fix/sw-3097-negative-point-transfer (pull request #2434)
fix(SW-3097): Improve handling when trying to transfer negative SAS points

* Improve handling of trying to transfer negative points


Approved-by: Linus Flood
2025-06-26 09:30:02 +00:00
Christian Andolf
a3d3f3a06c fix(LOY-283): remove title from dtmc modal
adjust padding and remove box-shadow according to design documents
2025-06-26 11:23:27 +02: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
Bianca Widstam
0263ab8c87 Merged in fix/SW-2739-reward-night-CTA-map (pull request #2446)
fix(SW-2739): only show not enough points if redemption

* fix(SW-2739): only show not enough points if redemption

* fix(SW-2739): rename variable


Approved-by: Arvid Norlin
2025-06-26 07:29:28 +00:00