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
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
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
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
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
Bianca Widstam
9f4e2b3c45
Merged in fix/SW-2425-filter-label-lokalise (pull request #2602 )
...
fix(SW-2425): filter description should be translated with lokalise
* fix(SW-2425): filter description should be translated with lokalise
Approved-by: Anton Gunnarsson
2025-08-06 14:09:32 +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
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
Matilda Landström
216cb706ad
Merged in feat/SW-1974-handle-missing-data-hotel-page (pull request #2575 )
...
Feat/SW-1974 handle missing data hotel page
* fix(SW-1974): adjust image gallery styling
* fix(SW-1974): add border radius to fullview image
* fix(SW-1974): handle no rooms
* fix(SW-1974): adjust amenity list
* fix(SW-1974): hide parking accordion if no data
Approved-by: Anton Gunnarsson
2025-07-30 08:00:17 +00:00
Hrishikesh Vaipurkar
a12dfb4b5b
Merged in fix/SW-2342-hotel-side-peek-list-of-ui- (pull request #2566 )
...
fix(SW-2342): Fixed hotel sidepeek UI alignment and color
* fix(SW-2342): Fixed hotel sidepeek UI alignment and color
* fix(SW-2342): Fixed vertical alignment
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-28 11:19:29 +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
8272327993
Merged in fix/SW-2801-correct-date-formats (pull request #2400 )
...
fix(SW-2801): Added lang specific date formats
* fix(SW-2801): Added lang specific date formats
* fix: wrong type import
Approved-by: Michael Zetterberg
2025-06-25 11:12:28 +00:00
Hrishikesh Vaipurkar
c0efbd17ff
Merged in feat/SW-1512-selectrateenterdetails-room- (pull request #2407 )
...
feat: SW-1512 Moved room description below amenities & bed options in sidepeek
* feat: SW-1512 Moved room description below amenities & bed options in sidepeek
* feat: SW-1512 Added sub-title for room description
* feat: SW-1512 Optimized styles
Approved-by: Erik Tiekstra
2025-06-25 11:04:44 +00:00
Simon Emanuelsson
d4894c1647
feat: change all Based on availability to Subject to availability in booking flow
2025-06-25 10:30:45 +00:00
Bianca Widstam
a112173663
Merged in fix/Sw-2849-update-sidepeek-select-rate (pull request #2406 )
...
fix(SW-2849): use same sidepeek on select rate as on select hotel
* fix(SW-2849): use same sidepeek on select rate as on select hotel
* fix(SW-2849): remove ameneties sidepeek enum
Approved-by: Erik Tiekstra
2025-06-24 11:37:25 +00:00
Christian Andolf
6ca79d6bab
chore: replace old primary background token with new one
2025-06-17 15:37:26 +02:00
Simon Emanuelsson
07a764211f
feat: use correct description for beds in sidepeek
2025-06-16 13:43:29 +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
Anton Gunnarsson
dd4ef527df
Merged in chore/eslint9 (pull request #2029 )
...
chore: Update to ESLint 9
* wip: apply codemod and upgrade swc plugin
* Update eslint to 9 in scandic-web
apply code mod to config
fix existing lint issues
* Remove uneccessary fixupConfigRules
* Update eslint to 9 in design-system
* Add lint turbo dependency
* Move redis-api to eslint and prettier instead of biome
* Simplify eslint configs
* Clean up
* Apply linting
Approved-by: Linus Flood
2025-06-03 14:26:44 +00:00
Anton Gunnarsson
cbf9e7b7c2
Merged in chore/next15 (pull request #1999 )
...
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563 .
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
2025-06-02 11:11:50 +00:00
Erik Tiekstra
c963891ca7
fix(SW-2758): Using ?s queryparameter again to handle sidepeeks on hotel pages
...
Approved-by: Matilda Landström
2025-05-26 09:09:52 +00:00
Bianca Widstam
fed24b9012
Merged in SW-2728-mystay-totalpoints (pull request #2201 )
...
fix(SW-2728): add totalpoints to mystay
* fix(2728): add totalpoints to mystay
* fix(SW-2728): add totalPoints everywhere
Approved-by: Anton Gunnarsson
2025-05-23 13:46:27 +00:00
Bianca Widstam
c4229c2dd2
Merged in fix/SW-2853-tracking-breakfast-ancillaries (pull request #2188 )
...
fix(SW-2853): tracking for breakfast ancillaries
* fix(SW-2853): tracking for breakfast ancillaries
* fix(SW-2853): viewAncillary event fix for breakfast
* fix(SW-2853): pr comment spread room facilities
Approved-by: Tobias Johansson
2025-05-22 10:05:54 +00:00
Niclas Edenvin
fbc7366dd6
Merged in feat/SW-1749-sidepeek-hotel-cta (pull request #2123 )
...
feat(SW-1749): add link to hotel page in sidepeek
* feat(SW-1749): add link to hotel page in sidepeek
Approved-by: Matilda Landström
2025-05-19 13:25:54 +00:00
Erik Tiekstra
2401615caa
fix(SW-2754): Fixed issue where server rendered html included faulty links
...
Approved-by: Matilda Landström
2025-05-16 06:21:09 +00:00
Simon Emanuelsson
ca29237f2e
feat: add no breakfast message to price details modal and to conf page receipt
2025-05-14 11:12:24 +02:00
Bianca Widstam
e78d9f2a86
Merged in SW-2591-test-confirmation-page-incorrect-side-peek-is-displayed-upon-tapping-the-view-room-details-link (pull request #2057 )
...
SW-2591 test confirmation page incorrect side peek is displayed upon tapping the view room details link
* fix(SW-2591): remove redundant div
Approved-by: Simon.Emanuelsson
2025-05-12 14:07:54 +00:00
Matilda Landström
acf8b9f074
Merged in fix/add-missing-icon-mapping (pull request #2042 )
...
fix: add handsoap icon to conditioner
* fix: add handsoap icon to conditioner
Approved-by: Erik Tiekstra
2025-05-12 06:53:15 +00:00
Simon Emanuelsson
a99e434d84
feat: move room charge to top in price details modal
2025-05-08 10:38:44 +00:00
Michael Zetterberg
b910b6a313
feat(SW-2116): Use refId instead of confirmationNumber
2025-05-05 12:26:37 +00:00
Christian Andolf
f681fa7675
Merged in chore/replace-corner-radius-variable-with-new (pull request #1943 )
...
chore: replace old border-radius variables with new tokens
Approved-by: Erik Tiekstra
2025-05-05 11:24:48 +00:00
Christian Andolf
5da16ed10a
chore: remove useless color attributes on html elements
2025-05-05 11:40:10 +02:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Matilda Landström
1d648817b1
fix: add (available in some rooms)
2025-05-03 19:56:19 +00:00
Simon Emanuelsson
db289b80b1
feat: refactor NewDates, clean up legacy code
...
This reverts commit 0c7836fa59 .
2025-05-03 21:45:45 +02:00
Arvid Norlin
0c7836fa59
Merged in fix/SW-2553-sidepeeks (pull request #1919 )
...
Fix/SW-2553 sidepeeks
* fix(SW-2553): apply sidepeek display logic
* chore: move convertToChildType and getPriceType utils
* fix: apply PR requested changes
* fix(SW-2553): fix roomNumber for multiroom
* fix(SW-2553): fix sidepeek for my-stay page
Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Matilda Landström
f5f9aba2e5
Merged in fix/unique-sellingpoint (pull request #1929 )
...
fix: remove check on uniqueSellingPoint
* fix: remove check on uniqueSellingPoint
Approved-by: Bianca Widstam
2025-05-02 14:30:05 +00:00
Matilda Landström
f0dbf294d8
feat(SW-2532): update room sidepeek amenities
2025-05-02 06:38:16 +00:00
Michael Zetterberg
efb7219b6d
fix: copy fixes for English labels
2025-04-30 09:37:54 +00:00
Simon Emanuelsson
ec087a3d15
feat: refactor of my stay
2025-04-28 12:40:52 +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
Michael Zetterberg
440e1f92df
feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
2025-04-14 11:30:06 +00:00
Simon Emanuelsson
d72c84d949
feat: filters work together
2025-04-14 06:51:44 +00:00
Bianca Widstam
e6aa177e6f
Merged in fix/SW-2236-remove-modify-for-save (pull request #1771 )
...
fix(SW-2236): show modify by only if changable
* fix(SW-2236): show modify by only if changable
Approved-by: Niclas Edenvin
2025-04-09 14:09:23 +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