Feat/SW-965 select rate modify room
* feat(SW-965): added new state for modify room and smaller fixes
* feat(SW-965): update state handling of modifyRateIndex
* fix: adjust scroll animation to handle modifyRateIndex
* fix: room state logic and removed unused css class
Approved-by: Pontus Dreij
Approved-by: Arvid Norlin
Feature/hardcoded mypages links
* feat: wip use hardcoded links
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/hardcoded-mypages-links
* feat: use hardcoded links for my pages to support dynamic links
* cleanup
* code fixes
* refactor: restructure MyPagesMobileDropdown component for improved readability
* use util timeout function
Approved-by: Christian Andolf
Approved-by: Linus Flood
feat: getHotel - unify input to make sure we can use the same cache response
* feat: getHotel - unify input to make sure we can use the same cache response
Approved-by: Simon.Emanuelsson
feat(SW-1540): Fetch data from API for MyStay
* feat(SW-1540): Fetch data from API for MyStay
* feat(SW-1540): Moved myStaySkeleton
* feat(SW-1540) used memoized getBookingConfirmation instead
Approved-by: Michael Zetterberg
Approved-by: Linus Flood
SAS Handle redirects from server actions on the client
* fix: return values instead of doing redirect in server action
* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/sas-link
* fix: SAS use client side redirects since netlify doesn't seem to support redirects inside server actions
Approved-by: Linus Flood
feat(SW-1259): Enter details multiroom
* refactor: remove per-step URLs
* WIP: map multiroom data
* fix: lint errors in details page
* fix: made useEnterDetailsStore tests pass
* fix: WIP refactor enter details store
* fix: WIP enter details store update
* fix: added room index to select correct room
* fix: added logic for navigating between steps and rooms
* fix: update summary to work with store changes
* fix: added room and total price calculation
* fix: removed unused code and added test for breakfast included
* refactor: move store selectors into helpers
* refactor: session storage state for multiroom booking
* feat: update enter details accordion navigation
* fix: added room index to each form component so they select correct room
* fix: added unique id to input to handle case when multiple inputs have same name
* fix: update payment step with store changes
* fix: rebase issues
* fix: now you should only be able to go to a step if previous room is completed
* refactor: cleanup
* fix: if no availability just skip that room for now
* fix: add select-rate Summary and adjust typings
Approved-by: Arvid Norlin
Feature/sas mypages
* feat: Add SAS partner page under my pages
* fix: feature toggle SAS Partner page in my pages
* add translations for SAS account page
* use 'flex-start' instead of 'start'
* fix: flatten css
* fix: don't use <SectionContainer /> on linkedAccounts page
Feat/SW-1055 Accordion for summary bar in mobile on Select Rate
* feat(SW-1055) created mobile summary for select rate
* feat(SW-1055) Added summary for mobile (accordion)
Approved-by: Tobias Johansson
feat:hotel info card - pass hoteldata since we already fetching it on page level
* feat:hotel info card - pass hoteldata since we already fetching it on page level
feat: skeleton key bullet proof. 10 min cache on city search response
* feat: skeleton key bullet proof. 10 min cache on city search response
* Refactor server.ts
Approved-by: Michael Zetterberg
Fix/hotelreservation skeletons
* fix: skeletons in hotelreservation key includes all search params
* fix: skeletons in hotelreservation key includes all search params
* fix: skeletons in hotelreservation key includes all search params
fix: skeletons in hotelreservation key includes all search params
* fix: skeletons in hotelreservation key includes all search params
Approved-by: Joakim Jäderberg
First steps towards the SAS partnership
* otp flow now pretends to do the linking
* Update LinkAccountForm header
* Update redirect times
* Clean up comments
* Set maxAge on sas cookies
* make all SAS routes protected
* Merge remote-tracking branch 'refs/remotes/origin/feature/sas-login' into feature/sas-login
* Require auth for sas link flow
* Fix resend otp
* Add error support to OneTimePasswordForm
* Add Sentry to SAS error boundary
* Move SAS_REQUEST_OTP_STATE_STORAGE_COOKIE_NAME
* Add missing translations
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/sas-login
* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login
* Add TooManyCodesError component
* Refactor GenericError to support new errors
* Add FailedAttemptsError
* remove removed component <VWOScript/>
* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login
* remove local cookie-bot reference
* Fix sas campaign logo scaling
* feature toggle the SAS stuff
* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login
* fix: use env vars for SAS endpoints
Approved-by: Linus Flood
feat(SW-1523): foundation for my stay page
* feat(SW-1523): foundation for my stay page
This is the base page for the my stay page. It is very much hard coded
and all components need to get a design update afterwards. But this is
to get the page going!
* fix(i18n): messages
Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
feat(SW-1296): added Subpage for hotel pages and its routing
* feat(SW-1296): added Subpage for hotel pages and its routing
Approved-by: Fredrik Thorsson
feat(SW-1493): Revised SAS comparison block
* Base of new TierDetails for SAS tier comparison
* Add backgrounds and content to TierDetails
* Implement new cms schema for SasTierComparison
* Override gap in jsontohtml styling to 0
* Add animations to comparison details
* Redesign again
* Update content model to new design
* Add border to bottom item in tier match list
* Wrap interpolate-size in @supports to be safe
* Merge branch 'master' into feat/sw-1493-revised-comparison-block
Approved-by: Joakim Jäderberg
feat: adjust price detail modal to handle multi room and removed dependency of enter details store
* feat: adjust price detail modal to handle multi room and removed dependency of enter details store
* fix: remove div from table
* fix: added room translation
Approved-by: Pontus Dreij
Merged in feat/sw-397-alternative-hotels (pull request #1211)
Feat/sw 397 alternative hotels
* fix(SW-397): create alternative hotels page
* update types
* Adapt to new changes for fetching data
* Make bookingcode optional
* Code review fixes
Approved-by: Simon.Emanuelsson
feat(SW-1450): added components in destination pages from cs
* feat(SW-1450): added components in destination pages from cs
* feat(SW-1450): added correct refs and removed classNames
Approved-by: Fredrik Thorsson
Added siteversion to all events and fixed payment status
* Added siteversion to all events and fixed payment status
* Fixed bug
Approved-by: Erik Tiekstra
feat(SW-1339): Now supporting sitewide alert height to decide the position of the navigation menus
* feat(SW-1339): Now supporting sitewide alert height to decide the position of the navigation menus
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström