Bianca Widstam
e30b8a0be3
Merged in fix/SW-2150-modify-guest-redirect (pull request #1736 )
...
fix(SW-2150): include refId query param to redirect
* fix(SW-2150): include refId query param to redirect
Approved-by: Niclas Edenvin
2025-04-04 08:57:37 +00:00
Simon Emanuelsson
2abd4c5c12
fix: display modify dates for already guaranteed changeable rates
2025-04-04 08:46:47 +00:00
Bianca Widstam
7b1760ca17
Merged in fix/SW-2011-modify-contact-confirm-step-second-time (pull request #1730 )
...
fix(SW-2011): restore step if successful submit
* fix(SW-2011): restore step if successful submit
Approved-by: Niclas Edenvin
2025-04-04 06:22:56 +00:00
Arvid Norlin
350748cbbb
Merged in fix/hide-breakfastprice-for-breakfastincluded (pull request #1727 )
...
fix: Hide the breakfast package unitprice for bookings with breakfastIncluded
* fix: Hide the breakfast package unitprice for bookings with breakfastIncluded
Approved-by: Niclas Edenvin
2025-04-03 12:52:46 +00:00
Bianca Widstam
9129e2f468
Merged in fix/SW-2072-ancillary-price-details-ui (pull request #1723 )
...
fix(SW-2072): fix price details on ancillaries
* fix(SW-2072): fix price details on ancillaries
Approved-by: Niclas Edenvin
2025-04-03 12:18:49 +00:00
Bianca Widstam
128c1e3462
Merged in fix/display-added-ancillaries-only-if-nonmodifiable (pull request #1718 )
...
fix: fix logic for showing ancillaries and add/remove ancillaries
* fix: fix logic for showing ancillaries and add/remove ancillaries
* fix: move canModifyAncillary check
Approved-by: Niclas Edenvin
2025-04-03 11:15:49 +00:00
Bianca Widstam
3942ab1ff4
Merged in fix/ancillary-payed-with-points-name (pull request #1716 )
...
fix: added ancillary with points show correct name
* fix: added ancillary with points show correct name
Approved-by: Niclas Edenvin
2025-04-03 08:11:06 +00:00
Simon Emanuelsson
6d869ceba7
fix: unbreak toApiLang call that failed everytime
2025-04-03 07:51:25 +00:00
Simon Emanuelsson
4e36fecd6e
fix: initial fix of modify dates
2025-04-03 04:25:05 +00:00
Niclas Edenvin
a34951e075
Merged in fix/add-multinight-breakfast (pull request #1705 )
...
The number of breakfasts and total sums weren’t correctly calculated. This fixes that.
Also changes display logic of when the ancillaries sections are shown
Approved-by: Bianca Widstam
2025-04-02 16:03:50 +00:00
Linus Flood
e4907d4b47
Merged in fix/destinations-speed-test (pull request #1704 )
...
Feat(destination pages): Performance improvements
* fix/destinations: try cache full response
* Added more caching
* Removed unsed env car
* wip
* merge master
* wip
* wip
* wip
* Renaming
Approved-by: Michael Zetterberg
2025-04-02 11:37:22 +00:00
Erik Tiekstra
b6db9757d8
fix(SW-2073): Links for terms & conditions and privacy policy are moved out of the label for ancillaries and gla
...
Approved-by: Matilda Landström
2025-04-02 07:53:41 +00:00
Niclas Edenvin
d9c2ac12a1
Merged in fix/sw-2091-remove-breakfast (pull request #1689 )
...
fix(SW-2091): remove breakfast ancillaries
* fix(SW-2091): remove breakfast ancillaries
* Send array in correct format
* Break out function
Approved-by: Bianca Widstam
2025-04-01 14:34:51 +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
Bianca Widstam
e6c9e25222
Merged in fix/my-stay-ancillaries (pull request #1663 )
...
fix: small design fix, fix bug that redirects to planet, add translations
* fix: small design fix, fix bug that redirects to planet, add translations
* fix: if user does not have enough points, default quantitywithcard to 1
* fix: fix pr comment
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-04-01 09:05:42 +00:00
Hrishikesh Vaipurkar
96fd0b73e4
feat: SW-2028 Fixed review comments
2025-04-01 08:18:22 +00:00
Niclas Edenvin
198927e6aa
Merged in fix/sw-2092-ancillary-fixes (pull request #1690 )
...
Don't show added ancillaries section if no ancillaries
* Don't show added ancillaries section if no ancillaries
Approved-by: Bianca Widstam
2025-04-01 08:02:43 +00:00
Niclas Edenvin
dff67ea568
Merged in feat/sw-1839-show-added-breakfast (pull request #1673 )
...
Feat/sw-1839 show added breakfast
* Fix wrong space character
* Change to correct CSS variable
* Show added breakfast ancillary in the "My add-ons" section
* Show breakfast info in room card
* Show breakfast in price details table
* Format price
Approved-by: Pontus Dreij
2025-03-31 13:43:39 +00:00
Pontus Dreij
b48053b8b4
Merged in feat(SW-2083)-missing-booking-codes-scenarios-my-stay (pull request #1680 )
...
Feat(SW-2083) missing booking codes scenarios my stay
* feat(SW-2083) Show points instead of reward nights
* feat(SW-2083) added support for cheque and voucher for totalPrice
Approved-by: Niclas Edenvin
2025-03-31 11:42:47 +00:00
Pontus Dreij
a8358de04a
Merged in feat(SW-2084)-disable-options-modify-my-stay (pull request #1662 )
...
feat(SW-2084) logic to disable Manage stay options
* feat(SW-2084) logic to disable Manage stay options
* feat(SW-2084) cleanup logic for checks
* feat(SW-2084) check if date has passed
* feat(SW-2084) change to datetimeIsInThePast
Approved-by: Niclas Edenvin
2025-03-31 07:44:46 +00:00
Niclas Edenvin
e8148fdf21
Merged in fix/remove-modify-button (pull request #1674 )
...
Ancillaries shouldn't be modifiable
* Ancillaries shouldn't be modifiable
Approved-by: Pontus Dreij
2025-03-31 07:41:36 +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
Bianca Widstam
a28fa67195
Merged in feat/SW-1996-tracking-gla-my-stay (pull request #1625 )
...
Feat/SW-1996 tracking gla my stay
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1996): fix camelCase
Approved-by: Niclas Edenvin
Approved-by: Erik Tiekstra
2025-03-27 14:09:39 +00:00
Niclas Edenvin
8eec465afa
Merged in feat/sw-1681-add-breakfast (pull request #1635 )
...
Feat/sw-1681 add breakfast
This implements the add breakfast flow
Approved-by: Pontus Dreij
2025-03-27 12:40:54 +00:00
Matilda Landström
5de2a993a7
Merged in feat/SW-1711-switch-icons (pull request #1558 )
...
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-27 09:42:52 +00:00
Pontus Dreij
af2bbcddc3
Merged in fix(SW-2057)-My-stay-crashes-when-at-least-2-children-has-the-same-bed-type (pull request #1649 )
...
feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay
* feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay
Approved-by: Niclas Edenvin
2025-03-27 07:35:02 +00:00
Niclas Edenvin
27efc09647
Merged in fix/breakfast (pull request #1629 )
...
fix: Add type casting for room package codes
* fix: Add type casting for room package codes
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-03-25 12:14:23 +00:00
Niclas Edenvin
fef3a785d0
Merged in feat/sw-1688-list-breakfast (pull request #1615 )
...
Feat/sw-1688 list breakfast
Approved-by: Pontus Dreij
2025-03-25 09:56:05 +00:00
Pontus Dreij
710e412414
Merged in feat(SW-1973)-mystay-multiroom-cancellation-scenarios (pull request #1613 )
...
My stay access denied
* feat(SW-1973) updated no access view
* feat(SW-1973) small fixes
* feat(SW-1973) Update copy
Approved-by: Niclas Edenvin
2025-03-24 14:52:00 +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
Niclas Edenvin
efa7336ebd
Merged in feat/sw-1602-preliminary-receipt (pull request #1595 )
...
feat/sw-1602 preliminary receipt
* feat(sw-1602): create page for preliminary receipt
* Add link to my stay page
Approved-by: Pontus Dreij
2025-03-24 07:55:15 +00:00
Bianca Widstam
272c492b76
Merged in feat/SW-1943-ancillaries-with-points (pull request #1598 )
...
feat(SW-1943): fix design to pay with points
* feat(SW-1943): fix design to pay with points
Approved-by: Niclas Edenvin
2025-03-21 13:44:14 +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
Pontus Dreij
2bc14a6eeb
Merged in feat(SW-1993)-tracking-mystay-cancellation (pull request #1588 )
...
Feat(SW-1993) tracking mystay
* feat(SW-1993) added trackEvent for cancelStay and mypagelink
* feat(SW-1993) implement trackCancelStay and trackMyStayPageLink
Approved-by: Linus Flood
2025-03-21 07:24:01 +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
Pontus Dreij
fb321cdb13
Merged in feat(SW-1274)-modify-date-my-stay (pull request #1528 )
...
Feat(SW-1274) modify date my stay
* feat(SW-1676): Modify guest details step 1
* feat(SW-1676) Integration to api to update guest details
* feat(SW-1676) Reuse of old modal
* feat(SW-1676) updated modify guest
* feat(SW-1676) cleanup
* feat(SW-1274) modify stay modal and datepicker
* feat(SW-1274) DatePicker from modify dates
* feat(SW-1274) Modify dates fixes and merge conflicts
* feat(SW-1274) handle modify for multiroom
* feat(SW-1274) update manage stay
* feat(SW-1274) fixed some comments
* feat(SW-1274) use Modal instead
* feat(SW-1274) fixed formatChildBedPreferences
* feat(SW-1274) removed any as prop
* feat(SW-1274) fix rebase conflicts
* feat(SW-1274) fix flicker on modify modal
* feat(SW-1274) CalendarButton
* feat(SW-1274) fixed gap variable
* feat(SW-1274) simplified code
* feat(SW-1274) Split up DatePicker on mode
* feat(SW-1274) Updated file structure for datepicker
Approved-by: Arvid Norlin
2025-03-19 13:11:03 +00:00
Erik Tiekstra
b2b197b1ef
Feat/SW-1519 remove deprecated hotel data from schema
...
* feat(SW-1519): Removed displayWebpage from hotel schema
* feat(SW-1519): Removed gallery from hotel schema
* feat(SW-1519): Removed conferencesAndMeetings from hotel schema
* feat(SW-1519): Removed healthAndWellness from hotel schema
* feat(SW-1519): Removed restaurantImages from hotel schema
* feat(SW-1519): Removed restaurantsOverviewPage from hotel schema
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-19 06:28:13 +00:00
Christian Andolf
5e98ffe38d
fix(SW-1942): fixed find my booking to be case-insensitive on form input
2025-03-17 16:07:23 +01:00
Christian Andolf
b65bdce277
fix: add some more informative messages when booking cant be accessed
...
upped cookie length from 30 seconds to 10 minutes
added default values to prevent the default required error message to appear in form
2025-03-17 14:09:08 +01:00
Bianca Widstam
21aea22e48
Merged in fix/api-change-remove-points-packages (pull request #1547 )
...
Fix/api change remove points packages
* fix/remove-points
* fix: translate if points is currency
Approved-by: Niclas Edenvin
Approved-by: Simon.Emanuelsson
2025-03-17 10:59:17 +00:00
Simon Emanuelsson
1812591903
feat: add multiroom tracking to booking flow
2025-03-17 09:47:42 +01: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
Joakim Jäderberg
fa63b20ed0
Merged in feature/redis (pull request #1478 )
...
Distributed cache
* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy
* merge
* remove debug logs and cleanup
* cleanup
* add fault handling
* add fault handling
* add pid when logging redis client creation
* add identifier when logging redis client creation
* cleanup
* feat: add redis-api as it's own app
* feature: use http wrapper for redis
* feat: add the possibility to fallback to unstable_cache
* Add error handling if redis cache is unresponsive
* add logging for unstable_cache
* merge
* don't cache errors
* fix: metadatabase on branchdeploys
* Handle when /en/destinations throws
add ErrorBoundary
* Add sentry-logging when ErrorBoundary catches exception
* Fix error handling for distributed cache
* cleanup code
* Added Application Insights back
* Update generateApiKeys script and remove duplicate
* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis
* merge
Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00
Michael Zetterberg
91c36ee41c
fix: clean up dictionaries
2025-03-13 08:29:48 +00:00
Christian Andolf
1a8a57599c
fix: encoding find my booking cookie since next decodes when parsing
...
this is done in order to handle emails containing plus signs
2025-03-13 08:28:03 +00:00
Christian Andolf
e2a76736b9
fix(SW-1710): add missing prop
2025-03-10 10:10:05 +01:00
Christian Andolf
af08b3277d
fix(SW-1710): use access object references instead
...
correct incorrect test that granted access incorrectly
2025-03-10 09:45:57 +01:00
Christian Andolf
b0df70e552
feat(SW-1710): add access checks to my stay page for viewing booking
2025-03-10 09:45:56 +01:00
Pontus Dreij
2509794d0c
Merged in feat/SW-1676-modify-contact-details-my-stay-anonymous (pull request #1468 )
...
Feat/SW-1676 modify contact details my stay anonymous
* feat(SW-1676): Modify guest details step 1
* feat(SW-1676) Integration to api to update guest details
* feat(SW-1676) Reuse of old modal
* feat(SW-1676) updated modify guest
* feat(SW-1676) cleanup
* feat(SW-1676) updated myStayReturnRoute to sessionStorage
Approved-by: Niclas Edenvin
2025-03-07 13:41:25 +00:00
Hrishikesh Vaipurkar
c88b178392
feat: SW-963 Optimized code
2025-03-06 12:41:11 +00:00