Commit Graph

3894 Commits

Author SHA1 Message Date
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
Arvid Norlin
d35a492c8d Merged in fix/ratecard-omnibus (pull request #1645)
fix: rename omnibusRate prop and enable for regular RateCard

Approved-by: Simon.Emanuelsson
2025-03-26 19:08:12 +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
Arvid Norlin
d5d00bea7a fix: rename omnibusRate prop and enable for regular RateCard 2025-03-26 13:50:52 +01: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
Arvid Norlin
c065101b7c Merged in fix/ratecard-adjustments (pull request #1638)
add transparent border to rateCard and make appoximateRate optional

* add transparent border to rateCard and make appoximateRate optional


Approved-by: Simon.Emanuelsson
2025-03-26 09:38:03 +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
cf3a903710 Merged in fix/default-loyalty-level-two-lines (pull request #1637)
fix: default loyalty levels to be two rows to be compatible with existing behaviour

Approved-by: Pontus Dreij
2025-03-26 09:07:23 +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
Tobias Johansson
adf81bf5c9 Merged in fix/ratecard-fixes (pull request #1633)
RateCard fixes

Approved-by: Simon.Emanuelsson
2025-03-25 19:38:30 +00:00
Tobias Johansson
310a5a7a68 fixes 2025-03-25 20:35:57 +01: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
Erik Tiekstra
c29d3c2f93 feat(SW-1907): Not rendering blocks when at least one filter is active on destination pages
Approved-by: Christian Andolf
2025-03-25 14:50:34 +00:00
Erik Tiekstra
93962e4c59 fix: Added altText_EN as fallback alt text before using title
Approved-by: Fredrik Thorsson
2025-03-25 12:50:29 +00:00
Christian Andolf
7dcdaa1f4f Merged in fix/LOY-160-utc-date-on-reward-expiry-time (pull request #1619)
fix(LOY-160): now parses and formats expiration date on rewards in utc

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-25 12:44:10 +00:00
Linus Flood
4cd6e7b55b Merged in fix/tracking-pageload-issues (pull request #1630)
fix(tracking): fixes not sending pageview events when promise isn't resolving

* fix(tracking): fixes not sending pageview events when promise isn't resolving

* Refactor


Approved-by: Anton Gunnarsson
2025-03-25 12:33:04 +00:00
Christian Andolf
7c62ea6971 fix(LOY-160): now parses and formats expiration date on rewards in utc 2025-03-25 13:32:02 +01:00
Christian Andolf
53a610913a Merged in fix/SW-1721-startpage-padding-adjustment (pull request #1626)
fix(SW-1721): change startpage padding between sections

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-25 12:31:30 +00:00
Christian Andolf
4c038b3e4d Merged in fix/LOY-206-add-missing-lang-input-transactions-query (pull request #1623)
fix(LOY-206): add missing lang input to friends transactions query, handles both server and client side

Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-25 12:27:02 +00:00
Niclas Edenvin
27efc09647 Merged in fix/breakfast (pull request #1629)
fix: Add type casting for room package codes

* fix: Add type casting for room package codes


Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-03-25 12:14:23 +00:00