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
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
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
Tobias Johansson
b6c066ea8d
Merged in fix/SW-2497-tracking-remove-ancilleries-data (pull request #1949 )
...
fix: remove ancilleries data when reloading booking confirmation
* fix: remove ancilleries data when reloading booking confirmation
Approved-by: Arvid Norlin
Approved-by: Christian Andolf
2025-05-05 12:40:47 +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
Tobias Johansson
71f1e9fe2c
Merged in fix/tracking-fixes (pull request #1930 )
...
Fix/tracking fixes
* fix: remove hotelInfo and paymentInfo when user reloads page on confirmation page
* fix: clean session storage item on unmount
* fix: commented out hard navigation hook
* fix: update price calculation on room ancillary in tracking
* fix: update discount calculation
* fix: add space between fns
* fix: allow useSoftNavigation to fire pageview again on same pathname
* fix: prevent bedSelection and breakfastSelection from tracking twice
Approved-by: Hrishikesh Vaipurkar
2025-05-03 07:27:54 +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