Joakim Jäderberg
bf6ed7778e
Merged in feat/syncDefaultMessage (pull request #3022 )
...
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
2025-10-30 08:38:50 +00:00
Anton Gunnarsson
bf19d3960b
Merged in chore/remove-lodash (pull request #2983 )
...
chore: Remove lodash-es
* lodash-es is not edge safe so replace it with native functions
Approved-by: Joakim Jäderberg
2025-10-17 07:47:20 +00:00
Joakim Jäderberg
291310e841
Merged in feature/curity-social-login (pull request #2963 )
...
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
2025-10-16 12:47:12 +00:00
Joakim Jäderberg
8ebc48b138
Merged in feat/SW-3461-setup-auth-with-sas-eurobonus (pull request #2825 )
...
Feat/SW-3461 setup auth with sas eurobonus
* feat(SW-3461): Setup auth for sas eurobonus
* .
* feat: setup auth towards SAS
* Fix auth via SAS and add logout route
* .
* merge
* auth via SAS
* fix powered by scandic logo
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3461-setup-auth-with-sas-eurobonus
* Include access_token in jwt after successful login
* merge
Approved-by: Anton Gunnarsson
2025-09-22 09:30:36 +00:00
Joakim Jäderberg
ae7a62c88f
Merged in feature/SW-3149-send-logs-to-sentry (pull request #2802 )
...
Feature/SW-3149 send logs to sentry
* Use sentry for logging
* .
* fix(SW-3149) Send logs to Sentry
* remove experimental flag for logs
* add sentry settings for partner-sas
* feat(SW-3108): Added external link option to top primary button on content/collection page
Approved-by: Matilda Landström
* fix(BOOK-152): Removed old header references inside useStickyPosition hook to fix offset issue for the sitewide alert
Approved-by: Matilda Landström
* Merged in fix/LOY-360-team-member-text-for-retired-employees (pull request #2799 )
fix(LOY-360): improve text for retired employees
* fix(LOY-360): improve text for retired employees
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
* Merged in fix/STAY-67-redirect-to-webview-after-gla (pull request #2795 )
fix(STAY-67): redirect to webview after guarantee on my stay
* fix(STAY-67): redirect to webview after guarantee on my stay
* fix(STAY-67): add callback page for guarantee on webview
Approved-by: Linus Flood
* feat(SW-3152): Respecting image aspect ratio inside image gallery/lightbox
* feat(SW-3152): Respecting image aspect ratio inside image gallery/lightbox
* feat(BOOK-144): Make image clickable instead of a button to avoid being able to click outside of the image area
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in fix/BOOK-127-translate-validation-text (pull request #2800 )
fix(BOOK-127): translate terms required message
* fix(BOOK-127): translate terms required message
Approved-by: Erik Tiekstra
* Merged in feat/LOY-354-L7-Progress-Card (pull request #2786 )
Feat/LOY-354 L7 Progress Card
* feat(LOY-354): Add Trophy icon
* fix(LOY-354): include new tierPoints value
* feat(LOY-354): L7 Progress Level Card support
* refactor(LOY-354): Refactoring of component structure
* fix(LOY-354): Remove intl prop drilling
* fix(LOY-354): cleanup progress section code
Approved-by: Erik Tiekstra
* Merged in fix/BOOK-132-tracking-breakfast (pull request #2803 )
fix(BOOK-132): add breakfastOption tracking
* fix(BOOK-132): add breakfastOption tracking
Approved-by: Joakim Jäderberg
* Merged in fix/enter-details-errors-missing (pull request #2806 )
fix: Add missing messages to BookingFlowInput errors
* Add missing messages to BookingFlowInput errors
* Fix errors
* zippy zip
* phoney
Approved-by: Bianca Widstam
Approved-by: Joakim Jäderberg
* Merged in feature/copy-static-files-via-build-scripts (pull request #2798 )
SW-3467 Copy static files via build scripts
* add file copy script and add all fonts to design-system
* add file copy script and add all fonts to design-system
* add file copy script and add all fonts to design-system
* remove fonts that will be copied via build scripts
* wip
* update paths to shared files
* update material-symbol script
* merge
* fix missing shared segment for path in fonts.css
Approved-by: Linus Flood
* Merged in feat/SW-2999-cleanup (pull request #2810 )
feat(SW-2999): cleanup current web
* feat(SW-2999): cleanup current web
* Merge master
* Removed unused fonts
Approved-by: Joakim Jäderberg
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3149-send-logs-to-sentry
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3149-send-logs-to-sentry
* merge
Approved-by: Linus Flood
2025-09-18 07:59:44 +00:00
Linus Flood
fd0198f57b
Merged in feat/SW-2999-cleanup (pull request #2810 )
...
feat(SW-2999): cleanup current web
* feat(SW-2999): cleanup current web
* Merge master
* Removed unused fonts
Approved-by: Joakim Jäderberg
2025-09-16 11:28:57 +00:00
Joakim Jäderberg
7dee6d5083
Merged in chore/move-enter-details (pull request #2778 )
...
Chore/move enter details
Approved-by: Anton Gunnarsson
2025-09-11 07:16:24 +00:00
Anton Gunnarsson
be25be7bb5
Merged in feat/sw-3125-move-client-trpc-setup (pull request #2493 )
...
feat(SW-3125): Move client trpc setup
* Move client trpc to package
* Client setup in partner-sas
* Add todo
Approved-by: Linus Flood
2025-07-01 12:41:28 +00:00
Anton Gunnarsson
6eeaa1cd40
Merged in feat/sw-2872-dependency-inject-app-context-in-trpc-package (pull request #2478 )
...
feat(SW-2872) Dependency inject app context in trpc package
* Move appRouter to trpc package
* WIP Move serverClient to trpc package
Doesn't handle errors yet
* Don't use global
* Use trpc everywhere
Approved-by: Linus Flood
2025-07-01 08:49:33 +00:00
Christian Andolf
733281240f
chore: add vitest project config and yarn constraints
2025-06-30 14:17:49 +02:00
Anton Gunnarsson
4e1cb01b84
Merged in chore/cleanup-after-trpc-migration (pull request #2457 )
...
Chore/cleanup after trpc migration
* Clean up TODOs
* Rename REDEMPTION constant to SEARCH_TYPE_REDEMPTION
* Update dependencies
Remove unused deps from scandic-web
Add missing deps to trpc package
* Update self-referencing imports
* Remove unused variables from scandic-web env
* Fix missing graphql-tag package
* Actually fix
* Remove unused env var
Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-06-30 12:08:19 +00:00
Anton Gunnarsson
00bcdaaa28
Merged in feat/sw-2865-move-navigation-router-to-trpc-package (pull request #2427 )
...
feat(SW-2862): Move navigation router to trpc package
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Remove translations from My Pages navigation trpc procedure
* Move navigation router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 06:54:49 +00:00
Anton Gunnarsson
5f8ac8cdeb
Merged in feat/sw-2861-move-autocomplete-router-to-trpc-package (pull request #2417 )
...
feat(SW-2861): Move autocomplete router 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
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Merge branch 'master' into feat/sw-2861-move-autocomplete-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 12:40:45 +00:00
Anton Gunnarsson
f9c719ff4b
Merged in feat/sw-2866-move-partners-router-to-trpc-package (pull request #2414 )
...
feat(sw-2866): Move partners router 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
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Merge branch 'master' into feat/sw-2866-move-partners-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:44:13 +00:00
Anton Gunnarsson
bbcabfa0ba
Merged in feat/sw-2864-move-hotels-router-to-trpc-package (pull request #2410 )
...
feat (SW-2864): Move booking router to trpc package
* 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
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2864-move-hotels-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:02:59 +00:00
Anton Gunnarsson
002d093af4
Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389 )
...
feat(SW-2863): Move contentstack router to trpc package
* 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
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Anton Gunnarsson
846fd904a6
Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319 )
...
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
2025-06-18 12:14:20 +00:00