Commit Graph

303 Commits

Author SHA1 Message Date
Anton Gunnarsson
93aafe5525 Merged in fix/lint-issues (pull request #1678)
Fix lint issues in design-system and scandic-web

* Remove unused color prop from LogoAndIllustrationProps to fix lint issues

* Fix lint issues in web

* Fix logos type


Approved-by: Joakim Jäderberg
2025-03-31 12:27:32 +00:00
Simon Emanuelsson
9d584887ad fix: add bookingCode to product 2025-03-31 13:53:29 +02:00
Pontus Dreij
b48053b8b4 Merged in feat(SW-2083)-missing-booking-codes-scenarios-my-stay (pull request #1680)
Feat(SW-2083) missing booking codes scenarios my stay

* feat(SW-2083) Show points instead of reward nights

* feat(SW-2083) added support for cheque and voucher for totalPrice


Approved-by: Niclas Edenvin
2025-03-31 11:42:47 +00:00
Tobias Johansson
7434f30c20 Merged in feat/SW-2033-implement-new-room-feature-request (pull request #1665)
feat(SW-2033): Added new route for fetching room features, and merged the data with existing availability data

* feat(SW-2033): Added new route for fetching room features, and merged the data with existing availability data

* fix: issue with total price not including room features

* fix: add return null

* fix

* fix

* fixes from PR feedback


Approved-by: Arvid Norlin
2025-03-31 11:20:49 +00:00
Simon Emanuelsson
81f579bbfe fix: publicpromotion needs to be handled differently since api use the same label for different thing 2025-03-31 09:21:54 +00:00
Michael Zetterberg
775c986f35 fix: update label for continue to payment 2025-03-31 08:22:58 +00:00
Christian Andolf
a2f943dfc5 Merged in chore/typing-debounce (pull request #1668)
chore: debounce function is now typed to accommodate typed parameters in a callback

Approved-by: Simon.Emanuelsson
2025-03-31 08:15:00 +00:00
Pontus Dreij
a8358de04a Merged in feat(SW-2084)-disable-options-modify-my-stay (pull request #1662)
feat(SW-2084) logic to disable Manage stay options

* feat(SW-2084) logic to disable Manage stay options

* feat(SW-2084) cleanup logic for checks

* feat(SW-2084) check if date has passed

* feat(SW-2084) change to datetimeIsInThePast


Approved-by: Niclas Edenvin
2025-03-31 07:44:46 +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
b86b9db22b Merged in fix/icon-color (pull request #1672)
fix: change to correct icon color

* fix: change to correct icon color


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-03-31 07:29:18 +00:00
Michael Zetterberg
8e86bbb4b9 fix: add suspense boundary for destination overview page map 2025-03-31 07:10:05 +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
Anton Gunnarsson
650dd79c26 Merged in fix/sw-2032-sas-flow-styling-issues (pull request #1669)
Fix styling issues in SAS flow

* Fix styling issues in SAS flow


Approved-by: Linus Flood
2025-03-28 14:30:04 +00:00
Anton Gunnarsson
f417599e12 Merged in fix/sas-partner-pages-icons (pull request #1667)
Add missing react-material-symbols import to partner layout

* Add missing react-material-symbols to partner layout


Approved-by: Linus Flood
2025-03-28 13:49:29 +00:00
Christian Andolf
32e769fd09 chore: debounce function is now typed to accommodate typed parameters in a callback 2025-03-28 14:40:36 +01:00
Pontus Dreij
7856d8c1f5 Merged in fix(SW-1796)-issues-with-datepicker (pull request #1631)
Fix(SW-1796) issues with datepicker

* feat(SW-1796) Refactor DatePicker for Range

* feat(SW-1796) cleanup

* feat(SW-1796) added const for dateClicked and now


Approved-by: Michael Zetterberg
Approved-by: Niclas Edenvin
2025-03-28 13:07:49 +00:00
Matilda Landström
a4df9596e0 Merged in fix/remove-0-length-country-page (pull request #1658)
fix: remove empty length

* fix: remove empty length


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-03-28 10:39:34 +00:00
Erik Tiekstra
8b198d9719 fix: Fixed openingHours util function as tests were failing
Approved-by: Anton Gunnarsson
2025-03-28 09:32:34 +00:00
Fredrik Thorsson
5ad209a8c7 Merged in fix/hide-label-on-room-card-gallery (pull request #1659)
fix(SW-1955): hide label on hotel page room card gallery

* fix(SW-1955): hide label on hotel page room card gallery


Approved-by: Erik Tiekstra
2025-03-28 09:19:50 +00:00
Anton Gunnarsson
b535b53901 Merged in feat/shared-ts-config (pull request #1610)
Add typescript-config package with shared configs

* Move web config to shared

* Move design-system ts config to typescript-config package

* Move redis-api tsconfig to typescript-config package

* Sort tsconfig keys

* Update react-library tsconfig

Move declaration and declarationMap from base
Add sourceMap

This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed

* Update base config module and moduleResolution


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-03-28 07:07:24 +00:00
Erik Tiekstra
45c992dcef feat(SW-1806): Implemented design systems button inside buttonLink component and changed teasercard buttons
Approved-by: Matilda Landström
2025-03-28 06:56:08 +00:00
Erik Tiekstra
2f0224cfd5 feat(SW-1712): Added a FilterIcon component where the identifier is matched to a specific icon
Approved-by: Matilda Landström
2025-03-28 06:46:57 +00:00
Fredrik Thorsson
726862dab4 Merged in fix/SW-2017-destination-pages-map-fix-zooming-issues (pull request #1634)
fix(SW-2017): fit bounds on first load

* fix(SW-2017): fit bounds on first load

* fix(SW-2017): rebase


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-27 16:04:06 +00:00
Anton Gunnarsson
df2fb49d1e Merged in fix/sw-1980-sas-comparison-block-link (pull request #1641)
Update link in SASTierComparison to use pageLink reference

* Update link in SASTierComparison to use pageLink reference


Approved-by: Linus Flood
2025-03-27 15:27:12 +00:00
Erik Tiekstra
a6cd7e6111 feat(SW-1988): Replaced current bed component with new design
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-27 14:47:50 +00:00
Bianca Widstam
a28fa67195 Merged in feat/SW-1996-tracking-gla-my-stay (pull request #1625)
Feat/SW-1996 tracking gla my stay

* feat(SW-1996): tracking gla my stay

* feat(SW-1996): update gla tracking

* feat(SW-1996): update gla tracking

* feat(SW-1996): fix comment

* feat(SW-1996): fix camelCase


Approved-by: Niclas Edenvin
Approved-by: Erik Tiekstra
2025-03-27 14:09:39 +00:00
Michael Zetterberg
65f75c11ef fix: improve loading on destination overview page
- Only load data from Contentstack
- Use static JSON for destination list
- Some logic improvements to data handling and types
2025-03-27 13:49:28 +00:00
Linus Flood
f010a6869a Merged in fix/preview-cache (pull request #1655)
feat(contentstack): use no cache if preview

* feat(contentstack): use no cache if preview


Approved-by: Anton Gunnarsson
2025-03-27 12:54:07 +00:00
Niclas Edenvin
8eec465afa Merged in feat/sw-1681-add-breakfast (pull request #1635)
Feat/sw-1681 add breakfast
This implements the add breakfast flow

Approved-by: Pontus Dreij
2025-03-27 12:40:54 +00:00
Linus Flood
bed490d79a Merged in fix/sitemap-function (pull request #1654)
feat(sitemap): change scheduled time

* feat(sitemap): change scheduled time


Approved-by: Erik Tiekstra
2025-03-27 12:31:28 +00:00
Erik Tiekstra
761c28bd92 fix: Added translations for carousel navigation
Approved-by: Matilda Landström
2025-03-27 12:10:38 +00:00
Linus Flood
0f9c9c2af8 Merged in feat/tracking-sessionId (pull request #1653)
Feat(tracking): add sessionId to all events. Fixed some invalid session bugs

* Feat(tracking): add sessionId to all events. Fixed some invalid session bugs


Approved-by: Anton Gunnarsson
2025-03-27 10:42:24 +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
Erik Tiekstra
93c7fe64bf feat(SW-1883): Added links to the filter values on the destination pages
Approved-by: Fredrik Thorsson
2025-03-27 09:06:31 +00:00
Fredrik Thorsson
992d24c753 Merged in fix/SW-2061-handle-zero-length (pull request #1648)
fix/SW-2061-handle-zero-length

* fix(SW-2061): avoid render a zero when no images


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-03-27 08:12:56 +00:00
Pontus Dreij
af2bbcddc3 Merged in fix(SW-2057)-My-stay-crashes-when-at-least-2-children-has-the-same-bed-type (pull request #1649)
feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay

* feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay


Approved-by: Niclas Edenvin
2025-03-27 07:35:02 +00:00
Erik Tiekstra
1429f7ec32 fix(SW-2029): Opening hours styling
Approved-by: Matilda Landström
2025-03-27 07:06:39 +00:00
Linus Flood
a1f539a810 Merged in fix/mystays-urls (pull request #1647)
Fix mystays url

* Fix mystays url


Approved-by: Michael Zetterberg
2025-03-26 13:17:08 +00:00
Linus Flood
3456235dd0 Merged in fix/destination-pages-cache-keys (pull request #1642)
Fix/destination pages cache keys

* fix(destionationpages): add tag to citydatabycityidentifier that should invalidate when publishing city

* Fixed building tag the same way and added comment why we need this extra tag


Approved-by: Erik Tiekstra
2025-03-26 13:04:18 +00:00
Linus Flood
ee741cc0e8 Merged in hotfix/mystays-url (pull request #1644)
Revert mystays booking url

* Revert mystays booking url


Approved-by: Michael Zetterberg
2025-03-26 13:01:14 +00:00
Linus Flood
ddefe2e59b Merged in fix/tracking-issue (pull request #1643)
Fix/tracking issue: add try/catch around promises

* Test

* Cleaning


Approved-by: Anton Gunnarsson
2025-03-26 12:59:59 +00:00
Erik Tiekstra
ca23589f88 feat(SW-2007): Added metadata for hotel subpages
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-26 10:36:58 +00:00
Christian Andolf
1c42639423 Merged in chore/LOY-175-remove-references-to-old-rewards (pull request #1519)
Chore/LOY-175 remove references to old rewards and refactor reward typing

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-26 09:08:11 +00:00
Christian Andolf
f272dde1ef chore: remove unused filter modal
remove old cms model

refactor reward types
2025-03-26 09:55:26 +01:00
Christian Andolf
45d57a9c89 fix(LOY-175): fix issues of getting correct expiration date on reward coupon 2025-03-26 09:55:26 +01:00
Christian Andolf
b86347b4f4 refactor(LOY-175): rewrite reward types according to new api endpoints 2025-03-26 09:55:26 +01:00
Christian Andolf
0ae4c5db17 chore(LOY-175): remove references to old reward endpoints 2025-03-26 09:55:26 +01:00
Christian Andolf
f2252ce0f7 fix: default loyalty levels to be two rows to be compatible with existing behaviour 2025-03-26 09:51:54 +01:00
Erik Tiekstra
4ff44311a9 feat(SW-1968): Alternate opening hours for restaurants
Approved-by: Matilda Landström
2025-03-26 08:04:37 +00:00
Fredrik Thorsson
10040dd424 Merged in fix/SW-1955-image-gallery-hide-room-label (pull request #1621)
fix(SW-1955): hide label on room sidepeek

* fix(SW-1955): hide label on room sidepeek


Approved-by: Erik Tiekstra
2025-03-25 18:43:51 +00:00