fix(SW-2707): Added new error code and set alert again when errorCode is changed
* fix(SW-2707): Added new error code and set alert again when errorCode is changed
Approved-by: Michael Zetterberg
fix(SW-2801): Added lang specific date formats
* fix(SW-2801): Added lang specific date formats
* fix: wrong type import
Approved-by: Michael Zetterberg
fix(SW-3093): add sms checkbox for reward night on enter details
* fix(SW-3093): add sms checkbox for reward night on enter details
Approved-by: Linus Flood
Approved-by: Matilda Landström
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
Fix: SW-2950 Updated zip code validation rule with regex
* Fix: SW-2950 Updated zip code validation rule with regex
* fix: SW-2950 Removed non-english characters from postal code regex
Approved-by: Christian Andolf
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
feat(SW-2679): Added form tracking for checkout and signup
* feat(SW-2679): Added form tracking for checkout and signup
* fix(SW-2679): fixes from review
Approved-by: Michael Zetterberg
Fix/SW-2290 new ui for signup on enter details page
* fix(SW-2290): New UI for join card
Approved-by: Michael Zetterberg
Approved-by: Tobias Johansson
Approved-by: Bianca Widstam
Fix: refactor booking flow search params
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* Prepare new parse function for booking flow search params
* Prepare serialize function for booking flow search params
* Improve handling of comma separated arrays
* Slightly refactor for readability
* Next abstracts URLSearchParams so handle the abstraction instead
* Refactor booking widget to use new search params parsing
* Rename search param functions
* Refactor select-hotel to use new search param parser
* Use new search params parser in select-rate and details
* Fix hotelId type
* Avoid passing down search params into BookingWidget components
* More updates to use new types instead of SearchParams<T>
* Remove types SelectHotelSearchParams and AlternativeSelectHotelSearchParams
* Fix parseBookingWidgetSearchParams return type
* Add error handling to booking search param parsers
* Fix modifyRateIndex handling in details page
* Clean up
* Refactor booking widget search param serializing to util function
* Move start page booking widget search param parsing to page
* Use new search param serializer in HandleErrorCallback
* Delete convertSearchParamsToObj & convertObjToSearchParams
Approved-by: Michael Zetterberg
Fix/SW-2189 trigger on blur
* fix(SW-2189): do not trigger email when typing
* fix(SW-2189): use onblur on multiroom as well
Approved-by: Tobias Johansson
fix(SW-2292): new design for hotel header on enter details
* fix(SW-2292): new design for hotel header on enter details
Approved-by: Michael Zetterberg
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