Hrishikesh Vaipurkar
2f72a0437b
Merged in chore/SW-3145-move-country (pull request #2545 )
...
chore: SW-3145 Moved country into design system
* chore: SW-3145 Moved country into design system
Approved-by: Anton Gunnarsson
2025-07-10 12:20:49 +00:00
Bianca Widstam
3615c48853
Merged in fix/SW-1827-map-ipad-breakpoint (pull request #2539 )
...
fix(SW-1827): change breakpoint for ipad to 900 for map view select hotel
* fix(SW-1827): change breakpoint for ipad to 900 for map view select hotel
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-09 11:38:51 +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
Hrishikesh Vaipurkar
8ae251635d
Merged in chore/SW-3145-move-radio-card (pull request #2533 )
...
chore: SW-3145 Moved RadioCard to design system
* chore: SW-3145 Moved RadioCard to design system
* chore: SW-3145 Optimized code
* chore: SW-3145 Optimized code
Approved-by: Anton Gunnarsson
2025-07-08 08:25:00 +00:00
Hrishikesh Vaipurkar
d8f9376cd7
Merged in chore/SW-3145-move-button (pull request #2531 )
...
chore: SW-3145 Moved Button component from TempDS to Design System package
* chore: SW-3145 Moved Button compoenent from TempDS to Design System package
Approved-by: Anton Gunnarsson
2025-07-07 11:13:44 +00:00
Hrishikesh Vaipurkar
71c6f4cab3
Merged in chore/SW-3145-move-button (pull request #2527 )
...
chore: SW-3145 Moved tempdesign button to design-system
* chore: SW-3145 Moved tempdesign button to design-system
Approved-by: Anton Gunnarsson
2025-07-07 07:11:18 +00:00
Bianca Widstam
ef40d16a2f
Merged in fix/SW-2418-tracking-booking-cancellations (pull request #2500 )
...
fix(SW-2418): add duration and price to booking cancellations tracking
* fix(SW-2418): add duration and price to booking cancellations tracking
* fix(SW-2418): move sessionId and siteVersion inside the pageInfo object
Approved-by: Matilda Landström
2025-07-07 06:02:12 +00:00
Erik Tiekstra
903f419729
fix(SW-3081): Removed color option from hotel logos to avoid wrong colors
...
Approved-by: Matilda Landström
2025-07-04 11:40:09 +00:00
Anton Gunnarsson
9e1cc66f95
Merged in chore/sw-3145-move-deprecated-select (pull request #2518 )
...
chore(SW-3145): Move DeprecatedSelect to design-system
* Move DeprecatedSelect to design-system
Approved-by: Linus Flood
2025-07-04 06:34:18 +00:00
Anton Gunnarsson
923206ee4c
Merged in chore/sw-3145-move-subtitle (pull request #2516 )
...
chore(SW-3145): Move Title and Subtitle to design-system
* Move Title and Subtitle to design-system
* Fix export
Approved-by: Linus Flood
2025-07-04 06:22:28 +00:00
Anton Gunnarsson
80057264d9
Merged in chore/sw-3145-move-preamble (pull request #2519 )
...
chore(SW-3145): Move Preamble to design-system
* Move Preamble to design-system
Approved-by: Linus Flood
2025-07-04 06:11:25 +00:00
Anton Gunnarsson
7ff8fee20e
Merged in chore/sw-3145-move-skeleton-shimmer (pull request #2509 )
...
chore(SW-3145): Move SkeletonShimmer to design-system
* Move SkeletonShimmer to design-system
Approved-by: Joakim Jäderberg
2025-07-03 13:10:23 +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
Anton Gunnarsson
e5f8394f50
Merged in chore/move-checkbox-component (pull request #2501 )
...
chore(SW-3145): Move checkbox component to design-system
* Inline type
* Remove error handling from Checkbox internals
* Move Form/Checkbox
* Fix self referencing imports
Approved-by: Joakim Jäderberg
2025-07-03 08:37:01 +00:00
Anton Gunnarsson
0ffb40e94b
Merged in chore/sw-3145-move-footnote (pull request #2506 )
...
chore(SW-3145): Move Footnote to design-system
* Move Footnote to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:14:18 +00:00
Anton Gunnarsson
75a377b59e
Merged in chore/sw-3145-move-body (pull request #2505 )
...
chore(SW-3145): Move Body component to design-system
* Move Body component to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:04:36 +00:00
Anton Gunnarsson
a7ac79e429
Merged in chore/sw-3145-move-caption (pull request #2503 )
...
chore(SW-3145): Move Caption to design-system
* Move Caption to design-system
* Mark Caption as deprecated
Approved-by: Linus Flood
Approved-by: Joakim Jäderberg
2025-07-03 07:48:24 +00:00
Bianca Widstam
7f1b5f7505
Merged in fix/SW-2565-tracking-guarantee-status (pull request #2502 )
...
fix(SW-2565): change status to paymentStatus
* fix(SW-2565): change status to paymentStatus
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-07-02 13:39:57 +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
Bianca Widstam
481044346c
Merged in fix/SW-3001-booking-codes-all-rates-default (pull request #2489 )
...
fix(SW-3001): show booking codes rates by default
* fix(SW-3001): show booking codes rates by default
* fix(SW-3001): pr comment remove useEffect
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-01 10:42:56 +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
Tobias Johansson
d272cd03ce
Merged in fix/SW-3115-form-tracking-changes (pull request #2470 )
...
fix(SW-3115): add form complete tracking and removed input error tracking
* fix(SW-3115): add form complete tracking and removed input error tracking
Approved-by: Bianca Widstam
2025-07-01 06:44:08 +00:00
Bianca Widstam
86bd3fcea3
Merged in fix/SW-3117-filter-select-hotel (pull request #2475 )
...
Fix/SW-3117 filter select hotel
* fix(SW-3117): default hotel count fix
* fix(SW-3117): default hotel count for mobile
Approved-by: Tobias Johansson
Approved-by: Matilda Landström
2025-07-01 06:33:04 +00:00
Simon Emanuelsson
361fd75133
fix: lowerCase firstname and lastname when matching between rooms
2025-06-30 13:16:59 +00: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
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
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
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
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
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