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
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
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
Simon Emanuelsson
5d275c6b1b
feat: add condition to show strikethrough price
2025-06-26 11:59:05 +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
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
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
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
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
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
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
Simon Emanuelsson
d4894c1647
feat: change all Based on availability to Subject to availability in booking flow
2025-06-25 10:30:45 +00: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
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
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
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
Christian Andolf
59745dc61a
fix(SW-3085): restore missing form id
2025-06-19 13:25:24 +02:00
Bianca Widstam
46e7f33ab6
Merged in fix/SW-3083-alternative-hotels-page-not-found (pull request #2396 )
...
fix(SW-3083): alternative hotels compare locations with cityIdentifier
* fix(SW-3083): alternative hotels compare locations with cityIdentifier
* fix(SW-3083): rename cityName
* fix(SW-3083): rename to cityIdentifier
Approved-by: Anton Gunnarsson
2025-06-19 08:08:33 +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
Simon Emanuelsson
2f553bb945
feat: change GLA to be more clear to the user
2025-06-18 11:43:53 +00:00
Tobias Johansson
002d5f9c68
Merged in fix/SW-3078-wrong-dates-time-zones (pull request #2388 )
...
fix(SW-3078): change to string instead of Date in Zod schema
* fix(SW-3078): change to string instead of Date in Zod schema
Approved-by: Michael Zetterberg
Approved-by: Linus Flood
2025-06-18 10:55:05 +00:00
Christian Andolf
6ca79d6bab
chore: replace old primary background token with new one
2025-06-17 15:37:26 +02:00
Christian Andolf
f559703de7
Merged in fix/parse-phonenumber-before-submit (pull request #2376 )
...
fix: now parses phone number before submitting on edit profile and signup
Approved-by: Linus Flood
2025-06-17 09:03:22 +00:00
Christian Andolf
0b8e3edc15
fix: now parses phone number before submitting on edit profile and signup
2025-06-17 10:48:19 +02:00
Simon Emanuelsson
07a764211f
feat: use correct description for beds in sidepeek
2025-06-16 13:43:29 +00:00
Hrishikesh Vaipurkar
698c424f21
Merged in fix/SW-2950-validation-rule-for-zipcode- (pull request #2360 )
...
Fix: SW-2950 Updated zip code validation rule with regex
* Fix: SW-2950 Updated zip code validation rule with regex
* fix: SW-2950 Removed non-english characters from postal code regex
Approved-by: Christian Andolf
2025-06-16 08:32:46 +00:00
Christian Andolf
434b5dbdb2
Merged in fix/revert-numeric-inputmode-zipcode (pull request #2362 )
...
fix: revert numeric inputmode zipcode
Approved-by: Linus Flood
2025-06-16 06:58:24 +00:00
Simon.Emanuelsson
85acd3453d
Merged in feat/SW-1719-strikethrough-rates (pull request #2266 )
...
Feat/SW-1719 strikethrough rates
* feat(SW-1719): Strikethrough rate if logged in on regular rate cards
* feat(SW-1719): Strikethrough rate if logged in on rate summary
* feat(SW-1719): Strikethrough rate if logged in on mobile rate summary
* feat(SW-1719): Strikethrough rate if logged in on enter details
* feat(SW-1719): Strikethrough rate support for multiple rooms
* feat(SW-1719): booking receipt fixes on confirmation page
* feat(SW-1719): improve initial total price calculation
* feat: harmonize enter details total price to use one and the same function
Approved-by: Michael Zetterberg
2025-06-13 12:01:16 +00:00
Christian Andolf
73884aa428
fix: restore old select selectors for label to still support the temp design select
...
deprecated the temp design select in favor of the new one
2025-06-13 13:07:38 +02:00
Christian Andolf
8b5e8aecae
Merged in fix/phone-country-code-fix (pull request #2357 )
...
fix: remove country code from prefilled phone input
Approved-by: Simon.Emanuelsson
2025-06-13 11:01:40 +00:00
Christian Andolf
bd24506ad0
Merged in fix/restore-icon-variant-link (pull request #2340 )
...
fix: restore icon variant for link since inline-flex makes its children inline but not the box itself
Approved-by: Arvid Norlin
2025-06-13 10:19:14 +00:00
Christian Andolf
c545ed2fe2
Merged in refactor/design-system-divider (pull request #2354 )
...
refactor: move divider to design system
Approved-by: Arvid Norlin
2025-06-13 09:38:10 +00:00
Christian Andolf
430cc6f644
fix: revert numeric inputmode zipcode
2025-06-13 11:33:04 +02:00
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Christian Andolf
9da986f554
fix: extrapolate phone number parsing for re-usage in edit profile
...
move error messages to message handler
2025-06-13 10:46:15 +02:00
Tobias Johansson
e645b15c6e
Merged in fix/SW-2841-filter-popup-closing-on-select (pull request #2289 )
...
Fix/SW-2841 filter popup closing on select
* fix(SW-2841): refactored so that filter modal is not closed when selecting filters
* fix(SW-2841): rename component
* fix: review feedback
* fix: move font-family
* fix: change init value of filteredHotelIds
* fix
* fix: add Typography tag
Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-06-13 07:41:31 +00:00
Simon Emanuelsson
7be6c5dfb5
feat: remove bookingCode from searchParams for hotels without availability
2025-06-13 07:16:58 +00:00
Joakim Jäderberg
180a100140
Merged in fix/SW-2964-hide-booking-code-switcher (pull request #2345 )
...
fix: as a temporary fix hide booking code switcher and add a way to do a search without bookingcode
* fix: as a temporary fix hide booking code switcher and add a way to do a search without bookingcode
Approved-by: Linus Flood
2025-06-13 07:07:22 +00:00