fix(LOY-391): uses transaction date if checkinDate does not exist
* fix(LOY-391): uses transaction date if checkinDate does not exist
* fix(LOY-391): changed date to datejs and fixed description for reward night and reward gift
* fix(LOY-391):use year transaction date
* fix(LOY-391): fixed date timezone and dt() instead of datejs()
* fix(LOY-391): small improv with year
* fix(LOY-391): utc fix
* fix(LOY-391): changed sorting order on transaction date
* fix(LOY-391): filter out transactions with 0 award points
Approved-by: Joakim Jäderberg
Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation
* Remove all REFS
* Revalidate correct language
* PR fixes
* PR fixes
* Throw when errors from contentstack api
Approved-by: Joakim Jäderberg
chore: Cleanup dependencies
* Move dotenv to root
* update knip config
* Fix more deps
* More dep updates
* more
* more dep updates
* Fix deps
* Fix generate
Approved-by: Linus Flood
Feat/LOY-391 my points transactions table design
* feat(LOY-391): Added new design to point transaction table
* fix(LOY-391): rebase fix
* fix(LOY-391): fix
* fix(LOY-391): fix
* fix(LOY-391): fixed sticky header etc.
* feat(LOY-391): added focus on the newest loaded item in the list
* fix(LOY-391): cleaned up
* fix(LOY-391): style fix
* fix(LOY-391): fixed PR-comments, types, removed the old files for earn and burn table
* fix(LOY-391): fixed PR-comments
* feat(LOY-391): added useCallback so scrolling is avoided when clicking see all on expiring points
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
fix(SW-3616): Handle EuroBonus point type everywhere
* Add tests to formatPrice
* formatPrice
* More work replacing config with api points type
* More work replacing config with api points type
* More fixing with currency
* maybe actually fixed it
* Fix MyStay
* Clean up
* Fix comments
* Merge branch 'master' into fix/refactor-currency-display
* Fix calculateTotalPrice for EB points + SF points + cash
Approved-by: Joakim Jäderberg
* feat(BOOK-463): Fetching hotel filters from CMS and using these inside the destination pages
* fix(BOOK-698): fetch hotel filters from CMS on select hotel page
Approved-by: Bianca Widstam
Feature/SW-3616 partner points my stay
* feat(SW-3616): display partner points in my stays
* null check roomPointType
* Lowercase POINTS in my stay
* include other than Scandic points when displaying price details modal
Approved-by: Anton Gunnarsson
Include more details when throwing errors for debugging in Sentry
* WIP throw errors with more details for debugging in Sentry
* Fix throwing response-data
* Clearer message when a response fails
* Add message to errors
* better typings
* .
* Try to send profileID and membershipNumber to Sentry when we fail to parse the apiResponse
* rename notFound -> notFoundError
* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/add-error-details-for-sentry
Approved-by: Linus Flood
fix(SW-3691): Setup one prettier config for whole repo
* Setup prettierrc in root and remove other configs
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
Fix/BOOK-257 video player
* fix(BOOK-257): Fixes to VideoPlayerButton and added stories
* fix(BOOK-257): Hiding mute button when the user has interacted with it
* fix(BOOK-257): Added support for poster image
* fix(BOOK-257): add crossOrigin attr to videoplayer
* fix(BOOK-257): comment
Approved-by: Anton Gunnarsson
Fix/STAY-135 & STAY-127
* fix: make quantity and delivery separate steps in mobile
* fix: update design for delivery step in ancillary flow
* fix: add error state for missing time
* fix: only allow points or cash payment for ancillaries
* fix: break out stepper to design system
* fix: update design of select quantity step in add ancillaries flow
* fix: add error states for quantity
* fix: handle insufficient points case
* fix: update stepper to include optional disabledMessage tooltip
* fix: handle validations
* fix: change name to camel case
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
* fix(BOOK-607): updated to read from base URL env and contentstack slug instead
* made url optional on interface
* added url to findBooking query
* added the correct (new) link in the confirmation header, add to calendar
Approved-by: Erik Tiekstra
* fix(BOOK-240): Added support for multiple sources and fixed issue with play/pause on mobile
* fix(BOOK-240): Pausing hero video when scrolling out of view
Approved-by: Christel Westerberg
fix(BOOK-672): remove unused relationsships that threw when missing
* fix(BOOK-672): remove unused relationsships that threw when missing
Approved-by: Linus Flood
* feat(BOOK-257): Added VideoPlayer with card component
* feat(BOOK-257): Added queries and component for VideoCard block to Content and Collection pages
* fix(BOOK-257): Only setting object-fit: cover on the video if it is not fullscreen
* feat(BOOK-257): Added queries and component for VideoCard block to Startpage
* feat(BOOK-257): Added queries and component for Video block to content/collection/start page
Approved-by: Chuma Mcphoy (We Ahead)
Counter name is now searchable and add counter for redirects
* refactor: createCounter() only takes one argument, the name of the counter. Makes it easier to search for
* feat: add counter when we do a redirect from redirect-service
Approved-by: Linus Flood
Feat/LOY-430 reward nights
* chore(LOY-430): add reward nights request and dynamic content
* chore(LOY-430): fix Reward Night component
* Refactor: use existing endpoint and add rewardNight data to that response instead
Approved-by: Linus Flood
fix: fix logic for identifying single use ancillaries
* fix: fix logic for identifying single use ancillaries
* fix: filter out empty categories of ancillaries
Approved-by: Erik Tiekstra
feat(BOOK-639): add all block types on startpage to refs cache key
* feat(BOOK-639): add all block types on startpage to refs cache key
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström