Hrishikesh Vaipurkar
0a4bf40a15
Merged in chore/SW-3321-move-selectratecontext-to- (pull request #2729 )
...
chore(SW-3321): Moved Select rate context to booking-flow package
* chore(SW-3321): Moved Select rate context to booking-flow package
* chore(SW-3321): Optimised code
Approved-by: Joakim Jäderberg
2025-09-02 07:40:01 +00:00
Anton Gunnarsson
87402a2092
Merged in feat/sw-2873-move-selecthotel-to-booking-flow (pull request #2727 )
...
feat(SW-2873): Move select-hotel to booking flow
* crude setup of select-hotel in partner-sas
* wip
* Fix linting
* restructure tracking files
* Remove dependency on trpc in tracking hooks
* Move pageview tracking to common
* Fix some lint and import issues
* Add AlternativeHotelsPage
* Add SelectHotelMapPage
* Add AlternativeHotelsMapPage
* remove next dependency in tracking store
* Remove dependency on react in tracking hooks
* move isSameBooking to booking-flow
* Inject searchParamsComparator into tracking store
* Move useTrackHardNavigation to common
* Move useTrackSoftNavigation to common
* Add TrackingSDK to partner-sas
* call serverclient in layout
* Remove unused css
* Update types
* Move HotelPin type
* Fix todos
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Fix component
Approved-by: Joakim Jäderberg
2025-09-01 08:37:00 +00:00
Hrishikesh Vaipurkar
c6ed6d767e
Merged in fix/SW-1617-aa-tracking-ratecodetype- (pull request #2669 )
...
fix(SW-1617): Added rateCodeType in tracking for confirmation page
* fix(SW-1617): Added rateCodeType in tracking for confirmation page
* fix(SW-1617) Removed unnecessary comment
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-08-20 08:42:05 +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
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
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
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
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
Simon Emanuelsson
e082bf2e50
feat: make sure correct data is sent to tracking
2025-05-14 15:10:18 +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
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
Matilda Landström
5c6f468bd6
Merged in fix/SW-2440-breakfast-tracking (pull request #1947 )
...
Fix/SW-2440 breakfast tracking
* fix(SW-2440): fix confirmation ancillaries tracking
* fix(SW-2440): add breakfast ancillary when preselected
Approved-by: Bianca Widstam
2025-05-05 12:27:25 +00:00
Linus Flood
6979ac0c3b
Merged in revert-pr-1925 (pull request #1927 )
...
Revert "Feat/sw 2323 find booking (pull request #1925 )"
Approved-by: Anton Gunnarsson
2025-05-02 13:05:42 +00:00
Arvid Norlin
74d37dad93
feat(SW-2116): RefId instead of confirmationNumber
2025-05-02 12:44:07 +02:00
Bianca Widstam
8931fe5312
Merged in fix/SW-2438-change-to-breakfast-buffet-remove-dash (pull request #1918 )
...
fix(SW-2438): change to breakfast buffet always and replace dash with empty string
* fix(SW-2438): change to breakfast buffet always and replace dash with empty string
* fix(SW-2438): remove none from ageOfChildren
Approved-by: Tobias Johansson
Approved-by: Matilda Landström
2025-04-30 09:46:03 +00:00
Matilda Landström
bdffd985e8
Merged in feat/SW-2440-ancillary-tracking (pull request #1890 )
...
fix(SW-2440): Fix ancillaries tracking issues in booking flow confirmation page
* fix(SW-2240): fix ancillaries issues
Approved-by: Bianca Widstam
Approved-by: Christian Andolf
2025-04-29 11:04:25 +00:00
Tobias Johansson
70095043f8
Merged in fix/SW-1353-multiroom-tracking (pull request #1870 )
...
fix(SW-1353): enter details tracking fixes
* fix(SW-1353): tracking fixes
* refactor: move code
* fix: use hasPublicPrice
* fix: update calculation for roomPrice and totalPrice
* fix: only include bedtype if it is "preselected"
Approved-by: Michael Zetterberg
2025-04-29 06:29:57 +00:00
Matilda Landström
6d7fbe0894
Merged in feat/SW-2440-ancillaries-tracking (pull request #1846 )
...
Feat(SW-2440): Ancillaries tracking
* fix(SW-2440): move ancillaries tracking to separate object
Approved-by: Christian Andolf
2025-04-24 15:08:40 +00:00
Hrishikesh Vaipurkar
1c5b116ed8
Merged in feat/SW-1355-reward-night-booking-tracking (pull request #1758 )
...
feat: SW-1355 Tracking implementation reward night booking
* feat: SW-1355 Tracking implementation reward night booking
* feat: SW-1355 Updated checks and optional params
* feat: SW-1355 Typings updated
* feat: SW-1355 Removed undefined check
* feat: SW-1355 optimized code
Approved-by: Christian Andolf
2025-04-14 11:10:03 +00:00
Hrishikesh Vaipurkar
e372b91356
Merged in feat/SW-1517-booking-codes-tracking (pull request #1745 )
...
Feat/SW-1517 booking codes tracking
* feat: SW-1517 Updated tracking to inlcude booking code info
* feat: SW-1517 Tracking booking codes
* feat: SW-1517 booking code multiroom tracking
* feat: SW-1517 booking code tracking select-hotel map view
* feat: SW-1517 Updated to optional param
* feat: SW-1517 Optimized with map
* feat: SW-1517 Typings update
* feat: SW-1517 Replaced reduce with map and join
* feat: SW-1517 Updated typings
Approved-by: Christian Andolf
2025-04-14 07:17:40 +00:00
Bianca Widstam
c41dea4118
Merged in feat/SW-1414-guarantee-enter-details-tracking (pull request #1744 )
...
Feat/SW-1414 guarantee enter details tracking
* feat(SW-1414): add tracking for gla enter details
* feat(SW-1414): add tracking for gla
* feat(SW-1414): add tracking for gla in enter details
* feat(SW-1414): fix pr comments
* feat(SW-1414): fix pr comment client only
* feat(SW-1414): fix pr comments
* feat(SW-1414): add tracking on load
Approved-by: Christian Andolf
2025-04-09 06:26:19 +00:00
Hrishikesh Vaipurkar
73cb423c95
Merged in feat/SW-2078-update-confirmation-page-vouchers (pull request #1731 )
...
Feat/SW-2078 update confirmation page vouchers and Corp Cheques rate
* feat: SW-2078 Tablet bookingCode ref forward issue fix
(cherry picked from commit 16a6a00fd99b6b6220a98ad74de062d67d35e1c0)
* feat: SW-2078 Display Vouchers and Cheques prices on confirmation page
(cherry picked from commit a76494de497a7d5e7641cb0036bd7055acf875c1)
* feat: SW-2078 Rebase issue fix
* feat: SW-2079 Updated rate title in terms modal
* feat: SW-2078 Optimized code
* feat: SW-2078 Removed extra tags
Approved-by: Christian Andolf
2025-04-08 07:27:40 +00:00
Simon Emanuelsson
a222ecfc5c
fix: make sure calculations in booking flow are correct
2025-04-02 15:00:39 +00:00
Simon Emanuelsson
1812591903
feat: add multiroom tracking to booking flow
2025-03-17 09:47:42 +01:00