Joakim Jäderberg
7eb74ea239
Merged in chore/replace-deprecated-body (pull request #3300 )
...
Replace deprecated <Body> with <Typography>
* chore: replace deprecated body component
* refactor: replace Body component with Typography across various components
* merge
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-12-09 12:45:34 +00:00
Erik Tiekstra
88644597df
chore: Replaced deprecated Spacing variables with current values
...
Approved-by: Matilda Landström
2025-11-12 12:56:22 +00:00
Linus Flood
7fb95f436b
Merged in feat/book-522-align (pull request #3101 )
...
feat(BOOK-522): align items in topmenu, header and booking widget
* feat(BOOK-522): align items in topmenu, header and booking widget
* Delete old css variable and use new
* Fixed underline on icons
Approved-by: Erik Tiekstra
2025-11-07 11:06:56 +00:00
Christel Westerberg
377c8886ad
Merged in fix/STAY-73-opt-in-email (pull request #3028 )
...
Fix/STAY-73 opt in email
* fix: let user opt-in for modification email when adding ancillaries
* fix: add toast when successfully removing an ancillary
Approved-by: Erik Tiekstra
Approved-by: Elin Svedin
2025-10-29 12:45:18 +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
Matilda Landström
bacdc669a3
Merged in fix/Lokalise-EN-edits-2025-10 (pull request #2962 )
...
Fix/Lokalise English manual updates
* fix: update English keys
Approved-by: Linus Flood
2025-10-16 15:04:58 +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
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
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
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
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
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
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
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
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
Christian Andolf
6ca79d6bab
chore: replace old primary background token with new one
2025-06-17 15:37:26 +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
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
Hrishikesh Vaipurkar
fa7d94093e
Merged in feat/SW-2612-mystay-breakfast-buffet-u (pull request #2059 )
...
Feat: SW-2612 Updated breakfast ancillary UI and Optimised code
* Feat: SW-2612 Updated breakfast ancillary UI and Optimised code
* feat: SW-2612 Updated UI as per figma
* feat: SW-2612 Optimised code
* feat: SW-2612 Optimised code
Approved-by: Tobias Johansson
2025-05-16 08:32:54 +00:00
Simon Emanuelsson
0b960200b9
fix: make sure ancillaries also listen to invalidate requests
2025-05-15 07:49:28 +00:00
Simon Emanuelsson
e082bf2e50
feat: make sure correct data is sent to tracking
2025-05-14 15:10:18 +00:00
Bianca Widstam
0146dd1118
Merged in fix/SW-2738-show-quantity-ancillaries--mobile (pull request #2084 )
...
fix(SW-2738): add quantity to title for mobile and desktop
* fix(SW-2738): add quantity to title for mobile and desktop
Approved-by: Niclas Edenvin
Approved-by: Joakim Jäderberg
Approved-by: Matilda Landström
2025-05-14 06:49:33 +00:00
Bianca Widstam
19166ec5c7
Merged in fix/SW-2720-rounded-price (pull request #2068 )
...
fix(SW-2720): formatPrice
* fix(SW-2720): formatPrice
* fix(SW-2720): refactor formatPrice
Approved-by: Niclas Edenvin
2025-05-13 09:12:04 +00:00
Bianca Widstam
0fd18590c5
Merged in fix/SW-2648-remove-ancillary-update-price (pull request #2002 )
...
fix(SW-2648): refresh mystay after removing ancillary
* fix(SW-2648): refresh mystay after removing ancillary
Approved-by: Niclas Edenvin
2025-05-08 06:48:01 +00:00
Michael Zetterberg
b910b6a313
feat(SW-2116): Use refId instead of confirmationNumber
2025-05-05 12:26:37 +00:00
Christian Andolf
d6b70edfa3
chore: replace old border-radius variables with new tokens
2025-05-05 11:11:37 +02:00
Linus Flood
6979ac0c3b
Merged in revert-pr-1925 (pull request #1927 )
...
Revert "Feat/sw 2323 find booking (pull request #1925 )"
Approved-by: Anton Gunnarsson
2025-05-02 13:05:42 +00:00
Arvid Norlin
74d37dad93
feat(SW-2116): RefId instead of confirmationNumber
2025-05-02 12:44:07 +02: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
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
128c1e3462
Merged in fix/display-added-ancillaries-only-if-nonmodifiable (pull request #1718 )
...
fix: fix logic for showing ancillaries and add/remove ancillaries
* fix: fix logic for showing ancillaries and add/remove ancillaries
* fix: move canModifyAncillary check
Approved-by: Niclas Edenvin
2025-04-03 11:15:49 +00:00
Bianca Widstam
3942ab1ff4
Merged in fix/ancillary-payed-with-points-name (pull request #1716 )
...
fix: added ancillary with points show correct name
* fix: added ancillary with points show correct name
Approved-by: Niclas Edenvin
2025-04-03 08:11:06 +00:00
Niclas Edenvin
d9c2ac12a1
Merged in fix/sw-2091-remove-breakfast (pull request #1689 )
...
fix(SW-2091): remove breakfast ancillaries
* fix(SW-2091): remove breakfast ancillaries
* Send array in correct format
* Break out function
Approved-by: Bianca Widstam
2025-04-01 14:34:51 +00:00
Bianca Widstam
35c1724afb
Merged in feat/SW-1997-tracking-gla-my-stay-ancillaries (pull request #1657 )
...
Feat/SW-1997 tracking gla my stay ancillaries
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1997): add tracking for gla my stay and ancillaries
* feat(SW-1997): rebase master
* feat(SW-1997): fix duplicate import
* feat(SW-1997): add hotelId and category for ancillaries, and add more tracking
* feat(SW-1997): remove commments and fix spelling mistake
* feat(SW-1997): if addAncillary failed, but guarantee is successful, default to card in booking
Approved-by: Niclas Edenvin
2025-04-01 09:38:36 +00:00
Niclas Edenvin
198927e6aa
Merged in fix/sw-2092-ancillary-fixes (pull request #1690 )
...
Don't show added ancillaries section if no ancillaries
* Don't show added ancillaries section if no ancillaries
Approved-by: Bianca Widstam
2025-04-01 08:02:43 +00:00
Niclas Edenvin
dff67ea568
Merged in feat/sw-1839-show-added-breakfast (pull request #1673 )
...
Feat/sw-1839 show added breakfast
* Fix wrong space character
* Change to correct CSS variable
* Show added breakfast ancillary in the "My add-ons" section
* Show breakfast info in room card
* Show breakfast in price details table
* Format price
Approved-by: Pontus Dreij
2025-03-31 13:43:39 +00:00
Niclas Edenvin
e8148fdf21
Merged in fix/remove-modify-button (pull request #1674 )
...
Ancillaries shouldn't be modifiable
* Ancillaries shouldn't be modifiable
Approved-by: Pontus Dreij
2025-03-31 07:41:36 +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
Bianca Widstam
3c1eee88b1
Merged in feat/SW-1370/Guarantee-my-stay-ancillaries (pull request #1545 )
...
Feat/SW-1370/Guarantee my stay ancillaries
* feat(SW-1370): guarantee for ancillaries
* feat(SW-1370): remove console log
* feat(SW-1370): add translations
* feat(SW-1370): small fix
* feat(SW-1370): fix must be guaranteed
* feat(SW-1370): fix logic and comments pr
* feat(SW-1370): fix comments pr
* feat(SW-1370): fix comments pr
* feat(SW-1370): add translation
* feat(SW-1370): add translation and fix pr comment
* feat(SW-1370): fix pr comment
* feat(SW-1370): fix encoding path refId issue
* feat(SW-1370): refactor AddAncillaryStore usage and introduce context provider
* feat(SW-1370): refactor
* feat(SW-1370): refactor ancillaries
* feat(SW-1370): fix merge
Approved-by: Simon.Emanuelsson
2025-03-21 07:29:04 +00:00
Bianca Widstam
21aea22e48
Merged in fix/api-change-remove-points-packages (pull request #1547 )
...
Fix/api change remove points packages
* fix/remove-points
* fix: translate if points is currency
Approved-by: Niclas Edenvin
Approved-by: Simon.Emanuelsson
2025-03-17 10:59:17 +00:00
Michael Zetterberg
91c36ee41c
fix: clean up dictionaries
2025-03-13 08:29:48 +00:00
Niclas Edenvin
c88aa92aba
Merged in feat/SW-1371-delete-ancillary (pull request #1455 )
...
feat(SW-1371): delete ancillary
* feat(SW-1371): delete ancillary
* Remove outline from dialog
* Consistent return type from mutation
* Error flow
Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-03-04 14:22:15 +00:00
Niclas Edenvin
747201b0f7
Merged in feat/SW-1282-list-added-ancillaries (pull request #1416 )
...
Feat/SW-1282 list added ancillaries
* feat(sw-1282): add icon to accordionItem
* feat(sw-1282): list added ancillaries
* Change translation key to already existing
* Remove duplicate key
* Move new files to the new folder structure
Approved-by: Pontus Dreij
2025-02-27 22:01:11 +00:00