Bianca Widstam
d9b858c823
Merged in feat/SW-3289-replace-sidepeek-hotel-reservation (pull request #2686 )
...
feat(SW-3289): replace sidepeek
* fix(SW-3289): replace sidepeek
* fix(SW-3289): add wrapping prop and change prop name to buttonVariant
* fix(SW-3289): replace body with typography
* fix(SW-3289): fix intl message
Approved-by: Joakim Jäderberg
2025-08-22 11:43:39 +00:00
Anton Gunnarsson
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
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
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
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
Hrishikesh Vaipurkar
6dd95d4a4a
Merged in fix/SW-2367-mobile-ui-correction- (pull request #2603 )
...
Fix/SW-2367 mobile ui correction
* fix(SW-2367): UI updates
* fix(SW-2367): Optimised code
Approved-by: Bianca Widstam
2025-08-07 13:00:11 +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
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
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
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
Hrishikesh Vaipurkar
edca03decf
Merged in fix/SW-2884-select-hotel-page-users-are-di (pull request #2438 )
...
fix: SW-2884 Fixed Alternative hotels map navigation issues
* fix: SW-2884 Fixed Alternative hotels map navigation issues
* fix: SW-2884 Optmized code
Approved-by: Arvid Norlin
2025-06-27 08:05:26 +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
2cce2a95b7
Merged in fix/SW-2845-hotel-pins-map-screen (pull request #2437 )
...
fix(SW-2845): remove hover state when clicking hotel card address
* fix(SW-2845): remove hover state when clicking hotel card address
Approved-by: Michael Zetterberg
2025-06-26 06:49:59 +00:00
Bianca Widstam
9e3d82b62c
Merged in fix/SW-2739-map-reward-night-not-enough-points (pull request #2435 )
...
fix(SW-2739): remove tooltip and add correct CTA on map for reward nights
* fix(SW-2739): remove tooltip and add correct CTA on map for reward nights
* fix(SW-2739): fix pr comment
Approved-by: Arvid Norlin
2025-06-25 13:30:43 +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
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
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Simon Emanuelsson
7be6c5dfb5
feat: remove bookingCode from searchParams for hotels without availability
2025-06-13 07:16:58 +00:00
Tobias Johansson
97f81cd35b
Merged in fix/SW-2972-hotel-card-prices-width (pull request #2304 )
...
fix(SW-2972): hotel card prices didnt take full width
* fix(SW-2972): hotel card prices didnt take full width
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-06-05 12:05:38 +00:00
Christian Andolf
b3b3704c86
feat: update links default color to match design documents
2025-06-02 15:34:40 +02:00
Christian Andolf
642a6881e2
fix: update typography including missing header element in hotel cards
...
add responsive sizes to hotel card image
removed non-existing class
2025-05-26 16:56:54 +02:00
Matilda Landström
6be599e687
Merged in fix/SW-1524-clickable-area (pull request #2125 )
...
Fix/SW-1524: Enter details- expand clickable area
* fix(SW-1524): make whole price area clickable
* fix(SW-1524): add div as fake button
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-05-21 07:38:27 +00:00
Bianca Widstam
a560f49c21
Merged in fix/SW-2629-hotelCard-new-design-mobile (pull request #2132 )
...
fix(SW-2629): add new design for mobile
* fix(SW-2629): add new design for mobile
* fix(SW-2629): remove redundant brackets
* fix(SW-2629): pr comments
* fix(SW-2629): hydration error
Approved-by: Christian Andolf
2025-05-20 13:33:17 +00:00
Hrishikesh Vaipurkar
74a5b5748a
Merged in fix/SW-2642-select-hotel-corporate-ch (pull request #2003 )
...
fix: SW-2642 Fixed corporate chq and voucher rates city search
* fix: SW-2642 Fixed corporate chq and voucher rates city search
* fix: SW-2642 Fixed no availability alert for all hotels
* fix: SW-2642 Combined flags to suitable variable
* fix: SW-2642 Fixed map view to show prices
Approved-by: Arvid Norlin
2025-05-08 10:46:05 +00:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Hrishikesh Vaipurkar
e6a3e5dbd8
Merged in feat/SW-2398-ui-update-for-booking-codes (pull request #1862 )
...
feat: SW-2398 UI updates booking codes
* feat: SW-2398 UI updates booking codes
* feat: SW-2398 Rate cards UI changes
* feat: SW-2398 Optimized css with vars and chip code
* feat: SW-2398 Optimized code as review comments
* feat: SW-2398 Optimized code
* feat: SW-2398 Optimized code and mobile UX
* feat: SW-2398 Optimized code
* feat: SW-2398 Fixed UI
* feat: SW-2398 Updated animation
Approved-by: Erik Tiekstra
2025-05-02 12:36:22 +00:00
Erik Tiekstra
8152aea649
fix(SW-1241): Adjusted amenities sidepeek on hotel pages and booking flow
...
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-23 08:41:04 +00:00
Tobias Johansson
9a9789e736
Merged in feat/SW-1549-map-improvements (pull request #1783 )
...
Feat/SW-1549 map improvements
* fix: imported new icon
* refactor: rename component and set map handling to 'greedy'
* fix: show cards for 3s after hover
* refactor: update styles and added HotelPin component
* fix: change from close to back icon
* refactor: update to only use 1 state value for active pin and card
* fix: add click handler when dialog is opened
* fix: performance fixes for the dialog carousel
* fix: added border
* fix: clear timeout on mouseenter
* fix: changed to absolute import
* fix: moved hover state into the store
* fix: renamed store actions
Approved-by: Michael Zetterberg
2025-04-15 13:23:23 +00:00
Michael Zetterberg
440e1f92df
feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
2025-04-14 11:30:06 +00:00
Hrishikesh Vaipurkar
73cb423c95
Merged in feat/SW-2078-update-confirmation-page-vouchers (pull request #1731 )
...
Feat/SW-2078 update confirmation page vouchers and Corp Cheques rate
* feat: SW-2078 Tablet bookingCode ref forward issue fix
(cherry picked from commit 16a6a00fd99b6b6220a98ad74de062d67d35e1c0)
* feat: SW-2078 Display Vouchers and Cheques prices on confirmation page
(cherry picked from commit a76494de497a7d5e7641cb0036bd7055acf875c1)
* feat: SW-2078 Rebase issue fix
* feat: SW-2079 Updated rate title in terms modal
* feat: SW-2078 Optimized code
* feat: SW-2078 Removed extra tags
Approved-by: Christian Andolf
2025-04-08 07:27:40 +00:00
Matilda Landström
1239f0c662
Merged in feat/SW-1711-SW-2077-icons (pull request #1709 )
...
Fix(SW-1711)/(SW-2077): Export icons individually
* fix(SW-1711): export icons individually
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-07 07:25:25 +00:00
Bianca Widstam
83aedd7dbb
Merged in fix/SW-1491-SW-1500-link-in-hotel-card-to-map (pull request #1707 )
...
fix(SW-1491-SW-1500): address on hotel card should go to map, remove link on maplisting view
* fix(SW-1491-SW-1500): address on hotel card should go to map, remove link on maplisting view
* fix(SW-1491-SW-1500): fix comment
* fix(SW-1491-SW-1500): add underscore
Approved-by: Niclas Edenvin
2025-04-03 06:56:23 +00:00
Hrishikesh Vaipurkar
96fd0b73e4
feat: SW-2028 Fixed review comments
2025-04-01 08:18:22 +00:00
Hrishikesh Vaipurkar
4f4e077859
feat: SW-2028 Updated validations at trpc query level
2025-04-01 08:18:22 +00:00
Hrishikesh Vaipurkar
eda475d64e
feat: SW-2028 Points validation redemption city search
2025-04-01 08:18:21 +00:00
Simon Emanuelsson
ebaea78fb3
feat(SW-1717): rewrite select-rate to show all variants of rate-cards
2025-03-28 17:07:54 +00:00
Matilda Landström
5de2a993a7
Merged in feat/SW-1711-switch-icons (pull request #1558 )
...
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-27 09:42:52 +00:00
Hrishikesh Vaipurkar
b0674d07f5
Merged in feat/SW-1308-booking-codes-track-b (pull request #1607 )
...
Feat/SW-1308 booking codes track b
* feat: SW-1308 Booking codes track b
* feat: SW-1308 Booking codes Track B implementation
* feat: SW-1308 Optimized after rebase
Approved-by: Arvid Norlin
2025-03-24 11:23:11 +00:00
Hrishikesh Vaipurkar
c5e294c7ea
Merged in feat/SW-1356-reward-night-booking-2- (pull request #1559 )
...
feat: SW-1356 Reward night bookingflow
* feat: SW-1356 Reward night bookingflow
* feat: SW-1356 Removed extra param booking call
* feat: SW-1356 Optimized as review comments
* feat: SW-1356 Schema validation updates
* feat: SW-1356 Fix after rebase
* feat: SW-1356 Optimised price.redemptions check
* feat: SW-1356 Updated Props naming
Approved-by: Arvid Norlin
2025-03-24 08:54:02 +00:00
Simon Emanuelsson
1812591903
feat: add multiroom tracking to booking flow
2025-03-17 09:47:42 +01:00
Hrishikesh Vaipurkar
24bf96df41
feat: SW-1583 Used constants for strings
2025-03-07 09:08:19 +00:00
Hrishikesh Vaipurkar
23eaa772ea
feat: SW-1583 City search Map view redemption
2025-03-07 09:08:19 +00:00
Hrishikesh Vaipurkar
5058180c41
feat: SW-1583 Implemented Reward nights on city search
2025-03-07 09:08:18 +00:00
Anton Gunnarsson
80100e7631
Merged in monorepo-step-1 (pull request #1080 )
...
Migrate to a monorepo setup - step 1
* Move web to subfolder /apps/scandic-web
* Yarn + transitive deps
- Move to yarn
- design-system package removed for now since yarn doesn't
support the parameter for token (ie project currently broken)
- Add missing transitive dependencies as Yarn otherwise
prevents these imports
- VS Code doesn't pick up TS path aliases unless you open
/apps/scandic-web instead of root (will be fixed with monorepo)
* Pin framer-motion to temporarily fix typing issue
https://github.com/adobe/react-spectrum/issues/7494
* Pin zod to avoid typ error
There seems to have been a breaking change in the types
returned by zod where error is now returned as undefined
instead of missing in the type. We should just handle this
but to avoid merge conflicts just pin the dependency for
now.
* Pin react-intl version
Pin version of react-intl to avoid tiny type issue where formatMessage
does not accept a generic any more. This will be fixed in a future
commit, but to avoid merge conflicts just pin for now.
* Pin typescript version
Temporarily pin version as newer versions as stricter and results in
a type error. Will be fixed in future commit after merge.
* Setup workspaces
* Add design-system as a monorepo package
* Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN
* Fix husky for monorepo setup
* Update netlify.toml
* Add lint script to root package.json
* Add stub readme
* Fix react-intl formatMessage types
* Test netlify.toml in root
* Remove root toml
* Update netlify.toml publish path
* Remove package-lock.json
* Update build for branch/preview builds
Approved-by: Linus Flood
2025-02-26 10:36:17 +00:00