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
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
fix(SW-2158): focus state for map link
* fix(SW-2158): focus state for map link
The text `See map` didn't have the correct keyboard focus design. I
noticed the text used a button component, which I don't think is the
best, semantically. I removed the button component and just used text
since everything was wrapped in an a tag anyway.
* Use new space variable
Approved-by: Bianca Widstam
fix(SW-2608): add per night for children breakfast
* fix(SW-2608): add per night for children breakfast
* fix(SW-2608): capitalized according to figma
Approved-by: Michael Zetterberg
fix(SW-2042): hide guarantee late arrival on my stay for rewardNight
* fix(SW-2042): hide guarantee late arrival on my stay for rewardNight
Approved-by: Niclas Edenvin
fix: Don't require special requests
* fix: Don't require special requests
Special requests for room one was wrongly marked as required
Approved-by: Bianca Widstam
fix(SW-2625): set correct submitting status when validation fails
* fix(SW-2625): set correct submitting status when validation fails
Approved-by: Bianca Widstam
We were missing the language param on some endpoints. We are still
missing it on some, but I left those without when we don't need it, e.g.
when only caring about the IDs in the response.
fix(SW-2440): correct total price
* fix(SW-2440): correct total price
* Merge branch 'fix/SW-2440-breakfast-tracking' of bitbucket.org:scandic-swap/web into fix/SW-2440-breakfast-tracking
* fix(SW-2440): multiply by number of nights for breakfast tracking
Approved-by: Niclas Edenvin
fix: remove ancilleries data when reloading booking confirmation
* fix: remove ancilleries data when reloading booking confirmation
Approved-by: Arvid Norlin
Approved-by: Christian Andolf
fix: update condition when to display NoAvailabilityAlert when using booking code
* fix: update condition when to display NoAvailabilityAlert when using booking code
Approved-by: Michael Zetterberg
Approved-by: Arvid Norlin
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
fix(SW-2501): validation trigger
* fix(SW-2501): validation trigger
On enter details, when submitting we want to trigger the validation for
the details forms for each room. This will display error messages for
the form fields with errors if they are not already displayed, so the
user knows which fields has errors.
Approved-by: Tobias Johansson