Commit Graph

4248 Commits

Author SHA1 Message Date
Matilda Landström
dc201bf8ed Merged in fix/SW-2598-gym (pull request #1942)
fix(SW-2598): gym opening hours

* fix(SW-2598): gym opening hours


Approved-by: Erik Tiekstra
2025-05-05 09:53:02 +00:00
Hrishikesh Vaipurkar
d2bbc59f47 Merged in fix/SW-2602-select-hotel-page-booking-code (pull request #1941)
Fix/SW-2602 select hotel page booking code filtering

* fix: SW-2602 Fixed booking code filtering

* fix: SW-2602 Fixed lint issues


Approved-by: Niclas Edenvin
2025-05-05 09:17:44 +00:00
Anton Gunnarsson
aa43d7d059 Merged in fix/sw-2563-pass-lang-to-sas-auth (pull request #1938)
Set ui_locales on SAS auth link

* Set ui_locales on SAS auth link


Approved-by: Joakim Jäderberg
2025-05-05 09:00:05 +00:00
Tobias Johansson
88a1333ed1 Merged in fix/SW-2601-incorrect-availability-alert (pull request #1940)
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
2025-05-05 08:44:47 +00:00
Christian Andolf
17b0d53e4f Merged in fix/use-link-component-content-card (pull request #1899)
fix: use link component for all types of links to add proper styling to set text decoration none when external

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-05 08:24:16 +00:00
Bianca Widstam
c39baabb03 Merged in fix/SW-2573-children-count-booking-confirmation (pull request #1939)
fix(SW-2573): add children count to summary

* fix(SW-2573): add children count to summary


Approved-by: Michael Zetterberg
2025-05-05 08:13:52 +00:00
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
Christian Andolf
244560cfac fix: use link component for all types of links to add proper styling to set text decoration none when external 2025-05-05 09:20:07 +02:00
Simon Emanuelsson
91933f47cf feat: comment updates 2025-05-03 22:43:09 +02:00
Tobias Johansson
29abc3cba6 fix: added progress bar wrapper and handling of loading type according to button props 2025-05-03 22:19:36 +02:00
Tobias Johansson
32ce7d819b fix: renamed Spinner -> Loading 2025-05-03 22:19:00 +02:00
Tobias Johansson
d0c6d1d875 fix: update spinner to use svg instead 2025-05-03 22:19:00 +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
89468bc37f feat(SW-1255): Add loading state to button component 2025-05-03 22:10:00 +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
7d20709b26 Merged in feat/sw-2323-find-booking (pull request #1925)
Feat/sw 2323 find booking

Approved-by: Anton Gunnarsson
2025-05-02 12:16:51 +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