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
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
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
Simon Emanuelsson
92c5566c59
feat: add multiroom signup
2025-02-28 11:10:22 +01: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
Pontus Dreij
31a536b1f7
Merged in feat(SW-1722)-mystay-multiroom-view (pull request #1396 )
...
Feat(SW-1722) mystay multiroom view
* feat(SW-1722) View all rooms on my stay
* feat(sW-1722) Show linked reservation
* feat(SW-1722) merged monorepo
* feat(SW-1722) yarn install
* feat(SW-1722) removed unused data
* feat(SW-1722) Streaming data from the server to the client
Approved-by: Niclas Edenvin
2025-02-27 07:24:56 +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