Simon Emanuelsson
59f4a27cb1
feat: translate Voucher everywhere during booking flow
2025-06-30 10:57:00 +00:00
Anton Gunnarsson
002d093af4
Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389 )
...
feat(SW-2863): Move contentstack router to trpc package
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Tobias Johansson
8272327993
Merged in fix/SW-2801-correct-date-formats (pull request #2400 )
...
fix(SW-2801): Added lang specific date formats
* fix(SW-2801): Added lang specific date formats
* fix: wrong type import
Approved-by: Michael Zetterberg
2025-06-25 11:12:28 +00:00
Simon Emanuelsson
d4894c1647
feat: change all Based on availability to Subject to availability in booking flow
2025-06-25 10:30:45 +00:00
Christian Andolf
59745dc61a
fix(SW-3085): restore missing form id
2025-06-19 13:25:24 +02:00
Anton Gunnarsson
846fd904a6
Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319 )
...
feat(SW-2859): Create trpc package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Clean up tests
* Create trpc package and move initialization
* Move errors and a few procedures
* Move telemetry to common package
* Move tokenManager to common package
* Add Sentry to procedures
* Clean up procedures
* Fix self-referencing imports
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* Fix lang imports
Approved-by: Linus Flood
2025-06-18 12:14:20 +00:00
Simon.Emanuelsson
85acd3453d
Merged in feat/SW-1719-strikethrough-rates (pull request #2266 )
...
Feat/SW-1719 strikethrough rates
* feat(SW-1719): Strikethrough rate if logged in on regular rate cards
* feat(SW-1719): Strikethrough rate if logged in on rate summary
* feat(SW-1719): Strikethrough rate if logged in on mobile rate summary
* feat(SW-1719): Strikethrough rate if logged in on enter details
* feat(SW-1719): Strikethrough rate support for multiple rooms
* feat(SW-1719): booking receipt fixes on confirmation page
* feat(SW-1719): improve initial total price calculation
* feat: harmonize enter details total price to use one and the same function
Approved-by: Michael Zetterberg
2025-06-13 12:01:16 +00:00
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Niclas Edenvin
1d733c5ca3
Merged in fix/SW-2887-complete-booking-button-always-enabled (pull request #2227 )
...
fix(SW-2887): don't disable the booking button
The complete button shouldn’t be disabled based on validation. This was already correct in desktop, but now it’s also correct in mobile.
* fix(SW-2887): don't disable the booking button
Approved-by: Tobias Johansson
Approved-by: Christian Andolf
2025-05-28 08:11:29 +00:00
Tobias Johansson
f77202f58b
Merged in fix/SW-2249-missing-currency (pull request #2159 )
...
fix(SW-2249): Added default currency to summary and price details modal
* fix(SW-2249): Added default currency to summary and price details modal
Approved-by: Hrishikesh Vaipurkar
2025-05-26 06:51:57 +00:00
Bianca Widstam
9aeb38bef4
Merged in fix/SW-2756-hide-chevron-booking-summary (pull request #2102 )
...
fix(SW-2756): hide chevron and remove button click for desktop
* fix(SW-2756): hide chevron and remove button click for desktop
Approved-by: Linus Flood
2025-05-15 05:59:44 +00:00
Simon Emanuelsson
ca29237f2e
feat: add no breakfast message to price details modal and to conf page receipt
2025-05-14 11:12:24 +02:00
Tobias Johansson
13261d425c
Merged in feat/SW-2703-mobile-summary-improvements (pull request #2060 )
...
Feat/SW-2703 mobile price summary improvements
* feat(SW-2703): fixes to select rate price summary
* feat(SW-2703): fixes enter details summary mobile
* fix: z-index issue related to booking widget popover
* fix
* fix: added accessibility props to overlay div
* fix: added button inside header
* fix: rename aria button
Approved-by: Michael Zetterberg
2025-05-13 09:22:34 +00:00
Simon Emanuelsson
a99e434d84
feat: move room charge to top in price details modal
2025-05-08 10:38:44 +00:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +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
Matilda Landström
19407d1b09
fix: update copy
2025-05-03 09:59:54 +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
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
Michael Zetterberg
9aa70f0b37
feat(SW-2470): render correct terms on Enter details
2025-04-29 08:08:21 +00:00
Michael Zetterberg
2366b4e785
feat(SW-2470): render correct terms on Select rate
2025-04-29 08:08:21 +00:00
Joakim Jäderberg
c1505ce50e
Merged in feature/warmup (pull request #1887 )
...
* unified warmup function
Approved-by: Linus Flood
2025-04-29 06:18:14 +00:00
Simon Emanuelsson
b5deb84b33
fix: always use totalPrice to display roomCharge
2025-04-28 12:40:52 +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
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
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
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
a222ecfc5c
fix: make sure calculations in booking flow are correct
2025-04-02 15:00:39 +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
Simon Emanuelsson
ebaea78fb3
feat(SW-1717): rewrite select-rate to show all variants of rate-cards
2025-03-28 17:07: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
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
Niclas Edenvin
6fb71dea1b
fix: Price types has changed to doubles in the API
2025-03-20 10:19:25 +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
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
Michael Zetterberg
91c36ee41c
fix: clean up dictionaries
2025-03-13 08:29:48 +00:00
Tobias Johansson
ad05f792fb
Merged in feat/SW-1078-rate-terms-scenarios (pull request #1500 )
...
feat(SW-1078): mixed rate scenario
* feat(SW-1078): mixed rate scenario
* fix: change from css string modification to array join
* refactor: split out big reduce function into smaller parts
* fix: minor fixes and improvments
* fix: added room index map to localization string
Approved-by: Christian Andolf
2025-03-12 10:34:35 +00:00
Tobias Johansson
7c233ab846
Merged in feat/SW-1076-no-room-availability (pull request #1467 )
...
Feat/SW-1076 no room availability
* fix: update booking error codes
* feat(SW-1076): handle no room availabilty on enter-details
* fix: parse to json in api mutation instead of expecting json
* fix: remove 'isComplete' state from sectionAccordion because it was not needed
Approved-by: Simon.Emanuelsson
2025-03-10 12:13:15 +00:00
Hrishikesh Vaipurkar
39b6774269
Merged in feat/SW-1589-implement-booking-code-enter (pull request #1368 )
...
Feat/SW-1589 implement booking code enter
* feat: SW-1589 Booking code rate implementation
* feat: SW-1589 Optimized price display
* feat: SW-1589 Display standard price
* feat: SW-1589 Fixed rate title issue
Approved-by: Niclas Edenvin
2025-03-05 09:32:32 +00:00
Simon.Emanuelsson
c3e3fa62ec
Merged in fix/allow-single-rateCode (pull request #1438 )
...
fix: allow rates that only have either of member or public to be selectable
* fix: allow rates that only have either of member or public to be selectable
Approved-by: Michael Zetterberg
2025-03-03 08:28:55 +00:00
Simon Emanuelsson
92c5566c59
feat: add multiroom signup
2025-02-28 11:10:22 +01:00