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
Pontus Dreij
542e20e69c
Merged in fix/booking-guest-phone (pull request #1579 )
...
fix: phoneNumber doesn't need to be validated from API
* fix: phoneNumber doesn't need to be validated from API
Approved-by: Tobias Johansson
2025-03-21 15:28:34 +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
096cf700f4
Merged in fix/dates-create-booking-output (pull request #1589 )
...
fix: fixed bug with wrong schema
* fix: fixed bug with wrong schema
Approved-by: Niclas Edenvin
2025-03-20 19:05:51 +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
Hrishikesh Vaipurkar
3efa303d20
feat: SW-1589 Updated to .nullish()
2025-03-19 11:21:31 +01: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
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
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
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
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
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
Arvid Norlin
ec60e9abdd
Merged in feat/SW-1652-confirmation-page (pull request #1483 )
...
Feat/SW-1652 confirmation page
* feat(SW-1652): handle linkedReservations fetching
* fix: add missing translations
* feat: add linkedReservation retry functionality
* chore: align naming
Approved-by: Simon.Emanuelsson
2025-03-07 12:47:04 +00:00
Anton Gunnarsson
43d3713f59
Merged in feat/SW-1810-prevent-starting-link-flow-when-linked (pull request #1469 )
...
Prevent SAS link flow when already linked
* Implement check for checking sas_eb membership when starting link flow
Approved-by: Joakim Jäderberg
2025-03-05 08:17:02 +00:00
Niclas Edenvin
c88aa92aba
Merged in feat/SW-1371-delete-ancillary (pull request #1455 )
...
feat(SW-1371): delete ancillary
* feat(SW-1371): delete ancillary
* Remove outline from dialog
* Consistent return type from mutation
* Error flow
Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-03-04 14:22:15 +00:00
Christian Andolf
e6e50ade45
Merged in feat/SW-1773-find-my-booking-validation (pull request #1453 )
...
feat(SW-1773): add proper validation to form and query
Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-03 12:24:01 +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
Christian Andolf
c98ac88ac0
feat(SW-1773): add proper validation to form and query
2025-03-03 08:57:48 +01:00
Bianca Widstam
4fc25e42b5
Merged in feat/SW-1648-booking-code-my-stay (pull request #1447 )
...
feat(SW-1648): add booking code on my stay
* feat(SW-1648): add booking code on my stay
Approved-by: Niclas Edenvin
2025-02-28 14:09:23 +00:00
Pontus Dreij
69139c5230
Merged in feat(SW-1279)-mystay-multirum-cancelling (pull request #1443 )
...
Feat(SW-1279) mystay multirum cancelling
* feat(SW-1279) Cancelation text if non-user on room 2-4
* feat(SW-1279) cancel mystay multiroom
* feat(SW-1279): Added cancellation for multiroom on mystay
Approved-by: Niclas Edenvin
2025-02-28 07:17:25 +00:00
Niclas Edenvin
747201b0f7
Merged in feat/SW-1282-list-added-ancillaries (pull request #1416 )
...
Feat/SW-1282 list added ancillaries
* feat(sw-1282): add icon to accordionItem
* feat(sw-1282): list added ancillaries
* Change translation key to already existing
* Remove duplicate key
* Move new files to the new folder structure
Approved-by: Pontus Dreij
2025-02-27 22:01:11 +00:00
Linus Flood
427cc10edc
Merged in fix/gla-remove-unused-prop (pull request #1427 )
...
fix: guarantee for late arrival prop removed
* fix: guarantee for late arrival prop removed
* Merge master
* Revert typecheck fix
Approved-by: Michael Zetterberg
2025-02-27 16:18:42 +00:00
Christian Andolf
5d7815bd28
Merged in feat/SW-1273-find-my-booking-page (pull request #1414 )
...
feat(SW-1273): find my booking page with rudimentary validation and redirect
Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-27 09:17:15 +00:00
Arvid Norlin
2813dc6f84
Merged in fix/linkedReservation-typings (pull request #1431 )
...
fix: linkedReservation typings
* fix: correct rinkedReservation typings
Approved-by: Christian Andolf
Approved-by: Simon.Emanuelsson
2025-02-27 09:10:13 +00:00
Christian Andolf
85cd815968
feat(SW-1273): find my booking page with rudimentary validation and redirect
2025-02-27 09:57:17 +01:00
Arvid Norlin
d5e5b9a526
Merged in feat/SW-1652-confirmation-page-multiroom (pull request #1404 )
...
feat(SW-1652): Fetching additional rooms on confirmation page
* feat(SW-1652): Fetching additional rooms on confirmation page
Approved-by: Tobias Johansson
2025-02-26 12:42:54 +00:00
Anton Gunnarsson
80100e7631
Merged in monorepo-step-1 (pull request #1080 )
...
Migrate to a monorepo setup - step 1
* Move web to subfolder /apps/scandic-web
* Yarn + transitive deps
- Move to yarn
- design-system package removed for now since yarn doesn't
support the parameter for token (ie project currently broken)
- Add missing transitive dependencies as Yarn otherwise
prevents these imports
- VS Code doesn't pick up TS path aliases unless you open
/apps/scandic-web instead of root (will be fixed with monorepo)
* Pin framer-motion to temporarily fix typing issue
https://github.com/adobe/react-spectrum/issues/7494
* Pin zod to avoid typ error
There seems to have been a breaking change in the types
returned by zod where error is now returned as undefined
instead of missing in the type. We should just handle this
but to avoid merge conflicts just pin the dependency for
now.
* Pin react-intl version
Pin version of react-intl to avoid tiny type issue where formatMessage
does not accept a generic any more. This will be fixed in a future
commit, but to avoid merge conflicts just pin for now.
* Pin typescript version
Temporarily pin version as newer versions as stricter and results in
a type error. Will be fixed in future commit after merge.
* Setup workspaces
* Add design-system as a monorepo package
* Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN
* Fix husky for monorepo setup
* Update netlify.toml
* Add lint script to root package.json
* Add stub readme
* Fix react-intl formatMessage types
* Test netlify.toml in root
* Remove root toml
* Update netlify.toml publish path
* Remove package-lock.json
* Update build for branch/preview builds
Approved-by: Linus Flood
2025-02-26 10:36:17 +00:00