Fix: (#SW-2663) bookingwidget mobile - Space around, border-radius and correct color on date field
* fix: booking widget mobile - padding around booking widget and date color
* Fixed rounded corners
* Reduced minimum size of column
Approved-by: Joakim Jäderberg
feat/sw-2740 return 404 if url contains bad chars
* feat/sw-2740 return 404 if url contains bad chars
Approved-by: Michael Zetterberg
Approved-by: Joakim Jäderberg
hotfix: removed link button and show a normal button instead
* hotfix: removed link button and show a normal button instead
Approved-by: Joakim Jäderberg
fix: null check on nodeChildrenToHtml to avoid rendering empty objects
* fix: null check on nodeChildrenToHtml to avoid rendering empty objects
Approved-by: Michael Zetterberg
Approved-by: Anton Gunnarsson
Feat/sw-2403 - Adding webview for MyStay
* feat/webview - added for my stay
* wip
* Passing headers so we can get the lang
* Cleanup
* Refactored and some performance improvements
Approved-by: Christian Andolf
hotfix: uncomment new stuff that broke destination page
* hotfix: uncomment new stuff that broke destination page
Approved-by: Michael Zetterberg
Approved-by: Joakim Jäderberg
fix/sitemap: default to prod url and added logging. Also added new sitemap function to be able to invoke it on request.
* test
* wip
* wip
* Added error message to log
Approved-by: Joakim Jäderberg
fix: bookingwidget - hide BW if either pageSettings or siteConfig wants to hide it
* fix: bookingwidget - hide BW if either pageSettings or siteConfig wants to hide it
* Refactor
Approved-by: Michael Zetterberg
fix: site-config - use correct cache keys and invalidate them
* fix: site-config - use correct cache keys and invalidate them
Approved-by: Joakim Jäderberg
Feat(tracking): add sessionId to all events. Fixed some invalid session bugs
* Feat(tracking): add sessionId to all events. Fixed some invalid session bugs
Approved-by: Anton Gunnarsson
Fix/destination pages cache keys
* fix(destionationpages): add tag to citydatabycityidentifier that should invalidate when publishing city
* Fixed building tag the same way and added comment why we need this extra tag
Approved-by: Erik Tiekstra
Suspense destination pages fixes and some performance improvements
* Suspense destination pages fixes and some performance improvements
Approved-by: Erik Tiekstra
Feat/warmup cache function
* WIP
* Fix warmup for all languages
* Cleanup
* Added env flag so we can disable warmup
* Changed time to 04.00 UTC since backend updates their data at 03.00 UTC
* Add return statements
* Merge branch 'master' into feat/warmup-cache-function
Approved-by: Anton Gunnarsson
fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons
* fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons
* More performance improvements
* Priority on hero image on startpage
Approved-by: Anton Gunnarsson
fix(servicetoken): cache it when using unstable_cache
* fix(servicetoken): cache it when using unstable_cache
* Refactor and using cacheOrGet as get/set
* Refactor
* Use expiresAt from cached token
Approved-by: Anton Gunnarsson
fix: sitemap netlify function now running
* fix: sitemap netlify function now running
* Merge branch 'master' into fix/netlify-function-sitemap
Approved-by: Bianca Widstam
Fix: Error message when copy fail. Null check on localstorage. Removed Intl from global-error.tsx
* Error message if failed to copy
* Use try/catch instead
Approved-by: Joakim Jäderberg
fix: guarantee for late arrival prop removed
* fix: guarantee for late arrival prop removed
* Merge master
* Revert typecheck fix
Approved-by: Michael Zetterberg
feat: trackingsdk as client component
* feat: trackingsdk as client component
* Cleanup
* Merge changes from feat/trackingsdk-client
* revert yarn.lock
* Added lcpTime and wait with tracking until we have the values
Approved-by: Joakim Jäderberg
feat: my profile - removed all parallel routes
* Removed all parallel routes on my-profile
* Fixed suspense
* Moved components into myprofile folder
* Turn off browser cache on myprofile
* Clear router cache when editing profile
* Clear route cache when adding new credit card
* PR fixes
Approved-by: Joakim Jäderberg
fix: langswitcher - remove check if lang exists since it's handled already
* fix: langswitcher - remove check if lang exists since it's handled already
feat: auth - changed the time left before we trying to refresh the token
* feat: auth - changed the time left before we trying to refresh the token
Approved-by: Joakim Jäderberg
Refactor: removed parallel routes for header, footer and sidewidealert. Langswitcher and sidewidealert now client components
* feat - removed parallel routes and made sidepeek and sitewidealerts as client components
* Langswitcher as client component
* Fixed lang switcher for current header
* Passing lang when fetching siteconfig
* Merge branch 'master' into feat/refactor-header-footer-sitewidealert
* Refactor
* Removed dead code
* Show only languages that has translation
* Refetch sitewidealert every 60 seconds
* Merge branch 'master' into feat/refactor-header-footer-sitewidealert
* Removed sidepeek parallel route from my-stay
* Added missing env.var to env.test
* Removed console.log
Approved-by: Joakim Jäderberg
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: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
feat: #sw-1575 using profileId instead of membershipnumber for tracking i userInfo object
* feat: #sw-1575 using profileId instead of membershipnumber for tracking i userInfo object
Approved-by: Erik Tiekstra
fix: using already created performance instead of creating a new one. Also payment tracking fix
* fix: using already created performance instead of creating a new one. Also payment tracking fix
Approved-by: Joakim Jäderberg
Added siteversion to all events and fixed payment status
* Added siteversion to all events and fixed payment status
* Fixed bug
Approved-by: Erik Tiekstra