Commit Graph

1270 Commits

Author SHA1 Message Date
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
Christian Andolf
372fcccbf1 Merged in feat/LOY-276-sas-hero-image (pull request #2411)
feat(LOY-276): add hero image to account page

Approved-by: Erik Tiekstra
2025-06-25 09:40:47 +00:00
Christian Andolf
56df2cdb2a feat(LOY-263): add link to missing points form to earn and burn 2025-06-25 11:40:15 +02:00
Christian Andolf
acc77625c8 feat(LOY-263): added new link to missing points form
removed soonest stays for redundancy
2025-06-25 11:40:15 +02:00
Tobias Johansson
8c4715dd24 Merged in feat/SW-2680-tracking-fixes (pull request #2373)
fix(SW-2680): Added new properties used for tracking

* fix(SW-2680): Added new properties used for tracking


Approved-by: Michael Zetterberg
2025-06-25 08:56:37 +00:00
Linus Flood
7a56d21a3e Merged in feat/SW-3050-webviews (pull request #2429)
Feat/SW-3050 webviews

Approved-by: Anton Gunnarsson
2025-06-25 07:44:33 +00:00
Bianca Widstam
3d4d66870d Merged in fix/SW-2706-label-room-features (pull request #2419)
fix(SW-2706): use labels for localize instead of API for room features

* fix(SW-2706): use labels for localize instead of API for room features


Approved-by: Tobias Johansson
2025-06-24 13:49:40 +00:00
Bianca Widstam
5c3b30ea93 Merged in fix/SW-3020-paymentInfo-tracking (pull request #2403)
fix(SW-3020): add correct paymentInfo in booking flow and ancillary flow

* fix(SW-3020): add correct paymentInfo in booking flow and ancillary flow

* fix(SW-3020): fix pr comments


Approved-by: Tobias Johansson
2025-06-24 13:38:30 +00:00
Erik Tiekstra
eb77241a4e feat(SW-2958): Removed filter to remove self-referring hreflang tag
Approved-by: Matilda Landström
2025-06-24 13:38:08 +00:00
Christian Andolf
3f6127b861 feat(LOY-276): add hero image to account page 2025-06-24 14:54:54 +02:00
Bianca Widstam
f08d3330b9 Merged in fix/SW-3093-checkbox-rewardnights-sms (pull request #2422)
fix(SW-3093): add sms checkbox for reward night on enter details

* fix(SW-3093): add sms checkbox for reward night on enter details


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-06-24 12:43:02 +00:00
Bianca Widstam
a112173663 Merged in fix/Sw-2849-update-sidepeek-select-rate (pull request #2406)
fix(SW-2849): use same sidepeek on select rate as on select hotel

* fix(SW-2849): use same sidepeek on select rate as on select hotel

* fix(SW-2849): remove ameneties sidepeek enum


Approved-by: Erik Tiekstra
2025-06-24 11:37:25 +00:00
Erik Tiekstra
11201e238d feat(SW-2975): Added top campaign to campaign overview page
Approved-by: Matilda Landström
2025-06-24 10:22:07 +00:00
Arvid Norlin
438de66a1f Merged in feat/SW-3076 (pull request #2416)
feat(SW-3076: change phone country code on country select)

* feat(SW-3076: change phone country code on country select)


Approved-by: Simon.Emanuelsson
2025-06-24 09:47:18 +00:00
Hrishikesh Vaipurkar
1cbf525bf7 Merged in fix/SW-2952-mobile-browser-ios-booking- (pull request #2279)
Fix: SW-2952 Fixed color guests room label iPhone

* Fix: SW-2952 Fixed color guests room label iPhone

* fix: SW-2952 Updated to correct color token


Approved-by: Erik Tiekstra
2025-06-24 09:13:30 +00:00
Erik Tiekstra
1199f448b4 fix: Added breadcrumbs fragments for campaign pages
Approved-by: Matilda Landström
2025-06-24 09:06:01 +00:00
Hrishikesh Vaipurkar
e77ed2407b Merged in feat/SW-3002-new-hotel-move-tripadvisor (pull request #2375)
feat: SW-3002 Changed tripadvisor review subpage to Sidepeek

* feat: SW-3002 Changed tripadvisor review subpage to Sidepeek

* feat: SW-3002 Optimised styles


Approved-by: Erik Tiekstra
2025-06-24 07:39:18 +00:00
Erik Tiekstra
bfaa3d4b65 fix(SW-2265): Removed campaign identifier from campaign page
Approved-by: Matilda Landström
2025-06-24 07:31:05 +00:00
Matilda Landström
b8864517bf Merged in fix/SW-3058-hotel-page-margin (pull request #2404)
fix(SW-3058): fix hotel page overflowing width

* fix(SW-2058): fix hotel page with


Approved-by: Erik Tiekstra
2025-06-23 14:30:44 +00:00
Tobias Johansson
401c4ba6d1 Merged in fix/SW-3087-price-details-error (pull request #2402)
fix(SW-3087): Added missing property that caused error in PriceDetailsModal

* fix(SW-3087): Added missing property that caused error in PriceDetailsModal


Approved-by: Arvid Norlin
Approved-by: Matilda Landström
2025-06-23 08:45:01 +00:00
Erik Tiekstra
891108791c feat(SW-2264): Added campaign overview page
Approved-by: Matilda Landström
2025-06-19 15:19:56 +00:00
Linus Flood
3c4ff0a792 Merged in fix/LOY-280-phone (pull request #2393)
fix(LOY-280): phone number validation

* fix(LOY-280): phone number validation

* Return formatted phonenumber even though its not valid


Approved-by: Christian Andolf
2025-06-19 12:24:33 +00:00
Christian Andolf
59745dc61a fix(SW-3085): restore missing form id 2025-06-19 13:25:24 +02:00
Michael Zetterberg
4a00527d1d fix: synced redirects 2025-06-19 09:46:33 +00:00
Matilda Landström
df1cc661aa Merged in fix/SW-2266-campaign-hero-image (pull request #2399)
fix(SW-2266): update image size

* fix(SW-2266): update image size


Approved-by: Erik Tiekstra
2025-06-19 09:37:27 +00:00