Anton Gunnarsson
8518d018f8
Merged in feat/sw-3230-move-link-to-design-system (pull request #2618 )
...
feat(SW-3230): Move Link to design-system
* Move Link to design-system
* Remove comments
Approved-by: Linus Flood
2025-08-12 12:35:20 +00:00
Hrishikesh Vaipurkar
4c9790b938
Merged in feat/SW-2643-aa-tracking-phone-number-email- (pull request #2617 )
...
feat: SW-2643 Tracking added mobile and email hash in booking cofirmation
* feat: SW-2643 Tracking added mobile and email hash in booking cofirmation
Approved-by: Matilda Landström
2025-08-12 12:19:49 +00:00
Hrishikesh Vaipurkar
6dd95d4a4a
Merged in fix/SW-2367-mobile-ui-correction- (pull request #2603 )
...
Fix/SW-2367 mobile ui correction
* fix(SW-2367): UI updates
* fix(SW-2367): Optimised code
Approved-by: Bianca Widstam
2025-08-07 13:00:11 +00:00
Bianca Widstam
9f4e2b3c45
Merged in fix/SW-2425-filter-label-lokalise (pull request #2602 )
...
fix(SW-2425): filter description should be translated with lokalise
* fix(SW-2425): filter description should be translated with lokalise
Approved-by: Anton Gunnarsson
2025-08-06 14:09:32 +00:00
Anton Gunnarsson
1bd8fe6821
Merged in feat/sw-2879-booking-widget-to-booking-flow-package (pull request #2532 )
...
feat(SW-2879): Move BookingWidget to booking-flow package
* Fix lockfile
* Fix styling
* a tiny little booking widget test
* Tiny fixes
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Remove unused scripts
* lint:fix
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Tiny lint fixes
* update test
* Update Input in booking-flow
* Clean up comments etc
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Setup tracking context for booking-flow
* Add missing use client
* Fix temp tracking function
* Pass booking to booking-widget
* Remove comment
* Add use client to booking widget tracking provider
* Add use client to tracking functions
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Move debug page
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
Approved-by: Bianca Widstam
2025-08-05 09:20:20 +00:00
Hrishikesh Vaipurkar
630cc12215
Merged in fix/SW-3205-mystay-anonymous-booking- (pull request #2584 )
...
fix(SW-3205): Disabled ancillary points and saved cards for anonymous booking
* fix(SW-3205): Disabled ancillary points and saved cards for anonymous booking
* fix(SW-2903 SW-3205): Updated code to be consistent in all scenarios
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-08-01 08:27:27 +00:00
Hrishikesh Vaipurkar
33c274bce1
Merged in fix/SW-2926-hotel-special-alerts- (pull request #2580 )
...
fix(SW-2926): Display alerts in booking flow if date range matches search dates and in hotel page if current date is in date range
* fix(SW-2926): Display alerts in booking flow if date range matches search dates and in hotel page if current date is in date range
* fix(SW-2926) Updated hotel alerts with respect to booking dates
* fix(SW-2926): Optimized code
Approved-by: Matilda Landström
2025-08-01 08:26:32 +00:00
Matilda Landström
9679212864
Merged in feat/SW-1956-add-English-caption-fallback (pull request #2574 )
...
Feat/SW-1956 add English caption fallback
* feat(SW-1956): add English fallback to gallery caption
* feat(SW-1956): add English fallback to gallery caption
Approved-by: Anton Gunnarsson
2025-07-29 06:12:57 +00:00
Hrishikesh Vaipurkar
36e8ac11d1
Merged in fix/SW-2500-sync-hotel-images-and- (pull request #2569 )
...
fix(SW-2500): Fixed no image gives error on confirmation and booking page
* fix(SW-2500): Fixed no image gives error on confirmation and booking page
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-28 08:51:43 +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
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
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
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
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
Simon Emanuelsson
59f4a27cb1
feat: translate Voucher everywhere during booking flow
2025-06-30 10:57:00 +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
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
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
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
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
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
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
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
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Christian Andolf
9ee0ec2d46
fix: restore icon variant for link since inline-flex makes its children inline but not the box itself
2025-06-12 14:41:02 +02:00
Bianca Widstam
0bd78bc7a6
Merged in fix/SW-2929-hotjar-suppress-confirmation (pull request #2286 )
...
fix(SW-2929): suppress personal info on confirmation page
* fix(SW-2929): suppress personal info on confirmation page
Approved-by: Christian Andolf
2025-06-04 08:02:40 +00:00
Bianca Widstam
c632d0c269
Merged in fix/SW-2929-hotjar-name-confirmation-page (pull request #2282 )
...
fix(SW-2929): hotjar suppress name on confirmation page
* fix(SW-2929): hotjar suppress name on confirmation page
Approved-by: Linus Flood
2025-06-03 18:26:11 +00:00
Christian Andolf
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Tobias Johansson
f77202f58b
Merged in fix/SW-2249-missing-currency (pull request #2159 )
...
fix(SW-2249): Added default currency to summary and price details modal
* fix(SW-2249): Added default currency to summary and price details modal
Approved-by: Hrishikesh Vaipurkar
2025-05-26 06:51:57 +00:00
Michael Zetterberg
f3936f41d8
Merged in fix/label-sync (pull request #2163 )
...
fix: english label sync
* fix: english label sync
* fix: sync from Lokalise
Approved-by: Linus Flood
2025-05-21 04:11:22 +00:00
Simon Emanuelsson
e082bf2e50
feat: make sure correct data is sent to tracking
2025-05-14 15:10:18 +00:00
Simon Emanuelsson
ca29237f2e
feat: add no breakfast message to price details modal and to conf page receipt
2025-05-14 11:12:24 +02:00
Bianca Widstam
e78d9f2a86
Merged in SW-2591-test-confirmation-page-incorrect-side-peek-is-displayed-upon-tapping-the-view-room-details-link (pull request #2057 )
...
SW-2591 test confirmation page incorrect side peek is displayed upon tapping the view room details link
* fix(SW-2591): remove redundant div
Approved-by: Simon.Emanuelsson
2025-05-12 14:07:54 +00:00
Tobias Johansson
02b26e7965
Merged in fix/SW-2668-tracking-room-details-missing (pull request #2015 )
...
fix(SW-2668): added search term and room details to tracking
* fix(SW-2668): added search term and room details to tracking
* fix: change to optional type
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-05-08 14:13:51 +00:00
Bianca Widstam
8d864df5b3
Merged in fix/SW-2051-add-correct-links-to-cards (pull request #2013 )
...
fix(SW-2051): add correct url to promocards on confirmation page
* fix(SW-2051): add correct url to promocards on confirmation page
Approved-by: Christian Andolf
2025-05-08 14:03:16 +00:00
Simon Emanuelsson
a99e434d84
feat: move room charge to top in price details modal
2025-05-08 10:38:44 +00:00
Tobias Johansson
25ae368210
Merged in fix/SW-1353-and-SW-2497-tracking-fixes (pull request #1977 )
...
fix: tracking fixes SW-1353 and SW-2497
* fix: tracking fixes
* fix: remove console log and rename variable
Approved-by: Michael Zetterberg
Approved-by: Arvid Norlin
2025-05-06 11:15:52 +00:00
Michael Zetterberg
35a2ae9dcc
feat: allow direct access to my stay from booking confirmation
2025-05-06 10:14:33 +00:00
Bianca Widstam
41e5ce25b2
Merged in fix/breakfast-tracking-totalUnits (pull request #1975 )
...
fix: use totalUnits
* fix: use totalUnits
Approved-by: Niclas Edenvin
Approved-by: Matilda Landström
2025-05-06 09:35:45 +00:00
Michael Zetterberg
81c2afe570
feat(SW-2616): use refId from booking, not search params
2025-05-06 08:30:42 +02:00
Arvid Norlin
afda7f851a
fix: correct membershipFailedError logic
2025-05-06 04:19:28 +00:00
Bianca Widstam
314644c88c
fix(SW-2051): issues on confirmation page
2025-05-05 17:15:24 +02:00