Simon Emanuelsson
db289b80b1
feat: refactor NewDates, clean up legacy code
...
This reverts commit 0c7836fa59 .
2025-05-03 21:45:45 +02: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
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
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
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
Bianca Widstam
03902da897
Merged in fix/SW-2438-remove-breakfast-tracking (pull request #1872 )
...
fix(SW-2438): remove breakfast tracking on enter details
* fix(SW-2438): remove breakfast tracking on enter details
* fix(SW-2438): show breakfastOption if already chosen on page load
* fix(SW-2438): if breakfast option does not exists (scandic go) remove breakfastOption from tracking
* fix(SW-2438): fix merge conflicts
* fix(SW-2438): fix comment
* fix(SW-2438): fix comment
* fix(SW-2438): fix merge
Approved-by: Tobias Johansson
Approved-by: Matilda Landström
2025-04-29 10:46:52 +00:00
Hrishikesh Vaipurkar
6a0f22b166
Merged in feat/SW-1355-reward-night-booking-track-2 (pull request #1877 )
...
feat: SW-1355 Added points value in details page tracking
* feat: SW-1355 Added points value in details page tracking
* feat: SW-1355 Updated .flatMap to .map
* feat: SW-1355 Optimized for readability
Approved-by: Michael Zetterberg
2025-04-29 07:52:29 +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
Simon Emanuelsson
ec087a3d15
feat: refactor of my stay
2025-04-28 12:40:52 +00:00
Erik Tiekstra
b75177ad98
Fix/SW-2429 map view
...
* feat(SW-2429): Removed [contentType]>[uid] and use app router based structure for content types
* feat(SW-2429): Added breadcrumbs to follow contenttype folder structure
* feat(SW-2429): Removed modal/dialog functionality from map views on hotel and destination pages
* fix(SW-2429): Fixed issue with booking widget on meeting pages. Also used same structure for content types
Approved-by: Arvid Norlin
2025-04-25 05:36:44 +00:00
Anton Gunnarsson
26d3d1b1d3
Merged in fix/sw-2502-magic-link-signin-sas-tier-match-scope (pull request #1859 )
...
Add correct scope to magic link sign in for SAS flow
* Add correct scope to magic link sign in
Approved-by: Joakim Jäderberg
2025-04-24 12:30:42 +00:00
Hrishikesh Vaipurkar
8c0597727b
Merged in feat/SW-1879-aa-tracking-bed-breakfastpayment (pull request #1789 )
...
feat: SW-1879 Tracking enter-details sections
* feat: SW-1879 Tracking enter-details sections
* feat: SW-1879 removed onSelect to trigger in onSubmit
* feat: SW-1879 Removed onSelect and triggered inside onSubmit
* feat: SW-1879 Optimized to remove unnecessary useEffect triggers in every re-render
* feat: SW-1879 Updated breakfast package typings
* feat: SW-1879 Reverted RadioCardProps
* feat: SW-1879 Optimised code
Approved-by: Tobias Johansson
Approved-by: Christian Andolf
2025-04-16 14:06:15 +00:00
Linus Flood
2648b17744
Merged in fix/redirect-service-revert (pull request #1818 )
...
hotfix: uncomment new stuff that broke destination page
* hotfix: uncomment new stuff that broke destination page
Approved-by: Michael Zetterberg
Approved-by: Joakim Jäderberg
2025-04-16 10:09:54 +00:00
Arvid Norlin
33065be565
Merged in feat/SW-2111 (pull request #1761 )
...
feat(SW-2111): add initial scandic-redirect
* feat(SW-2111): add initial scandic-redirect
* feat(SW-2112): add scandic-redirect call to middleware
* chore: add redirect jsons per lang
* fix: handle incorrect contentTypes
* fix: handle lang
* refactor: add json streaming
* refactor: wrap redirect call in cacheOrGet
* refactor: review
Approved-by: Michael Zetterberg
2025-04-16 06:29:32 +00:00
Michael Zetterberg
b48cd5524e
fix: intl lint
2025-04-15 07:37:47 +00:00
Christian Andolf
d00e8f09a6
fix: add title to find booking page
...
add email type to email field
2025-04-14 16:14:52 +02:00
Michael Zetterberg
440e1f92df
feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
2025-04-14 11:30:06 +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
Michael Zetterberg
543ea3e5a3
fix(SW-2336): remove text on hotelreservation landing page
2025-04-14 06:55:57 +00:00
Simon Emanuelsson
d72c84d949
feat: filters work together
2025-04-14 06:51:44 +00:00
Simon Emanuelsson
afb37d0cc5
feat: bedtypes is selectable again
2025-04-12 08:32:42 +00:00
Erik Tiekstra
701a80b7c1
feat(SW-2240): Added robots no-index and no-follow metadata to hotelreservation pages
...
Approved-by: Michael Zetterberg
2025-04-09 05:31:02 +00:00
Erik Tiekstra
85a90baa12
Merged in fix/SW-2118-breadcrumbs (pull request #1721 )
...
fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths
* fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths
Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-04-07 14:02:39 +00:00
Joakim Jäderberg
3c810d67a2
Merged in feature/SW-1736-foating-booking-widget (pull request #1696 )
...
Feature/SW-1736 floating booking widget
* feature: Add floating booking widget on start page SW-1736
* fix: Make sure we don't try to use IntersectionObserver on the server
* fix: make sure that we disconnect the intersectionobserver when dismounting
* fix: pass searchparams to floating bookingwidget
Approved-by: Michael Zetterberg
2025-04-04 06:52:37 +00:00
Simon Emanuelsson
6d869ceba7
fix: unbreak toApiLang call that failed everytime
2025-04-03 07:51:25 +00:00
Simon Emanuelsson
3e0f503314
feat: add block to ARB rate when trying multiroom booking
2025-04-02 14:30:49 +00:00
Bianca Widstam
35c1724afb
Merged in feat/SW-1997-tracking-gla-my-stay-ancillaries (pull request #1657 )
...
Feat/SW-1997 tracking gla my stay ancillaries
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1997): add tracking for gla my stay and ancillaries
* feat(SW-1997): rebase master
* feat(SW-1997): fix duplicate import
* feat(SW-1997): add hotelId and category for ancillaries, and add more tracking
* feat(SW-1997): remove commments and fix spelling mistake
* feat(SW-1997): if addAncillary failed, but guarantee is successful, default to card in booking
Approved-by: Niclas Edenvin
2025-04-01 09:38:36 +00:00
Hrishikesh Vaipurkar
221f842552
feat: SW-2028 Removed session passing
2025-04-01 08:18:22 +00:00
Simon Emanuelsson
ebaea78fb3
feat(SW-1717): rewrite select-rate to show all variants of rate-cards
2025-03-28 17:07:54 +00:00
Michael Zetterberg
65f75c11ef
fix: improve loading on destination overview page
...
- Only load data from Contentstack
- Use static JSON for destination list
- Some logic improvements to data handling and types
2025-03-27 13:49:28 +00:00
Hrishikesh Vaipurkar
b0674d07f5
Merged in feat/SW-1308-booking-codes-track-b (pull request #1607 )
...
Feat/SW-1308 booking codes track b
* feat: SW-1308 Booking codes track b
* feat: SW-1308 Booking codes Track B implementation
* feat: SW-1308 Optimized after rebase
Approved-by: Arvid Norlin
2025-03-24 11:23:11 +00:00
Linus Flood
b7d7408bce
Merged in fix/destinationpages-flag (pull request #1608 )
...
Fix: Move destionation pages behind feature flag
* Fix: Move destionation pages behind feature flag
Approved-by: Erik Tiekstra
2025-03-24 09:33:11 +00:00
Pontus Dreij
74c5b47319
Merged in feat/SW-1737-design-mystay-multiroom (pull request #1565 )
...
Feat/SW-1737 design mystay multiroom
* feat(SW-1737) Fixed member view of guest details
* feat(SW-1737) fix merge issues
* feat(SW-1737) Fixed price details
* feat(SW-1737) removed unused imports
* feat(SW-1737) removed true as statement
* feat(SW-1737) updated store handling
* feat(SW-1737) fixed bug showing double numbers
* feat(SW-1737) small design fixed
* feat(SW-1737) fixed rebase errors
* feat(SW-1737) fixed create booking error with dates
* feat(SW-1737) fixed view multiroom as singleroom
* feat(SW-1737) fixes for multiroom
* feat(SW-1737) fixed bookingsummary
* feat(SW-1737) dont hide modify dates
* feat(SW-1737) updated breakfast to handle number
* feat(SW-1737) Added red color if member rate
* feat(SW-1737) fix PR comments
* feat(SW-1737) updated member tiers svg
* feat(SW-1737) updated how to handle paymentMethodDescription
* feat(SW-1737) fixes after testing mystay
* feat(SW-1737) updated Room type to just use whats used
* feat(SW-1737) fixed access
* feat(SW-1737) refactor my stay after PR comments
* feat(SW-1737) fix roomNumber translation
* feat(SW-1737) removed log
Approved-by: Arvid Norlin
2025-03-24 09:30:10 +00:00
Hrishikesh Vaipurkar
c5e294c7ea
Merged in feat/SW-1356-reward-night-booking-2- (pull request #1559 )
...
feat: SW-1356 Reward night bookingflow
* feat: SW-1356 Reward night bookingflow
* feat: SW-1356 Removed extra param booking call
* feat: SW-1356 Optimized as review comments
* feat: SW-1356 Schema validation updates
* feat: SW-1356 Fix after rebase
* feat: SW-1356 Optimised price.redemptions check
* feat: SW-1356 Updated Props naming
Approved-by: Arvid Norlin
2025-03-24 08:54:02 +00:00
Linus Flood
6197c7634f
Merged in fix/destinationpages-loading-tweaks (pull request #1605 )
...
Suspense destination pages fixes and some performance improvements
* Suspense destination pages fixes and some performance improvements
Approved-by: Erik Tiekstra
2025-03-24 08:27:16 +00:00
Erik Tiekstra
91e26e30af
feat/SW-1756-meeting-package-content-pages
...
* feat(SW-1230): Changes to script to be able to reload after soft navigation
* feat(SW-1756): Added meeting package widget on content pages
Approved-by: Matilda Landström
2025-03-21 13:31:33 +00:00
Bianca Widstam
3c1eee88b1
Merged in feat/SW-1370/Guarantee-my-stay-ancillaries (pull request #1545 )
...
Feat/SW-1370/Guarantee my stay ancillaries
* feat(SW-1370): guarantee for ancillaries
* feat(SW-1370): remove console log
* feat(SW-1370): add translations
* feat(SW-1370): small fix
* feat(SW-1370): fix must be guaranteed
* feat(SW-1370): fix logic and comments pr
* feat(SW-1370): fix comments pr
* feat(SW-1370): fix comments pr
* feat(SW-1370): add translation
* feat(SW-1370): add translation and fix pr comment
* feat(SW-1370): fix pr comment
* feat(SW-1370): fix encoding path refId issue
* feat(SW-1370): refactor AddAncillaryStore usage and introduce context provider
* feat(SW-1370): refactor
* feat(SW-1370): refactor ancillaries
* feat(SW-1370): fix merge
Approved-by: Simon.Emanuelsson
2025-03-21 07:29:04 +00:00
Niclas Edenvin
cfdbdfc0bc
Build please
2025-03-20 10:19:25 +00:00
Pontus Dreij
8f9e268802
Merged in feat(SW-1944)-update-url-to-mystay (pull request #1566 )
...
feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)
* feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)
* feat(SW-1944) updated to RefId
* feat(SW-1944) updated myStay path
* feat(SW-1944) updated refId check
Approved-by: Christian Andolf
2025-03-20 09:55:24 +00:00
Tobias Johansson
ac493fe325
Merged in feat/SW-1149-handle-status-polling (pull request #1562 )
...
Feat/SW-1149 handle status polling
* feat(SW-1149): move terms and conditions sections to separate component and added copy
* feat(SW-1149): Added client component to handle success callback for payment flow
* fix: check for bookingCompleted status as well
* feat(SW-1587): use alert instead of toast for showing payment errors
* fix: added enum for payment callback status
* fix: proper way of checking for multiple statuses
* fix: update schema type
* fix: use localised link to customer service
* fix: update to use enum for status strings
Approved-by: Arvid Norlin
2025-03-20 07:38:29 +00:00
Christian Andolf
7ddca4acba
Merged in fix/change-ref-id-to-query-param (pull request #1578 )
...
fix: my stay now uses ref id in query param rather than path param to support legacy
* fix: my stay now uses ref id in query param rather than path param to support legacy
Approved-by: Michael Zetterberg
2025-03-19 11:39:16 +00:00
Simon Emanuelsson
1812591903
feat: add multiroom tracking to booking flow
2025-03-17 09:47:42 +01:00
Tobias Johansson
c0b543f18d
Merged in feat/SW-1437-price-change-scenario (pull request #1532 )
...
Feat/SW-1437 price change scenario
* wip price change scenario
* feat(SW-1437): added updated room prices to summary
* fix: spinner not centered on page
* fix: feedback fixes
Approved-by: Arvid Norlin
Approved-by: Simon.Emanuelsson
2025-03-14 12:39:50 +00:00
Bianca Widstam
abd401c4f4
Merged in feat/SW-1368-1369-Guarantee-late-arrival (pull request #1512 )
...
Feat/SW-1368 1369 Guarantee late arrival
* feat(SW-1368-SW-1369): guarantee late arrival for confirmation page and my stay
* feat(SW-1368-SW-1369): guarantee late arrival updated design
* feat(SW-1368-SW-1369): add translations
* feat(SW-1368-SW-1369): add translations
* feat(SW-1368-SW-1369): fix merge with master
* feat(SW-1368-SW-1369): add translations
* feat(SW-1368-SW-1369): add redirect with refId
* feat(SW-1368-SW-1369): if booking completed redirect to confirmation page
* feat(SW-1368-SW-1369): fix comments pr
* feat(SW-1368-SW-1369): fix comments pr
* feat(SW-1368-SW-1369): fix rebase master
* feat(SW-1368-SW-1369): fix duplicate flex rate check
* feat(SW-1368-SW-1369): if any room is flex, card must be used
* feat(SW-1368-SW-1369): move callback route
* feat(SW-1368-SW-1369): top align checkbox
* feat(SW-1368-SW-1369): top align checkbox
Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
2025-03-14 10:43:14 +00:00