Erik Tiekstra
333636c81a
Merged in feat/BOOK-61-refactor-hotel-page-css-variables (pull request #3014 )
...
Feat/BOOK-61 refactor hotel page css variables
* feat(BOOK-61): Breadcrumbs
* feat(BOOK-61): intro section
* feat(BOOK-61): show more button
* feat(BOOK-61): rooms section
* feat(BOOK-61): sidepeeks
* feat(BOOK-61): deprecated old Link component
* feat(BOOK-61): added new TextLink component to the design-system
* feat(BOOK-61): replaced deprecated links with new TextLink component
* feat(BOOK-61): miscellaneous changes
Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-10-29 09:15:03 +00:00
Joakim Jäderberg
aafad9781f
Merged in feat/lokalise-rebuild (pull request #2993 )
...
Feat/lokalise rebuild
* chore(lokalise): update translation ids
* chore(lokalise): easier to switch between projects
* chore(lokalise): update translation ids
* .
* .
* .
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* chore(lokalise): new translations
* merge
* switch to errors for missing id's
* merge
* sync translations
Approved-by: Linus Flood
2025-10-22 11:00:03 +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
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
Hrishikesh Vaipurkar
8e333cc7fd
Merged in chore/SW-3379-move-useformtracking-to-common (pull request #2754 )
...
chore(SW-3379): Moved useFormTracking to common
* chore(SW-3379): Moved useFormTracking to common
Approved-by: Anton Gunnarsson
2025-09-03 12:42:27 +00:00
Hrishikesh Vaipurkar
260a544c99
Merged in chore/SW-3381-move-loginbutton-to-ds- (pull request #2752 )
...
chore(SW-3381) Moved LoginButton to design system
* chore(SW-3381) Moved LoginButton to design system
Approved-by: Anton Gunnarsson
2025-09-03 09:11:28 +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
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
Joakim Jäderberg
72f4f72a17
Merged in SW-3317-move-toast-to-design-system (pull request #2716 )
...
SW-3317 move toast to design system
* chore: Move toast to design-system and add interaction tests
* Move toast to design-system and add storybook tests
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3317-move-toast-to-design-system
* merge
* move sonner dependency to @scandic-hotels/design-system
Approved-by: Anton Gunnarsson
2025-08-27 13:03:17 +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
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
Hrishikesh Vaipurkar
f5531e8238
Merged in fix/SW-3001-select-hotel-booking-code- (pull request #2576 )
...
Fix/SW-3001 select hotel booking code
* fix(SW-3001): Fixed booking code filter store to reset to default state when new search triggered, Removed state as using useState resets the value on every filter change
* fix: Route tracking parsing error in select-hotel page
* fix(SW-3001): Optimized code
Approved-by: Matilda Landström
2025-07-30 09:39:58 +00:00
Hrishikesh Vaipurkar
5ff4234552
Merged in chore/SW-3145-move-date-to-design-system (pull request #2556 )
...
feat: SW-3145 Moved date component to design system
* chore: SW-3145 Moved date component to design system
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-28 09:05:25 +00:00
Hrishikesh Vaipurkar
42ab6e58b3
Merged in chore/SW-3145-move-phone (pull request #2549 )
...
chore/SW-3145 Moved Phone to design system
* chore/SW-3145 Moved Phone to design system
* chore: SW-3145 Moved phone and removed intl direct dependency
Approved-by: Anton Gunnarsson
2025-07-28 08:28:07 +00:00
Hrishikesh Vaipurkar
a18e736cc4
Merged in fix/SW-3095-state-ui-booking-widget (pull request #2559 )
...
Fix/SW-3095 state ui booking widget
* fix(SW-3095): remove active color on mobile for guest picker
* fix: SW-3095 Fixed hover state visible after click outside
Approved-by: Erik Tiekstra
2025-07-16 09:22:10 +00:00
Hrishikesh Vaipurkar
2f72a0437b
Merged in chore/SW-3145-move-country (pull request #2545 )
...
chore: SW-3145 Moved country into design system
* chore: SW-3145 Moved country into design system
Approved-by: Anton Gunnarsson
2025-07-10 12:20:49 +00:00
Bianca Widstam
cfeb505e36
Merged in fix/SW-3095-states-booking-widget (pull request #2534 )
...
fix(SW-3095): update design for hover, focus etc for the booking widget
* fix(SW-3095): update design for hover, focus etc for the booking widget
Approved-by: Anton Gunnarsson
Approved-by: Hrishikesh Vaipurkar
2025-07-08 09:22:52 +00:00
Hrishikesh Vaipurkar
d8f9376cd7
Merged in chore/SW-3145-move-button (pull request #2531 )
...
chore: SW-3145 Moved Button component from TempDS to Design System package
* chore: SW-3145 Moved Button compoenent from TempDS to Design System package
Approved-by: Anton Gunnarsson
2025-07-07 11:13:44 +00:00
Hrishikesh Vaipurkar
71c6f4cab3
Merged in chore/SW-3145-move-button (pull request #2527 )
...
chore: SW-3145 Moved tempdesign button to design-system
* chore: SW-3145 Moved tempdesign button to design-system
Approved-by: Anton Gunnarsson
2025-07-07 07:11:18 +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
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
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
Joakim Jäderberg
daf765f3d5
Merged in feature/wrap-logging (pull request #2511 )
...
Feature/wrap logging
* feat: change all logging to go through our own logger function so that we can control log levels
* move packages/trpc to using our own logger
* merge
Approved-by: Linus Flood
2025-07-03 12:37:04 +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
Tobias Johansson
d272cd03ce
Merged in fix/SW-3115-form-tracking-changes (pull request #2470 )
...
fix(SW-3115): add form complete tracking and removed input error tracking
* fix(SW-3115): add form complete tracking and removed input error tracking
Approved-by: Bianca Widstam
2025-07-01 06:44:08 +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
Christian Andolf
18cbd952b7
fix: fixed hydration errors by setting ids
...
moved scripts to body since beforeInteractive strategy ones will be placed in the head regardless, avoiding double render
2025-06-30 13:28:05 +02: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
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
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
Tobias Johansson
1e89fd4fe7
Merged in fix/SW-1702-new-search-map-view (pull request #2423 )
...
fix(SW-1702): Check if map view in Booking widget
* fix(SW-1702): Check if map view in Booking widget
* fix: change includes to endsWith
Approved-by: Arvid Norlin
2025-06-25 12:05:48 +00:00
Linus Flood
3c4ff0a792
Merged in fix/LOY-280-phone (pull request #2393 )
...
fix(LOY-280): phone number validation
* fix(LOY-280): phone number validation
* Return formatted phonenumber even though its not valid
Approved-by: Christian Andolf
2025-06-19 12:24:33 +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
Christian Andolf
6ca79d6bab
chore: replace old primary background token with new one
2025-06-17 15:37:26 +02:00
Linus Flood
a29f2b94a7
Merged in fix/signup-phone-validation (pull request #2378 )
...
fix/editprofile-phonenumber-validation
* fix/editprofile-phonenumber-validation
Approved-by: Christian Andolf
2025-06-17 11:56:58 +00:00
Christian Andolf
0b8e3edc15
fix: now parses phone number before submitting on edit profile and signup
2025-06-17 10:48:19 +02:00
Hrishikesh Vaipurkar
698c424f21
Merged in fix/SW-2950-validation-rule-for-zipcode- (pull request #2360 )
...
Fix: SW-2950 Updated zip code validation rule with regex
* Fix: SW-2950 Updated zip code validation rule with regex
* fix: SW-2950 Removed non-english characters from postal code regex
Approved-by: Christian Andolf
2025-06-16 08:32:46 +00:00
Christian Andolf
434b5dbdb2
Merged in fix/revert-numeric-inputmode-zipcode (pull request #2362 )
...
fix: revert numeric inputmode zipcode
Approved-by: Linus Flood
2025-06-16 06:58:24 +00:00
Christian Andolf
8b5e8aecae
Merged in fix/phone-country-code-fix (pull request #2357 )
...
fix: remove country code from prefilled phone input
Approved-by: Simon.Emanuelsson
2025-06-13 11:01:40 +00:00
Christian Andolf
c545ed2fe2
Merged in refactor/design-system-divider (pull request #2354 )
...
refactor: move divider to design system
Approved-by: Arvid Norlin
2025-06-13 09:38:10 +00:00
Christian Andolf
430cc6f644
fix: revert numeric inputmode zipcode
2025-06-13 11:33:04 +02:00
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Christian Andolf
9da986f554
fix: extrapolate phone number parsing for re-usage in edit profile
...
move error messages to message handler
2025-06-13 10:46:15 +02:00