Commit Graph

603 Commits

Author SHA1 Message Date
Niclas Edenvin
4191441f32 Merged in fix/submit-booking-disabled (pull request #1936)
Don't disable payment based on room forms

* Don't disable payment based on room forms


Approved-by: Arvid Norlin
Approved-by: Tobias Johansson
2025-05-05 07:55:25 +00:00
Simon Emanuelsson
91933f47cf feat: comment updates 2025-05-03 22:43:09 +02:00
Tobias Johansson
f56a1ece0f feat(SW-1255): Added loading state to submit button in enter details 2025-05-03 22:18:50 +02:00
Tobias Johansson
80ccdc0e44 fix: benefits banner broke layout on mobile 2025-05-03 22:01:10 +02:00
Arvid Norlin
79a009fd4b feat: add final url lists 2025-05-03 20:00:14 +00:00
Matilda Landström
1d648817b1 fix: add (available in some rooms) 2025-05-03 19:56:19 +00:00
Simon Emanuelsson
db289b80b1 feat: refactor NewDates, clean up legacy code
This reverts commit 0c7836fa59.
2025-05-03 21:45:45 +02:00
Niclas Edenvin
c6a0b4ee30 Merged in fix/terms-and-conditions-link (pull request #1933)
Don't check checkbox when clicking link inside the label

* Don't check checkbox when clicking link inside the label
2025-05-03 14:51:06 +00:00
Matilda Landström
cd01b34606 fix: update copy 2025-05-03 09:59:55 +00:00
Matilda Landström
e70273f257 fix: update copy 2025-05-03 09:59:54 +00:00
Matilda Landström
e059c5d30d fix: update copy 2025-05-03 09:59:54 +00:00
Matilda Landström
19407d1b09 fix: update copy 2025-05-03 09:59:54 +00:00
Matilda Landström
2a333334ac fix: update copy 2025-05-03 09:59:54 +00:00
Hrishikesh Vaipurkar
e8b17deb52 Merged in fix/SW-2579-aa-tracking-2-times-bed-sel- (pull request #1932)
Fix: SW-2579 Fixed bed selection triggering twice

* Fix: SW-2579 Fixed bed selection triggering twice


Approved-by: Tobias Johansson
2025-05-03 09:21:45 +00:00
Tobias Johansson
ffb29ddaad Merged in fix/tracking-issue-pageview (pull request #1931)
fix: tracking issues

* fix: tracking issues


Approved-by: Hrishikesh Vaipurkar
2025-05-03 09:21:14 +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
Arvid Norlin
0c7836fa59 Merged in fix/SW-2553-sidepeeks (pull request #1919)
Fix/SW-2553 sidepeeks

* fix(SW-2553): apply sidepeek display logic

* chore: move convertToChildType and getPriceType utils

* fix: apply PR requested changes

* fix(SW-2553): fix roomNumber for multiroom

* fix(SW-2553): fix sidepeek for my-stay page


Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Matilda Landström
f5f9aba2e5 Merged in fix/unique-sellingpoint (pull request #1929)
fix: remove check on uniqueSellingPoint

* fix: remove check on uniqueSellingPoint


Approved-by: Bianca Widstam
2025-05-02 14:30:05 +00:00
Hrishikesh Vaipurkar
53b630b6d8 Merged in feat/SW-2308-family-friends-booking-rest (pull request #1916)
feat: SW-2308 FnF code restriction added

* feat: SW-2308 FnF code restriction added

* feat: 2308 Optimized code


Approved-by: Niclas Edenvin
2025-05-02 14:22:05 +00:00
Niclas Edenvin
fb44990777 Merged in fix/SW-2501-validation-trigger (pull request #1924)
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
2025-05-02 13:59:23 +00:00
Linus Flood
d49ecdae1f Merged in feat/sw-2323-find-booking3 (pull request #1928)
Feat/sw-2323 New Find booking endpoint

* wip

* wip


Approved-by: Anton Gunnarsson
2025-05-02 13:21:00 +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
Chuma Mcphoy (We Ahead)
87efb72ff2 Merged in fix/LOY-235-repeated-stays-when-clicking-show-more (pull request #1926)
fix(LOY-235): update pagination params for getPreviousStays and getUpcomingStays

* fix(LOY-235): update pagination parameters for getPreviousStays and getUpcomingStays functions


Approved-by: Erik Tiekstra
2025-05-02 12:49:58 +00:00
Hrishikesh Vaipurkar
e6a3e5dbd8 Merged in feat/SW-2398-ui-update-for-booking-codes (pull request #1862)
feat: SW-2398 UI updates booking codes

* feat: SW-2398 UI updates booking codes

* feat: SW-2398 Rate cards UI changes

* feat: SW-2398 Optimized css with vars and chip code

* feat: SW-2398 Optimized code as review comments

* feat: SW-2398 Optimized code

* feat: SW-2398 Optimized code and mobile UX

* feat: SW-2398 Optimized code

* feat: SW-2398 Fixed UI

* feat: SW-2398 Updated animation


Approved-by: Erik Tiekstra
2025-05-02 12:36:22 +00:00
Anton Gunnarsson
d8a48735a4 Merged in fix/sw-2557-sas-english-copy-fixes (pull request #1915)
Fixes for English copy in SAS flow

* Update noBoost message

* Update unlink warning copy


Approved-by: Linus Flood
2025-05-02 12:18:27 +00:00
Linus Flood
f450f2a5db Merge master 2025-05-02 14:01:50 +02:00
Linus Flood
db3e9e6cd9 wip 2025-05-02 13:28:37 +02:00
Arvid Norlin
74d37dad93 feat(SW-2116): RefId instead of confirmationNumber 2025-05-02 12:44:07 +02:00
Linus Flood
7c26e2955e wip 2025-05-02 12:17:18 +02:00
Arvid Norlin
7eeb0bbcac feat(SW-2116): avoid passing entire booking object to Room client component 2025-05-02 11:47:14 +02:00
Arvid Norlin
a839d05e09 feat(SW-2116): remove payment-callback rewrite logic 2025-05-02 11:47:14 +02:00
Tobias Johansson
bf79168216 Merged in fix/SW-2462-room-availability-error (pull request #1920)
Fix/SW-2462 room availability error

* fix: added toast error when availability fails and you get redirect to select-rate

* fix: added support for showing alert when availability error happens

* fix: rename PaymentAlert -> BookingAlert


Approved-by: Erik Tiekstra
2025-05-02 08:35:29 +00:00
Simon.Emanuelsson
862d4abbe3 Merged in feat/SW-2202 (pull request #1909)
feat: trigger validation on form upon autofill in enter details

* feat: trigger validation on form upon autofill in enter details


Approved-by: Niclas Edenvin
2025-05-02 08:12:33 +00:00
Niclas Edenvin
d7708b682a Merged in fix/sw-2543-toc-text (pull request #1921)
fix(SW-2543): Change terms and conditions text for flex

* fix(SW-2543): Change terms and conditions text for flex

Approved-by: Michael Zetterberg
2025-05-02 07:45:37 +00:00
Christian Andolf
43bdd80dff Merged in fix/SW-2508-new-api-cancel-booking-contract (pull request #1906)
Ending up doing some extra things:

Consolidated booking queries: We had both cancel and cancelMany, but functionally they’re the same, only one accepts an array and the other doesn’t. Didn’t see much point in keeping the single cancel as it wasn’t used anywhere. Thus, I could rename cancelMany to be the one stop method.

remove method for API now properly supports body so we don’t have to hijack the typing in certain places

* fix(SW-2508): now sending additional params to cancel api for new contract


Approved-by: Niclas Edenvin
2025-05-02 07:37:23 +00:00
Matilda Landström
f0dbf294d8 feat(SW-2532): update room sidepeek amenities 2025-05-02 06:38:16 +00:00
Christian Andolf
0cd2e9c89f fix(SW-2463): scroll to payment error 2025-05-02 06:37:37 +00:00
Erik Tiekstra
8b32abbefc Fix/SW-1563 accessibility
* fix(SW-1563): Added new IconButton component to the design system and removed Icon variant inside the Button component
* fix(SW-1563): Added buttons around clickable images and changed to design system components
* fix(SW-1563): Renamed variants to match Figma
* fix(SW-1563): Renamed AriaButton to ButtonRAC

Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-05-02 06:27:30 +00:00
Niclas Edenvin
efcbde1647 Merged in fix/sw-2351-date-picker-design-updates (pull request #1912)
fix(sw-2351): date picker design updates

* fix(sw-2351): date picker design updates


Approved-by: Christian Andolf
2025-04-30 09:55:32 +00: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
Michael Zetterberg
efb7219b6d fix: copy fixes for English labels 2025-04-30 09:37:54 +00:00
Niclas Edenvin
341be43a53 Merged in fix/sw-2501-remove-continue-button-light (pull request #1892)
fix(sw-2501): remove the continue buttons on enter details

This removes the continue buttons on the enter details page.

This is only that, not the refactoring of the whole enter details page with changing to one form etc. Since I just didn’t complete that refactor today I decided to do this light variant for now.

A quick explanation is that the continue buttons are removed and instead the form is submitted (meaning saving the form data to the store) on blur on the input elements IF the form is valid. If it’s invalid we change the isComplete flag in the store to false. This will hopefully also fix a bug where you were able to submit old data if the new data is invalid.

When clicking the submit button and a room is incomplete/invalid the browser scrolls to the first invalid room.

Approved-by: Erik Tiekstra
2025-04-30 08:56:16 +00:00
Bianca Widstam
7070770581 Merged in fix/SW-2406-update-modal-ancillaries (pull request #1911)
fix(SW-2406): update modal for ancillaries

* fix(SW-2406): update modal for ancillaries

* fix(SW-2406): revert translations


Approved-by: Niclas Edenvin
Approved-by: Erik Tiekstra
2025-04-30 08:20:57 +00:00
Anton Gunnarsson
f4fe2e3a4a Merged in fix/sw-2548-invalid-tier-expiry-for-sas-eb-basic (pull request #1908)
Handle invalid tier expiry 1900-01-01 from SAS

* Handle invalid tier expiry 1900-01-01 from SAS

* Set correct sasTierExpirationDate


Approved-by: Linus Flood
2025-04-30 08:11:35 +00:00
Anton Gunnarsson
b9bf5e6510 Merged in fix/sw-2556-eb-basic-to-eb-member (pull request #1914)
Rename EuroBonus Basic to Member

* Rename EuroBonus Basic to Member


Approved-by: Linus Flood
2025-04-30 07:42:51 +00:00
Anton Gunnarsson
284e6bce3a Merged in fix/sw-2550-sas-callback-language (pull request #1910)
Use dynamic language in SAS callback url

* Use dynamic language in callback url


Approved-by: Linus Flood
2025-04-30 07:42:30 +00:00
Erik Tiekstra
bbec6a659a feat(SW-2492): Hiding meta hreflang tags when HIDE_FOR_NEXT_RELEASE flag is true
Approved-by: Linus Flood
2025-04-30 06:29:13 +00:00
Hrishikesh Vaipurkar
05c8be489f Merged in feat/SW-1355-reward-night-booking-track-3 (pull request #1913)
feat: SW-1355 Updated tracking to localPrice instead of requestedPrice


Approved-by: Michael Zetterberg
2025-04-29 20:53:49 +00:00
Arvid Norlin
96c1912d63 Merged in fix/SW-2177 (pull request #1907)
fix: combine radiogroups on payment step

* fix: combine radiogroups on payment step


Approved-by: Christian Andolf
2025-04-29 14:08:40 +00:00
Anton Gunnarsson
a04817277e Merged in fix/sync-from-lokalise (pull request #1905)
Sync from Lokalise

* Sync from lokalise 2025-04-29


Approved-by: Joakim Jäderberg
2025-04-29 13:59:08 +00:00