Anton Gunnarsson
08804e8675
Merged in chore/cleanup-scandic-web (pull request #2831 )
...
chore: Cleanup scandic-web
* Remove unused files
* Remove unused and add missing packages
* Remove unused exports
Approved-by: Linus Flood
2025-09-18 15:33:00 +00:00
Anton Gunnarsson
65e4623b52
Merged in chore/fix-partner-sas-todos (pull request #2823 )
...
chore: Fix partner-sas todos
* Add onError to TrpcProvider
* Add AdobeSDKScript
* Add GTMScript
* Add adobeDataLayer script
* Add ReactQueryDevtools
* Move components to correct folder
Approved-by: Joakim Jäderberg
2025-09-18 07:28:14 +00:00
Anton Gunnarsson
b0f3e4afbd
Merged in chore/cleanup-booking-flow (pull request #2824 )
...
chore: Cleanup booking-flow after migration
* Remove unused types
* Clean up exports, types, unused files etc in booking-flow
Approved-by: Joakim Jäderberg
2025-09-18 07:28:05 +00:00
Anton Gunnarsson
5a86cbaafe
Merged in chore/update-eslint-configs (pull request #2812 )
...
chore: Extend eslint configs from @typescript-eslint/recommended
* Change to typescript recommended in scandic-web
* Remove comment
* Change to recommended ts config in partner-sas
* Change to recommended ts lint config in booking-flow
Approved-by: Linus Flood
2025-09-17 07:55:11 +00:00
Anton Gunnarsson
33ce30a1c8
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
2025-09-15 14:20:11 +00:00
Anton Gunnarsson
c6aebbd0b2
Merged in feat/sw-3415-set-up-cookiebot-in-partner-sas (pull request #2784 )
...
feat(SW-3415): Add CookieBotConsent to partner-sas
* Add CookieBotConsent
Approved-by: Joakim Jäderberg
2025-09-11 12:29:52 +00:00
Anton Gunnarsson
3e5263bf72
Merged in feat/sw-2877-move-payment-callback (pull request #2755 )
...
feat(SW-2877): Move payment callback page
* WIP move
* Add payment callback page to partner-sas
Approved-by: Joakim Jäderberg
2025-09-11 09:06:11 +00:00
Anton Gunnarsson
4550ddec53
Merged in feat/sw-3416-add-sitewidealert-to-partner-sas (pull request #2773 )
...
feat(SW-3416): Add SiteWideAlert to partner-sas
* Add SiteWideAlert to partner-sas
* Remove log
Approved-by: Joakim Jäderberg
2025-09-09 10:00:25 +00:00
Anton Gunnarsson
e68b029078
Merged in feat/sw-3414-add-fontpreload-to-partner-sas (pull request #2774 )
...
feat(SW-3414): Add FontPreload to partner-sas
* Add FontPreload
Approved-by: Joakim Jäderberg
2025-09-09 08:47:11 +00:00
Anton Gunnarsson
261eeef3e2
Merged in feat/sw-3417-add-toasthandler-to-partner-sas (pull request #2775 )
...
feat(SW-3417): Add ToastHandler to partner-sas
* Add ToastHandler to partner-sas
Approved-by: Joakim Jäderberg
2025-09-09 08:27:24 +00:00
Anton Gunnarsson
69268d88fb
Merged in feat/sw-3418-add-routerprovider-to-partner-sas (pull request #2777 )
...
feat(SW-3418): Add RouterProvider to partner-sas
* Add RouterProvider
Approved-by: Joakim Jäderberg
2025-09-09 08:20:17 +00:00
Anton Gunnarsson
2ef891281e
Merged in fix/ensure-fetch-head-exists-in-branch-sync (pull request #2770 )
...
fix: Always run git fetch in netlify-branch-sync
* Always run git fetch
If we don't run git fetch `FETCH_HEAD` will
not be set, since git clone does not set it.
Approved-by: Joakim Jäderberg
2025-09-08 11:02:32 +00:00
Anton Gunnarsson
c0ee968368
Merged in chore/partner-sas-header-footer-styling (pull request #2765 )
...
chore: partner-sas header and footer improvements
* improve header styling
* Add footer
Approved-by: Bianca Widstam
2025-09-08 09:23:20 +00:00
Anton Gunnarsson
487b78add3
Merged in chore/disable-pages-next-link-rule (pull request #2760 )
...
chore: Disable @next/next/no-html-link-for-pages in booking-flow
* Disable @next/next/no-html-link-for-pages
Approved-by: Linus Flood
2025-09-05 11:43:32 +00:00
Anton Gunnarsson
711589ff5e
Merged in chore/add-formatjs-linting-to-booking-flow (pull request #2761 )
...
chore: Add formatjs linting to booking-flow
* Add formatjs linting to booking-flow
* Fix lock file
Approved-by: Joakim Jäderberg
2025-09-04 13:52:56 +00:00
Anton Gunnarsson
7e585b2d9a
Merged in chore/more-partner-sas-boilerplate (pull request #2756 )
...
chore: Misc for partner-sas
* Add global-error to partner-sas
* Add redirect to lang in partner-sas
* Actually use language from param
* Increase test timeouts and use parsed lang to fix tests
* Remove need to import serverClient to setup trpc
Approved-by: Hrishikesh Vaipurkar
2025-09-04 07:45:14 +00:00
Anton Gunnarsson
36b6685ad5
Merged in feat/partner-sas-netlify-branch-sync (pull request #2758 )
...
feat: Add netlify-plugin-sync to partner-sas
* Add netlify-plugin-sync to partner-sas
Approved-by: Joakim Jäderberg
2025-09-03 13:50:45 +00:00
Anton Gunnarsson
ca408bbbb5
Merged in chore/update-readmes (pull request #2751 )
...
chore: Update README
* Update readme
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Joakim Jäderberg
2025-09-03 08:54:50 +00:00
Anton Gunnarsson
f7ef58eafa
Merged in feat/sw-2874-move-select-rate (pull request #2750 )
...
Approved-by: Joakim Jäderberg
2025-09-03 08:30:05 +00:00
Anton Gunnarsson
ecd567f54f
Merged in feat/sw3370-move-phone-utils (pull request #2743 )
...
feat(SW-3370): Move phone utils to common
* Move phone utils to common
* Update lock file
Approved-by: Joakim Jäderberg
2025-09-02 06:53:58 +00:00
Anton Gunnarsson
65c6bc4c59
Merged in feat/sw-3369-move-loadingspinner (pull request #2742 )
...
feat(SW-3369): Move LoadingSpinner to design-system
* Move LoadingSpinner to design-system
Approved-by: Joakim Jäderberg
2025-09-02 06:46:58 +00:00
Anton Gunnarsson
9e3294b113
Merged in chore/move-bookingwidget-to-parallel-route (pull request #2738 )
...
chore: Render partner-sas BookingWidget in parallel route
* Render BookingWidget in parallel route
Approved-by: Joakim Jäderberg
2025-09-01 12:46:42 +00:00
Anton Gunnarsson
1673006169
Merged in chore/set-branch-env-in-partner-sas (pull request #2737 )
...
chore: Add BRANCH and GIT_SHA to partner-sas
* Add BRANCH and GIT_SHA to next config env setup
Approved-by: Bianca Widstam
2025-09-01 09:05:32 +00:00
Anton Gunnarsson
87402a2092
Merged in feat/sw-2873-move-selecthotel-to-booking-flow (pull request #2727 )
...
feat(SW-2873): Move select-hotel to booking flow
* crude setup of select-hotel in partner-sas
* wip
* Fix linting
* restructure tracking files
* Remove dependency on trpc in tracking hooks
* Move pageview tracking to common
* Fix some lint and import issues
* Add AlternativeHotelsPage
* Add SelectHotelMapPage
* Add AlternativeHotelsMapPage
* remove next dependency in tracking store
* Remove dependency on react in tracking hooks
* move isSameBooking to booking-flow
* Inject searchParamsComparator into tracking store
* Move useTrackHardNavigation to common
* Move useTrackSoftNavigation to common
* Add TrackingSDK to partner-sas
* call serverclient in layout
* Remove unused css
* Update types
* Move HotelPin type
* Fix todos
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Fix component
Approved-by: Joakim Jäderberg
2025-09-01 08:37:00 +00:00
Anton Gunnarsson
e4a66499e5
Merged in feat/sw-3322-move-base-tracking-to-common (pull request #2713 )
...
feat(SW-3322): Move base tracking to common package
* Move base tracking to common package
* Update lock file
Approved-by: Joakim Jäderberg
2025-08-27 12:29:46 +00:00
Anton Gunnarsson
c53e6ef187
Merged in chore/move-use-scroll-to-top (pull request #2705 )
...
chore: Move useScrollToTop to common package
* Move useScrollToTop to common package
Approved-by: Joakim Jäderberg
2025-08-26 11:48:54 +00:00
Anton Gunnarsson
4f8c51298f
Merged in chore/improve-e2e-tests-in-sas (pull request #2663 )
...
chore: Increase expect timeout in SAS e2e tests
* Increase expect timeout
Approved-by: Joakim Jäderberg
2025-08-25 07:51:26 +00:00
Anton Gunnarsson and Joakim Jäderberg
deaba8b5c4
Merged in feat/sw-3241-move-readme-to-booking-flow (pull request #2660 )
...
feat(SW-3241): Move ReadMe to booking-flow and rename to OpenSidePeekButton
* Move ReadMe to booking-flow
* Rename ReadMore to OpenSidePeekButton
* Fix self-referencing import
Approved-by: Joakim Jäderberg
2025-08-19 07:20:44 +00:00
Anton Gunnarsson and Joakim Jäderberg
67a7a0d571
Merged in feat/sw-3271-move-chip-to-design-system (pull request #2659 )
...
feat(SW-3271): Move Chip to design-system
* Move Chip to design-system
Approved-by: Joakim Jäderberg
2025-08-19 07:04:01 +00:00
Anton Gunnarsson
322268595d
Merged in feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow (pull request #2600 )
...
feat(SW-2873): Move HotelReservationSidePeek to booking-flow
* Move sidepeek store to booking-flow
* Begin move of HotelReservationSidePeek to booking-flow
* Copy Link
* Update AccessibilityAccordionItem
* Split AccessibilityAccordionItem into two components
* Fix tracking for Accordion
* Duplicate ButtonLink to booking-flow TEMP
* AdditionalAmeneties
* wip
* Move sidepeek accordion items
* Remove temp ButtonLink
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Fix accordion tracking
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Update exports
* Fix self-referencing import
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Add 'use client' to tracking function
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
* Fix TEMP folder
* Refactor sidepeek tracking
* Merge branch 'master' into feat/sw-3218-move-hotelreservationsidepeek-to-booking-flow
Approved-by: Joakim Jäderberg
2025-08-14 12:25:40 +00:00
Anton Gunnarsson
f04e476a6e
Merged in feat/sw-3240-move-staticmap-to-design-system (pull request #2654 )
...
feat(SW-3240): Move StaticMap to design-system
* Move StaticMap to design-system
Approved-by: Joakim Jäderberg
2025-08-14 12:22:19 +00:00
Anton Gunnarsson
04aebb372c
Merged in feat/sw-3238-move-modal-to-design-system (pull request #2628 )
...
feat(SW-3238): Move modal to design system
* Move Modal to design-system
* Remove temp modal from booking-flow
Approved-by: Joakim Jäderberg
2025-08-14 07:14:51 +00:00
Anton Gunnarsson
d10fc5ed74
Merged in feat/sw-3247-move-table-to-design-system (pull request #2636 )
...
feat(SW-3247): Move Table component to design-system
* Move Table component to design-system
Approved-by: Bianca Widstam
2025-08-13 14:52:56 +00:00
Anton Gunnarsson
cd29e54098
Merged in feat/sw-3244-move-imagecontainer-to-design-system (pull request #2637 )
...
feat(SW-3244): Move ImageContainer component to design-system
* Move ImageContainer component to design-system
* Fix imports
Approved-by: Bianca Widstam
2025-08-13 14:37:29 +00:00
Anton Gunnarsson
08159d326a
Merged in feat/sw-3239-move-imagegallery-to-design-system (pull request #2633 )
...
feat(SW-3239): Move imagegallery to design system
* Inline types
* Move ImageGallery to design-system
Approved-by: Matilda Landström
2025-08-13 12:16:59 +00:00
Anton Gunnarsson
29292fd157
Merged in feat/sw-3231-move-lightbox-to-design-system (pull request #2619 )
...
feat(SW-3231): Move Lightbox to design-system
* Move Lightbox to design-system
* Fix self-referencing imports
* Fix broken import
Approved-by: Matilda Landström
2025-08-13 11:02:59 +00:00
Anton Gunnarsson
e92c0465cc
Merged in feat/sw-3242-move-opening-hours-to-design-system (pull request #2629 )
...
feat(SW-32429: Move OpeningHours to design-system
* Move OpeningHours to design-system
Approved-by: Joakim Jäderberg
2025-08-13 07:05:23 +00:00
Anton Gunnarsson
124f743df7
Merged in fix/sw-3227-add-language-param-to-point-exchange-endpoint (pull request #2627 )
...
fix: Add language param to point exchange endpoint
* Add language param to point exchange endpoint
Approved-by: Bianca Widstam
2025-08-12 14:08:01 +00:00
Anton Gunnarsson
a2213d0169
Merged in feat/sw-3228-move-image-to-design-system (pull request #2616 )
...
feat(SW-3228): Move Image to design-system
* Move Image to design-system
* Merge branch 'master' into feat/sw-3228-move-image-to-design-system
Approved-by: Linus Flood
2025-08-12 12:58:05 +00:00
Anton Gunnarsson
800dc5c3c1
Merged in feat/sw-3225-move-parking-information-to-booking-flow (pull request #2614 )
...
feat(SW-3225): Move ParkingInformation to design-system
* Inline ParkingInformation types to remove trpc dependency
* Move ParkingInformation to design-system
* Move numberFormatting to common package
* Add deps to external
* Fix imports and i18n script
* Add common as dependency
* Merge branch 'master' into feat/sw-3225-move-parking-information-to-booking-flow
Approved-by: Linus Flood
2025-08-12 12:36:31 +00:00
Anton Gunnarsson
8518d018f8
Merged in feat/sw-3230-move-link-to-design-system (pull request #2618 )
...
feat(SW-3230): Move Link to design-system
* Move Link to design-system
* Remove comments
Approved-by: Linus Flood
2025-08-12 12:35:20 +00:00
Anton Gunnarsson
683481a527
Merged in fix/add-use-client-to-buttonlink-usage (pull request #2624 )
...
fix: Add RestaurantBarItemLinks component with 'use client'
* Add RestaurantBarItemLinks component with 'use client'
Approved-by: Joakim Jäderberg
2025-08-12 11:55:16 +00:00
Anton Gunnarsson
00b124d15a
Merged in feat/sw-3226-move-buttonlink-to-design-system (pull request #2613 )
...
feat(SW-3226): Move ButtonLink to design-system
* Move ButtonLink to design-system
* Fix Button import
Approved-by: Linus Flood
2025-08-11 10:53:00 +00:00
Anton Gunnarsson
e8abcdf58b
Merged in chore/hardcode-lang-in-sas (pull request #2612 )
...
temp: Hardcode lang param
* Hardcode lang param
Approved-by: Linus Flood
2025-08-11 09:02:26 +00:00
Anton Gunnarsson
8824af240b
Merged in feat/sw-3219-move-accordion-to-design-system (pull request #2601 )
...
feat(SW-3219): Move accordion to design-system
* Inline types
* Move Accordion to design-system
Approved-by: Bianca Widstam
2025-08-07 14:30:36 +00:00
Anton Gunnarsson
41efb3a7b3
Merged in feat/sw-3207-refactor-select-hotel-tracking (pull request #2587 )
...
feat(SW-3207): Refactor select-hotel tracking
* Refactor select-hotel tracking
Approved-by: Bianca Widstam
2025-08-06 08:35:48 +00:00
Anton Gunnarsson
7fb082f712
Merged in feat/sw-3218-move-sidepeek-to-design-system (pull request #2598 )
...
feat(SW-3218): Move SidePeek to design-system
* Remove SidePeekProvider dependency on Next
* Remove dependency on i18n in sidepeek
* Inline types
* Move SidePeek to design-system
* Fix align-items value
Approved-by: Bianca Widstam
2025-08-06 08:35:34 +00:00
Anton Gunnarsson
1bd8fe6821
Merged in feat/sw-2879-booking-widget-to-booking-flow-package (pull request #2532 )
...
feat(SW-2879): Move BookingWidget to booking-flow package
* Fix lockfile
* Fix styling
* a tiny little booking widget test
* Tiny fixes
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Remove unused scripts
* lint:fix
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Tiny lint fixes
* update test
* Update Input in booking-flow
* Clean up comments etc
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Setup tracking context for booking-flow
* Add missing use client
* Fix temp tracking function
* Pass booking to booking-widget
* Remove comment
* Add use client to booking widget tracking provider
* Add use client to tracking functions
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Move debug page
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
* Merge branch 'master' into feat/sw-2879-booking-widget-to-booking-flow-package
Approved-by: Bianca Widstam
2025-08-05 09:20:20 +00:00
Anton Gunnarsson
03c9244fdf
Merged in feat/sw-2873-move-backtotopbutton-to-design-system (pull request #2593 )
...
feat(SW-2873): Move BackToTopButton to design-system
* Remove dependency on i18n in BackToTopButton
* Move BackToTopButton to design-system
Approved-by: Hrishikesh Vaipurkar
2025-08-05 08:41:31 +00:00
Anton Gunnarsson
6b43022c7d
Merged in feat/sw-2873-move-tripadvisorchip-to-booking-flow (pull request #2591 )
...
feat(SW-2873): Move TripAdvisorChip to booking-flow
* Move TripAdvisorChip to booking-flow
Approved-by: Hrishikesh Vaipurkar
2025-08-05 08:39:48 +00:00
Anton Gunnarsson
b52a3f5847
Merged in feat/sw-3145-move-iconbyiconname-to-design-system (pull request #2589 )
...
Move icon components to design-system
* Move icon components to design-system
Approved-by: Hrishikesh Vaipurkar
2025-08-04 11:32:00 +00:00
Anton Gunnarsson
7a3ee76206
Merged in feat/sw-3145-move-iconchip-to-design-system (pull request #2588 )
...
feat(SW-3145): Move IconChip to design-system
* Move IconChip to design-system
Approved-by: Hrishikesh Vaipurkar
2025-08-01 14:21:05 +00:00
Anton Gunnarsson
3922ade199
Merged in chore/update-translations-2025-07-31 (pull request #2585 )
...
Update translations
* Update translations
Approved-by: Matilda Landström
2025-07-31 11:59:08 +00:00
Anton Gunnarsson
ace44d00dc
Merged in feat/prepare-hotelreservation-routes-in-sas (pull request #2581 )
...
Prepare hotelreservation routes
* Prepare hotelreservation routes
Approved-by: Matilda Landström
2025-07-30 13:22:36 +00:00
Anton Gunnarsson
9bbea3f16f
Merged in feat/sw-3197-add-url-to-path (pull request #2577 )
...
feat(SW-3197): Add required middleware and url to path in partner-sas
* Add url to path and required middleware
Approved-by: Matilda Landström
2025-07-30 08:31:58 +00:00
Anton Gunnarsson
7a8a5cdb76
Merged in chore/fix-redis-api-lint-issues (pull request #2552 )
...
chore: Fix redis-api lint issues
* Fix redis-api lint issues
Approved-by: Matilda Landström
2025-07-11 09:37:29 +00:00
Anton Gunnarsson
ab233fb1c0
Merged in chore/synk-lokalise-25-07-11 (pull request #2551 )
...
chore: Sync with Lokalise
* Run i18n:sync
Approved-by: Matilda Landström
2025-07-11 07:55:11 +00:00
Anton Gunnarsson
8f11bff6e9
Merged in feat/sw-3185-update-transfer-points-copy (pull request #2547 )
...
Update SAS point transfer copy
* Update copy
Approved-by: Matilda Landström
2025-07-11 07:11:29 +00:00
Anton Gunnarsson
e1d85ae8b3
Merged in fix/update-icons-script-for-partner-sas (pull request #2548 )
...
fix: Update material-symbols-update script to also update partner-sas
* Update material-symbols-update script to also update partner-sas
Approved-by: Matilda Landström
2025-07-11 07:07:53 +00:00
Anton Gunnarsson
233c685e52
Merged in feat/sw-2333-package-and-sas-i18n (pull request #2538 )
...
feat(SW-2333): I18n for multiple apps and packages
* Set upp i18n in partner-sas
* Adapt lokalise workflow to monorepo
* Fix layout props
Approved-by: Linus Flood
2025-07-10 07:00:03 +00:00
Anton Gunnarsson
d7981eae42
Merged in chore/sw-3145-move-switch (pull request #2521 )
...
Move Switch to design-system
* Move Switch to design-system
* Fix Icon import
* Fix Caption import...
Approved-by: Joakim Jäderberg
2025-07-04 08:33:04 +00:00
Anton Gunnarsson
9e1cc66f95
Merged in chore/sw-3145-move-deprecated-select (pull request #2518 )
...
chore(SW-3145): Move DeprecatedSelect to design-system
* Move DeprecatedSelect to design-system
Approved-by: Linus Flood
2025-07-04 06:34:18 +00:00
Anton Gunnarsson
923206ee4c
Merged in chore/sw-3145-move-subtitle (pull request #2516 )
...
chore(SW-3145): Move Title and Subtitle to design-system
* Move Title and Subtitle to design-system
* Fix export
Approved-by: Linus Flood
2025-07-04 06:22:28 +00:00
Anton Gunnarsson
80057264d9
Merged in chore/sw-3145-move-preamble (pull request #2519 )
...
chore(SW-3145): Move Preamble to design-system
* Move Preamble to design-system
Approved-by: Linus Flood
2025-07-04 06:11:25 +00:00
Anton Gunnarsson
7ff8fee20e
Merged in chore/sw-3145-move-skeleton-shimmer (pull request #2509 )
...
chore(SW-3145): Move SkeletonShimmer to design-system
* Move SkeletonShimmer to design-system
Approved-by: Joakim Jäderberg
2025-07-03 13:10:23 +00:00
Anton Gunnarsson
0ee6e8800d
Merged in chore/sw-3145-move-tooltip (pull request #2514 )
...
chore(SW-3145): Move Tooltip to design-system
* Move Tooltip to design-system
Approved-by: Joakim Jäderberg
2025-07-03 13:00:12 +00:00
Anton Gunnarsson
aab4e5a0a1
Merged in fix/external-react-hook-form (pull request #2510 )
...
Mark react-hook-form as external in design-system
* Mark react-hook-form as external in design-system
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-07-03 09:59:07 +00:00
Anton Gunnarsson
e5f8394f50
Merged in chore/move-checkbox-component (pull request #2501 )
...
chore(SW-3145): Move checkbox component to design-system
* Inline type
* Remove error handling from Checkbox internals
* Move Form/Checkbox
* Fix self referencing imports
Approved-by: Joakim Jäderberg
2025-07-03 08:37:01 +00:00
Anton Gunnarsson
0ffb40e94b
Merged in chore/sw-3145-move-footnote (pull request #2506 )
...
chore(SW-3145): Move Footnote to design-system
* Move Footnote to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:14:18 +00:00
Anton Gunnarsson
75a377b59e
Merged in chore/sw-3145-move-body (pull request #2505 )
...
chore(SW-3145): Move Body component to design-system
* Move Body component to design-system
Approved-by: Joakim Jäderberg
2025-07-03 08:04:36 +00:00
Anton Gunnarsson
a7ac79e429
Merged in chore/sw-3145-move-caption (pull request #2503 )
...
chore(SW-3145): Move Caption to design-system
* Move Caption to design-system
* Mark Caption as deprecated
Approved-by: Linus Flood
Approved-by: Joakim Jäderberg
2025-07-03 07:48: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
Anton Gunnarsson
a3702d0ecc
Merged in chore/partner-sas-test-setup (pull request #2484 )
...
chore: Test setup in partner-web
* Add playwright
* Add vitest setup
Approved-by: Linus Flood
2025-07-01 08:27:59 +00:00
Anton Gunnarsson
9426f4b1ac
Merged in feat/sw-2871-booking-flow-envs (pull request #2483 )
...
feat(SW-2871): Add env setup to booking-flow package
* Add env setup to booking-flow package
* Add missing dep
* Really fix it..
Approved-by: Linus Flood
2025-07-01 08:27:48 +00:00
Anton Gunnarsson
c41b2314bf
Merged in fix/update-build-scripts (pull request #2488 )
...
Update build scripts for apps
* Update build scripts for apps
Approved-by: Joakim Jäderberg
2025-07-01 07:20:06 +00:00
Anton Gunnarsson
c1daef39f2
Merged in chore/env-scripts (pull request #2481 )
...
chore: Add script to show missing envs
* base
* Better output
* Add missing flag
* Add script to check env
Approved-by: Joakim Jäderberg
2025-06-30 13:54:24 +00: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
a91c28096d
Merged in feat/sw-2880-prepare-booking-flow-package (pull request #2467 )
...
feat(SW-2880) Prepare booking flow package
* Init booking-flow package
* Add gitignore
* Use booking-flow package
* Use design-system
Approved-by: Joakim Jäderberg
2025-06-30 07:48:28 +00:00
Anton Gunnarsson
f0def99425
Merged in chore/remove-unused-env-vars (pull request #2463 )
...
chore: Remove unused env vars and feature toggles
* Remove unused env vars and feature toggles
Approved-by: Joakim Jäderberg
2025-06-30 07:48:05 +00:00
Anton Gunnarsson and Linus Flood
157c0415e5
Merged in fix/add-netlify-build-ignore (pull request #2366 )
...
chore: Add ignore to build config
* Add ignore to build config
* Add missing package to ignore
* Add build filter for partner-sas site
Approved-by: Linus Flood
2025-06-27 09:48:03 +00:00
Anton Gunnarsson
01ca2b4897
Merged in feat/sw-2867-move-user-router-to-trpc-package (pull request #2428 )
...
Move user router to trpc package
* 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
* Move user 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
* Merge branch 'feat/sw-2865-move-navigation-router-to-trpc-package' into feat/sw-2867-move-user-router-to-trpc-package
* Merge branch 'master' into feat/sw-2867-move-user-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 07:07:49 +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
133f7b3d75
Merged in feat/sw-2781-partner-sas-site-setup (pull request #2432 )
...
feat(SW-2781): Setup SAS partner site
* Add boilerplate for SAS partner site
* Fonts
* netlify.toml
Approved-by: Linus Flood
2025-06-26 13:45:15 +00:00
Anton Gunnarsson
e572d9e7e9
Merged in feat/sw-2862-move-booking-router-to-trpc-package (pull request #2421 )
...
feat(SW-2861): Move booking router to trpc package
* 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
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 13:21:16 +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
395d466c51
Merged in fix/sw-3097-negative-point-transfer (pull request #2434 )
...
fix(SW-3097): Improve handling when trying to transfer negative SAS points
* Improve handling of trying to transfer negative points
Approved-by: Linus Flood
2025-06-26 09:30:02 +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
Anton Gunnarsson
9f78dd69fe
Merged in fix/sw-3035-secure-sas-cookie (pull request #2363 )
...
Add secure to SAS flow cookies
* Add secure to SAS flow cookies
* Reverse NODE_ENV check
Approved-by: Linus Flood
2025-06-16 07:35:44 +00:00
Anton Gunnarsson
e6a15bd685
Merged in fix/3037-point-transfer-incorrect-result (pull request #2368 )
...
Calculate transfered SAS points with exchange rate
* Calculate transfered SAS points with exchange rate
Approved-by: Linus Flood
2025-06-16 07:29:49 +00:00
Anton Gunnarsson
e1ede52014
Merged in fix/common-package-fix (pull request #2355 )
...
fix: Tiny fixes in common package
* Fix self-referencing and circular imports
* Fix env isServer
Approved-by: Joakim Jäderberg
2025-06-13 11:36:40 +00:00
Anton Gunnarsson
0788a57adc
Merged in feat/add-no-relative-packages-rule (pull request #2356 )
...
Add eslint rule no-relative-packages
* Add eslint rule no-relative-packages
Approved-by: Christian Andolf
2025-06-13 10:36:11 +00:00
Anton Gunnarsson
7a3ab92426
Merged in feat/sw-1948-point-transfer-endpoint (pull request #2353 )
...
feat(SW-1948):Add SAS point transfer endpoint
* Add SAS point transfer endpoint
Approved-by: Joakim Jäderberg
2025-06-12 14:06:30 +00:00
Anton Gunnarsson
a93cdf007f
Merged in fix/add-common-to-transpile-packages (pull request #2351 )
...
fix: Add common package to transpilePackages config
* Add common package to transpilePackages config
Approved-by: Joakim Jäderberg
2025-06-12 13:11:41 +00:00
Anton Gunnarsson
048a477e52
Merged in feat/common-package (pull request #2333 )
...
feat: Add common package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Fix yarn lock
* Clean up tests
* Add lint-staged config to common
* Add missing dependencies
Approved-by: Joakim Jäderberg
2025-06-11 13:08:39 +00:00
Anton Gunnarsson
bff34b034e
Merged in feat/sw-2857-refactor-booking-flow-url-updates (pull request #2302 )
...
feat(SW-2857): Refactor booking flow url updates
* Add support for removing parameters when using initial values in serializeSearchParams
* Don't manually write search params in rate store
* Booking is already from live search params so no need
* Fix input type in serializeBookingSearchParams
Approved-by: Linus Flood
2025-06-09 09:16:22 +00:00
Anton Gunnarsson and Linus Flood
879a383b61
Merged in fix/make-city-optional-in-parseSelectHotelSearchParams (pull request #2309 )
...
fix: Make city optional in parseSelectHotelSearchParams
* Make city optional in parseSelectHotelSearchParams
Approved-by: Linus Flood
2025-06-09 09:06:26 +00:00