Commit Graph

1194 Commits

Author SHA1 Message Date
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
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
Michael Zetterberg
5ff86fca32 feat: local netlify plugin to sync branches
A custom local Netlify plugin that handles syncing a source branch to multiple
destination branches.
2025-06-26 07:24:25 +00:00
Hrishikesh Vaipurkar
52837c3e38 Merged in fix/SW-3024-prod-logged-in-users-6pm-book- (pull request #2444)
fix: SW-3024 Fix same day booking mandatory guarantee

* fix: SW-3024 Fix same day booking mandatory guarantee


Approved-by: Arvid Norlin
2025-06-26 07:14:31 +00:00
Tobias Johansson
2cce2a95b7 Merged in fix/SW-2845-hotel-pins-map-screen (pull request #2437)
fix(SW-2845): remove hover state when clicking hotel card address

* fix(SW-2845): remove hover state when clicking hotel card address


Approved-by: Michael Zetterberg
2025-06-26 06:49:59 +00:00
Joakim Jäderberg
9b491c5364 Merged in fix/resolve-entry-clearing-cache (pull request #2445)
fix: use shared cache key when revalidating urls

* fix: use shared cache key when revalidating urls


Approved-by: Linus Flood
2025-06-26 06:23:03 +00:00
Bianca Widstam
f6cebcb269 Merged in fix/SW-2666-select-rate-campaign-terms-modal (pull request #2442)
fix(SW-2666): correct default rate for campaign rates member

* fix(SW-2666): correct default rate for campaign rates member


Approved-by: Christian Andolf
2025-06-25 14:43:26 +00:00
Bianca Widstam
169d7fa7ea Merged in fix/SW-2991-logged-in-ui-campaign-rate-card (pull request #2394)
fix(SW-2991): new rate card for logged in users

* fix(SW-2991): new rate card for logged in users


Approved-by: Simon.Emanuelsson
2025-06-25 14:18:39 +00:00
Bianca Widstam
ebc90a825d Merged in fix/SW-3020-tracking-card-type (pull request #2431)
fix(SW-3020)-tracking-card-type

* fix(SW-3020): add card type for guarantee success

* fix(SW-3020): fix pr comment


Approved-by: Tobias Johansson
2025-06-25 14:08:55 +00:00
Bianca Widstam
9e3d82b62c Merged in fix/SW-2739-map-reward-night-not-enough-points (pull request #2435)
fix(SW-2739): remove tooltip and add correct CTA on map for reward nights

* fix(SW-2739): remove tooltip and add correct CTA on map for reward nights

* fix(SW-2739): fix pr comment


Approved-by: Arvid Norlin
2025-06-25 13:30:43 +00:00
Matilda Landström
94fc5cabb3 Merged in fix/SW-3101-RTE-table (pull request #2440)
fix(SW-3101): content span all width

* fix(SW-3101): content span all width


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-06-25 13:16:17 +00:00
Arvid Norlin
96d9d0f190 Merged in fix/SW-2940 (pull request #2425)
fix (SW-2940): Close ameneties SidePeek when navigating from select-rate

* fix (SW-2940): Close ameneties SidePeek when navigating from select-rate


Approved-by: Tobias Johansson
2025-06-25 12:33:22 +00:00
Erik Tiekstra
e90c218440 feat: Added skeletons for campaign pages
Approved-by: Matilda Landström
2025-06-25 12:05:53 +00:00
Tobias Johansson
1e89fd4fe7 Merged in fix/SW-1702-new-search-map-view (pull request #2423)
fix(SW-1702): Check if map view in Booking widget

* fix(SW-1702): Check if map view in Booking widget

* fix: change includes to endsWith


Approved-by: Arvid Norlin
2025-06-25 12:05:48 +00:00
Arvid Norlin
1802a391ec Merged in fix/SW-2899 (pull request #2433)
fix (SW-2899): correct VAT calculations

* fix (SW-2899): correct VAT calculations

* refactor: add calculateVat util


Approved-by: Christian Andolf
2025-06-25 11:56:30 +00:00
Simon Emanuelsson
145a6d2365 feat: only show alerts when booking dates are affected 2025-06-25 11:16:20 +00:00
Simon Emanuelsson
64b3bd71dc feat: add translations for countrycode selector (phone) 2025-06-25 11:15:52 +00:00
Tobias Johansson
15adca9eb1 Merged in fix/SW-2707-no-availability-message (pull request #2420)
fix(SW-2707): Added new error code and set alert again when errorCode is changed

* fix(SW-2707): Added new error code and set alert again when errorCode is changed


Approved-by: Michael Zetterberg
2025-06-25 11:13:47 +00:00
Tobias Johansson
8272327993 Merged in fix/SW-2801-correct-date-formats (pull request #2400)
fix(SW-2801): Added lang specific date formats

* fix(SW-2801): Added lang specific date formats

* fix: wrong type import


Approved-by: Michael Zetterberg
2025-06-25 11:12:28 +00:00
Hrishikesh Vaipurkar
c0efbd17ff Merged in feat/SW-1512-selectrateenterdetails-room- (pull request #2407)
feat: SW-1512 Moved room description below amenities & bed options in sidepeek

* feat: SW-1512 Moved room description below amenities & bed options in sidepeek

* feat: SW-1512 Added sub-title for room description

* feat: SW-1512 Optimized styles


Approved-by: Erik Tiekstra
2025-06-25 11:04:44 +00:00
Simon Emanuelsson
d4894c1647 feat: change all Based on availability to Subject to availability in booking flow 2025-06-25 10:30:45 +00:00
Christian Andolf
06802d57b8 Merged in feat/LOY-263-add-link-missing-points-form (pull request #2392)
Feat/LOY-263 add link missing points form

Approved-by: Erik Tiekstra
2025-06-25 09:51:59 +00:00