Commit Graph

22 Commits

Author SHA1 Message Date
Tobias Johansson
b394d54c3f Merged in feat/enter-details-multiroom (pull request #1280)
feat(SW-1259): Enter details multiroom

* refactor: remove per-step URLs

* WIP: map multiroom data

* fix: lint errors in details page

* fix: made useEnterDetailsStore tests pass

* fix: WIP refactor enter details store

* fix: WIP enter details store update

* fix: added room index to select correct room

* fix: added logic for navigating between steps and rooms

* fix: update summary to work with store changes

* fix: added room and total price calculation

* fix: removed unused code and added test for breakfast included

* refactor: move store selectors into helpers

* refactor: session storage state for multiroom booking

* feat: update enter details accordion navigation

* fix: added room index to each form component so they select correct room

* fix: added unique id to input to handle case when multiple inputs have same name

* fix: update payment step with store changes

* fix: rebase issues

* fix: now you should only be able to go to a step if previous room is completed

* refactor: cleanup

* fix: if no availability just skip that room for now

* fix: add select-rate Summary and adjust typings


Approved-by: Arvid Norlin
2025-02-11 14:24:24 +00:00
Anton Gunnarsson
fc866c0e4d Merged in feat/sw-1493-revised-comparison-block (pull request #1236)
feat(SW-1493): Revised SAS comparison block

* Base of new TierDetails for SAS tier comparison

* Add backgrounds and content to TierDetails

* Implement new cms schema for SasTierComparison

* Override gap in jsontohtml styling to 0

* Add animations to comparison details

* Redesign again

* Update content model to new design

* Add border to bottom item in tier match list

* Wrap interpolate-size in @supports to be safe

* Merge branch 'master' into feat/sw-1493-revised-comparison-block


Approved-by: Joakim Jäderberg
2025-02-03 08:42:16 +00:00
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +01:00
Linus Flood
cea4e3f3fe Merged in fix/tracking-requests (pull request #1208)
Added siteversion to all events and fixed payment status

* Added siteversion to all events and fixed payment status

* Fixed bug


Approved-by: Erik Tiekstra
2025-01-24 07:49:00 +00:00
Linus Flood
69b69af03c Merged in feat/enter-details-tracking (pull request #1185)
Feat/enter details tracking

* feat: fixed bug in enter details tracking

* Sidepeek events, lowestroomPrice and analyticsRateCode

* Cleanup and fixed bug

* Fixed analyticsratecode

* Merge master

* merge master

* Removed console logs

* Added ancillaries tracking to enter details

* Added ancillary on confirmation page

* Removed console log

* Merge branch 'master' into feat/enter-details-tracking

* Refactor searchparams

* Hard code values for breakfast ancillary


Approved-by: Joakim Jäderberg
2025-01-17 07:42:44 +00:00
Linus Flood
3bbd99ba5c Merged in fix/hotelinfo-tracking-off (pull request #1167)
feat(tracking) turn off hotelinfo tracking in booking flow

* feat(tracking) turn off hotelinfo tracking in booking flow

* Turn off hotelInfo on enter details

* Merge master


Approved-by: Joakim Jäderberg
2025-01-10 12:49:14 +00:00
Linus Flood
08d5405cf1 PR Fixes 2025-01-10 11:36:23 +01:00
Linus Flood
7ca2fd78f0 Remove console logs 2025-01-09 13:02:03 +01:00
Linus Flood
519795acac feat: tracking - added discount property and some basics for paymentInfo 2025-01-08 08:50:50 +01:00
Arvid Norlin
0c7c6ea21a feat: add Price details modal 2024-12-20 09:28:06 +01:00
Linus Flood
5f8a13d478 Fixed type imports 2024-12-13 09:48:53 +01:00
Linus Flood
115d1f0a10 Suspense on <TrackingSDK> 2024-12-06 15:47:34 +01:00
Linus Flood
66ee5e7cbc Added hotelId 2024-12-04 13:36:40 +01:00
Linus Flood
b9111511b7 Track sessionId 2024-12-03 11:46:43 +01:00
Linus Flood
9db02488d8 Payment method update 2024-12-03 11:29:16 +01:00
Linus Flood
098581acd4 Fixed correct rates 2024-12-03 08:47:07 +01:00
Linus Flood
26d44a2c29 Fixed bugs 2024-12-03 08:19:47 +01:00
Linus Flood
6433f136b4 Fixed new tracking requirements 2024-11-29 13:01:03 +01:00
Linus Flood
1fb90ba9bd More props to track in enter details 2024-11-29 08:36:21 +01:00
Linus Flood
43b38bf894 Merge master 2024-11-28 13:37:45 +01:00
Linus Flood
8b2bd5bcd6 Refactor 2024-11-27 09:15:45 +01:00
Linus Flood
2f39b53f32 Enter details tracking WIP 2024-11-25 10:52:01 +01:00