Matilda Landström
5c189da123
Merged in feat/SW-2495-card-type-tracking (pull request #1868 )
...
fix(SW-2495): add saved card type to payment tracking
* fix(SW-2495): add saved card type to tracking
Approved-by: Michael Zetterberg
2025-04-27 14:47:04 +00:00
Niclas Edenvin
3a958c4dd1
Merged in fix/sw-1897-member-price-modal (pull request #1856 )
...
fix(sw-1897): show member price modal immediately
* fix(sw-1897): show member price modal immediately
* Make checkbox fully controlled
* Remove action in the store that wasn't used
Approved-by: Hrishikesh Vaipurkar
2025-04-25 09:55:24 +00:00
Chuma Mcphoy (We Ahead)
169094fc37
Merged in refactor/SW-2476-use-react-aria-radio-group-for-payment-options (pull request #1849 )
...
Refactor(SW-2177): Use react aria RadioGroup & Radio for payment options
* fix(SW-SW-2177): enhance accessibility for payment options
* Added keyboard navigation support to payment options.
* Updated CSS to improve focus styles for payment option labels.
* refactor: use RadioGroup & Radio from react aria for payment options
* refactor(SW-2177): replace setValue and watch with useController for payment method handling
* fix(SW-2177): remove comment and use cx for styles on PaymentOption
* fix(SW-2177): Add keyboard focus indicator to payment option
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-24 11:22:36 +00:00
Bianca Widstam
2f0a196b49
Merged in fix/SW-1414-tracking-gla (pull request #1837 )
...
fix(SW-1414): add hotelId to tracking for gla
* fix(SW-1414): add hotelId to tracking for gla
Approved-by: Niclas Edenvin
2025-04-23 11:05:43 +00:00
Simon Emanuelsson
722d4505ba
fix: always use totalPrice to display roomCharge
2025-04-23 11:50:44 +02:00
Simon Emanuelsson
1f94c581ae
fix: unite all price details modals to one and align on ui
2025-04-23 08:45:50 +00:00
Erik Tiekstra
c23a32cd10
fix(SW-2414): Removed continue button on single room member bookings
...
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-04-23 08:33:15 +00:00
Niclas Edenvin
3f6a65d390
Merged in fix/sw-1867-multiroom-guests (pull request #1822 )
...
fix(sw-1867): Don't allow same name or membno between rooms
* fix(sw-1867): Don't allow same name or membno between rooms
We don't want to allow two different rooms to have the same firstname
and lastname combination or the same membership number.
* Fine tune validation triggers
* Add comments explaining manual validation triggering
* Change to react-hook-form built-in deps instead
Approved-by: Simon.Emanuelsson
2025-04-22 09:06:43 +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
Christian Andolf
595eb575d7
fix(SW-2385): handle error messages provided from zod validation in forms client side
2025-04-16 10:17:17 +00:00
Erik Tiekstra
7108537cb8
fix/SW-2247 enter details fixes
...
* fix(SW-2247): Removed accordion like special requests block and changed button variant
* fix(SW-2247): Added additional info for bedtype selection
Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
2025-04-16 09:49:53 +00:00
Erik Tiekstra
af182b49d8
feat(SW-2227): Implemented new design for room package filters
...
Approved-by: Arvid Norlin
2025-04-16 07:07:49 +00: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
Simon Emanuelsson
afb37d0cc5
feat: bedtypes is selectable again
2025-04-12 08:32:42 +00:00
Erik Tiekstra
f62723c6e5
feat(SW-2178): Changed to new buttons for summary inside enter details
...
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-11 15:13:37 +00:00
Hrishikesh Vaipurkar
8961cbd9d5
Merged in feat/SW-2322-update-booking-status-polling- (pull request #1778 )
...
feat: SW-2322 Added handling of confirmed booking in polling
* feat: SW-2322 Added handling of confirmed booking in polling
* feat: SW-2322 Removed unnecessary startTransition
Approved-by: Michael Zetterberg
2025-04-11 13:41:19 +00:00
Bianca Widstam
c41dea4118
Merged in feat/SW-1414-guarantee-enter-details-tracking (pull request #1744 )
...
Feat/SW-1414 guarantee enter details tracking
* feat(SW-1414): add tracking for gla enter details
* feat(SW-1414): add tracking for gla
* feat(SW-1414): add tracking for gla in enter details
* feat(SW-1414): fix pr comments
* feat(SW-1414): fix pr comment client only
* feat(SW-1414): fix pr comments
* feat(SW-1414): add tracking on load
Approved-by: Christian Andolf
2025-04-09 06:26:19 +00:00
Hrishikesh Vaipurkar
73cb423c95
Merged in feat/SW-2078-update-confirmation-page-vouchers (pull request #1731 )
...
Feat/SW-2078 update confirmation page vouchers and Corp Cheques rate
* feat: SW-2078 Tablet bookingCode ref forward issue fix
(cherry picked from commit 16a6a00fd99b6b6220a98ad74de062d67d35e1c0)
* feat: SW-2078 Display Vouchers and Cheques prices on confirmation page
(cherry picked from commit a76494de497a7d5e7641cb0036bd7055acf875c1)
* feat: SW-2078 Rebase issue fix
* feat: SW-2079 Updated rate title in terms modal
* feat: SW-2078 Optimized code
* feat: SW-2078 Removed extra tags
Approved-by: Christian Andolf
2025-04-08 07:27:40 +00:00
Chuma Mcphoy (We Ahead)
2de8295ca5
Merged in fix/SW-2204-selected-room-section-alignment (pull request #1748 )
...
fix(SW-2204): Selected room alignment
* refactor(SW-2204): remove unused icon wrapper and related styles from SelectedRoom component
Approved-by: Christian Andolf
2025-04-07 12:32:56 +00:00
Matilda Landström
1239f0c662
Merged in feat/SW-1711-SW-2077-icons (pull request #1709 )
...
Fix(SW-1711)/(SW-2077): Export icons individually
* fix(SW-1711): export icons individually
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-07 07:25:25 +00:00
Hrishikesh Vaipurkar
ae1010bfce
Merged in feat/SW-2079-update-booking-page-to-show-points- (pull request #1683 )
...
feat: SW-2079 Show points in confirmation page
* feat: SW-2079 Show points in confirmation page
* feat: SW-2079 Optimized code
* feat: SW-2079 Updated Body to Typography
* feat: SW-2079 Multi-room total cost display
* feat: SW-2079 Add reward nights condition rate title
* feat: SW-2079 Removed extra checks
* feat: SW-2079 Optimmized formatPrice function
* feat: SW-2079 Typo fix
Approved-by: Christian Andolf
2025-04-04 09:39:55 +00:00
Simon Emanuelsson
4e36fecd6e
fix: initial fix of modify dates
2025-04-03 04:25:05 +00:00
Simon Emanuelsson
a222ecfc5c
fix: make sure calculations in booking flow are correct
2025-04-02 15:00:39 +00:00
Arvid Norlin
01e160db41
Merged in fix/saved-card-length (pull request #1711 )
...
fix: remove rendering of savedCard.length if 0
* fix: remove rendering of savedCard.length if 0
Approved-by: Simon.Emanuelsson
2025-04-02 14:01:15 +00:00
Chuma Mcphoy (We Ahead)
e45fea6de4
Merged in feat/SW-1890-New-Breakfast-Component (pull request #1666 )
...
Feat/SW-1890 New Breakfast Component Design
* refactor(SW-1890): Replace BreakfastChoiceCard with RadioCard component and update styles
- Removed BreakfastChoiceCard component and its associated styles.
- extemded RadioCard component to additional UI.
- Updated breakfast.module.css to adjust container width.
- Added new properties for subtitleSecondary and description in RadioCard.
- Updated translations for breakfast-related messages in en.json.
* feat(SW-1890): Add hover state to RadioCard
* chore(SW1890): Update translation for breakfast cost message to clarify age range
* chore(SW-1890): Updated breakfast cost display to use formatPrice utility
* fix(SW-1890): Set fixed size for CoffeeIcon component
* fix(SW-1890): Add missing translations for breakfast-related messages
* feat(SW-1890): Introduce new breakfast icons and update Breakfast component
- Replaced CoffeeIcon with BreakfastBuffetIcon and NoBreakfastBuffetIcon in the Breakfast component.
- Added new BreakfastBuffetIcon and NoBreakfastBuffetIcon components to the design system.
- Updated imports in the Breakfast component to reflect the new icons.
Approved-by: Christian Andolf
2025-04-01 10:03:18 +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
Hrishikesh Vaipurkar
03deea1102
feat: SW-2028 Updated Guarantee notification
2025-04-01 08:18:22 +00:00
Arvid Norlin
5cff2e5f36
Merged in feat/SW-1889 (pull request #1670 )
...
Feat/SW-1889
* fix: remove download invoice from confirmation page
* feat: remove EnterDetails Accordions
Approved-by: Simon.Emanuelsson
2025-03-31 13:14:11 +00:00
Simon Emanuelsson
9d584887ad
fix: add bookingCode to product
2025-03-31 13:53:29 +02:00
Simon Emanuelsson
81f579bbfe
fix: publicpromotion needs to be handled differently since api use the same label for different thing
2025-03-31 09:21:54 +00:00
Michael Zetterberg
775c986f35
fix: update label for continue to payment
2025-03-31 08:22:58 +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
Erik Tiekstra
a6cd7e6111
feat(SW-1988): Replaced current bed component with new design
...
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-27 14:47:50 +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
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
Hrishikesh Vaipurkar
f633ad7fcc
Merged in feat/SW-1308-booking-codes-track-b (pull request #1612 )
...
feat: SW-1308 Updated total price and hid approx price
* feat: SW-1308 Updated total price and hid approx price
* feat: SW-1308 Updated typo
Approved-by: Arvid Norlin
2025-03-24 12:58:57 +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
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
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
6fb71dea1b
fix: Price types has changed to doubles in the API
2025-03-20 10:19:25 +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
Hrishikesh Vaipurkar
cb5c3bfcef
feat: SW-1589 Obtain bookingCode from booking object via store
2025-03-19 11:01:56 +01:00
Hrishikesh Vaipurkar
eb2c4511c2
feat: SW-1589 Booking code booking creation
2025-03-19 09:36:34 +00:00
Linus Flood
0e0b065dd9
Merged in feat/SW-598 (pull request #1554 )
...
feat: pass specialRequest.comment to create booking
* feat: pass specialRequest.comment to create booking
Approved-by: Simon.Emanuelsson
2025-03-18 10:43:28 +00:00
Simon Emanuelsson
1812591903
feat: add multiroom tracking to booking flow
2025-03-17 09:47:42 +01:00
Arvid Norlin
540402b969
Merged in feat/SW-1813 (pull request #1516 )
...
Feat/SW-1813
* feat(SW-1652): handle linkedReservations fetching
* feat: add linkedReservation retry functionality
* chore: align naming
* feat(SW-1813): Add booking confirmation PriceDetailsModal
Approved-by: Simon.Emanuelsson
2025-03-14 13:49:22 +00: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
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