fix(SW-3578): Fixed session issue when sas session expires
* fix(SW-3578): Fixed session issue when sas session expires
* base socialLogin auto-features on validSession and being linked
* remove unused object
* remove 'import server-only' for isValidSession() since it's only using passed data
* remove isValidClientSession()
Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
SW-3572 API route for listing hotels per city or country
* wip hotel data endpoint
* Correct route params type
* wip
* skip static paths call
* timeout when getting destinations take too long
* call noStore when we get a timeout
* add cache-control headers
* .
* .
* .
* wip
* wip
* wip
* wip
* add route for getting hotels per country
* include city when listing by country
* fix distance SI unit
* fix sorting
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3572-hotel-data-endpoint
* packages/tracking passWithNoTests
* revalidate must be static value
* remove oxc reference
* cleanup
* cleanup hotel api route
* feat(SW-3572): cleanup error handling
Approved-by: Anton Gunnarsson
fix(LOY-442): correct font for expirationDate in expiring points table
* fix(LOY-422): correct font for expirationDate in expiring points table
Approved-by: Matilda Landström
Sync defaultMessage from lokalise
* Enhance translation sync functionality and tests
- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.
* feat(syncDefaultMessage): add script for syncing default message with lokalise
* feat(syncDefaultMessage): add script for syncing default message with lokalise
Approved-by: Matilda Landström
Fix/STAY-73 opt in email
* fix: let user opt-in for modification email when adding ancillaries
* fix: add toast when successfully removing an ancillary
Approved-by: Erik Tiekstra
Approved-by: Elin Svedin
fix(SW-3549): update social session management functions for clarity and consistency
* refactor(SW-3549): rename session management functions for clarity and consistency
* merge
Approved-by: Hrishikesh Vaipurkar
fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set
* fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set
Approved-by: Bianca Widstam
Fix/BOOK-323 enter details scroll error
* fix(BOOK-323): scroll to invalid element on submit on enter details
* fix(BOOK-323): update error message design
* fix(BOOK-323): clean up
* fix(BOOK-323): scroll to fields in room in right order
* fix(BOOK-323): add id to translations
* fix(BOOK-323): remove undefined
* fix(BOOK-323): fix submitting state
* fix(BOOK-323): use ref in multiroom for scrolling to right element, add membershipNo
* fix(BOOK-323): fix invalid border country
* fix(BOOK-323): use error message component
* fix(BOOK-323): fix invalid focused styling on mobile
* fix(BOOK-323): remove redundant dependency in callback
Approved-by: Erik Tiekstra
feat(SW-3541): Do social login after login to SAS
* feat(auth): wip social login via curity
* Setup social login auth flow
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* Added support for getting scandic tokens and refresh them
* feat: Enhance social login and session management with auto-refresh and improved error handling
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* wrap layout in suspense
* revert app/layout.tsx
* fix import
* cleanup
* merge
* merge
* dont pass client_secret in the url to curity
* add state validation when doing social login through /authorize
* remove debug logging
Approved-by: Anton Gunnarsson
feat(LOY-390): Hide the value non transactional in booking number column.
* feat(LOY-390): Removed non transactional confirmationNumber link, also added description message for non transactional confirmationNumbers with 0 nights
* feat(LOY-390): changed description
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
feat(SW-3514): Add variant of join friends card with membership id input
* Move membershipId input in enter details to join card
Add booking flow feature flag to move membershipId into join card and hide login button.
Currently only applies to first room.
* Add sas join card to multiroom
Approved-by: Hrishikesh Vaipurkar
fix(LOY-408): Make auth parts of promohero client components
* fix(LOY-408): Move auth parts of promohero client side
* chore(LOY-408): remove unused code
Approved-by: Linus Flood
Approved-by: Matilda Landström
fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
* fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
Approved-by: Erik Tiekstra