Joakim Jäderberg
fa63b20ed0
Merged in feature/redis (pull request #1478 )
...
Distributed cache
* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy
* merge
* remove debug logs and cleanup
* cleanup
* add fault handling
* add fault handling
* add pid when logging redis client creation
* add identifier when logging redis client creation
* cleanup
* feat: add redis-api as it's own app
* feature: use http wrapper for redis
* feat: add the possibility to fallback to unstable_cache
* Add error handling if redis cache is unresponsive
* add logging for unstable_cache
* merge
* don't cache errors
* fix: metadatabase on branchdeploys
* Handle when /en/destinations throws
add ErrorBoundary
* Add sentry-logging when ErrorBoundary catches exception
* Fix error handling for distributed cache
* cleanup code
* Added Application Insights back
* Update generateApiKeys script and remove duplicate
* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis
* merge
Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00
Fredrik Thorsson
a8304e543e
Merged in fix/SW-1763-clustering-pins-on-filtering-city-map (pull request #1520 )
...
fix/SW-1763 clustering pins on filtering city map
* fix(SW-1763): uncluster when filter is applied
* fix(SW-1763): pass active filters as prop
* fix(SW-1763): change prop type to boolean
Approved-by: Erik Tiekstra
2025-03-13 15:21:18 +00:00
Anton Gunnarsson
29f0eb4f21
Merged in feat/sw-1732-trigger-tier-match (pull request #1408 )
...
SW-1732 Trigger SAS tier match
* Add endpoint for SAS tier match
* Add comment about future fix
* Move tier match to background request on my-pages/*
* Log result from tier match
* Clean up name etc
* Fix tier matched toast
Approved-by: Joakim Jäderberg
2025-03-13 14:12:31 +00:00
Erik Tiekstra
4df5e52a92
feat(SW-1230): Now hiding booking widget on meeting pages
...
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-13 11:41:31 +00:00
Michael Zetterberg
065ebb57c6
fix: more label fixes
2025-03-13 10:25:05 +01:00
Erik Tiekstra
a1303d3dae
feat(SW-1846): Added query to fetch metadata on start page
...
* feat(SW-1846): Added query to fetch metadata on start page
Approved-by: Matilda Landström
2025-03-13 09:11:30 +00:00
Michael Zetterberg
91c36ee41c
fix: clean up dictionaries
2025-03-13 08:29:48 +00:00
Christian Andolf
1a8a57599c
fix: encoding find my booking cookie since next decodes when parsing
...
this is done in order to handle emails containing plus signs
2025-03-13 08:28:03 +00:00
Chuma Mcphoy (We Ahead)
550474dffe
Merged in feat/SW-1909-update-adobe-on-language-change (pull request #1526 )
...
feat(SW-1909): Fix Adobe Data Layer not updating during language changes
* feat(SW-1909): Update Tracking on language changes
Approved-by: Linus Flood
2025-03-13 08:25:50 +00:00
Michael Zetterberg
bb599d4679
fix: update readme for design system
2025-03-13 07:32:59 +00:00
Erik Tiekstra
d50cf829e6
feat(SW-1842): Making the navigation links in the header render in the initial HTML for SEO purposes
...
* feat(SW-1842): Making the navigation links in the header render in the initial HTML for SEO purposes
Approved-by: Fredrik Thorsson
2025-03-12 15:16:06 +00:00
Erik Tiekstra
689e9d72cb
fix(SW-1886): Removed "firstItem" props from blocks as it generates multiple h1 tags on those pages
...
* feat(SW-1886): Removed "firstItem" props from blocks as it generates multiple h1 tags on those pages
Approved-by: Fredrik Thorsson
Approved-by: Simon.Emanuelsson
2025-03-12 14:09:20 +00:00
Joakim Jäderberg
b472854243
Merged in fix/branch-deploy-metadata (pull request #1522 )
...
fix: fallback to undefined when no PUBLIC_URL
* fix: fallback to undefined when no PUBLIC_URL
Approved-by: Linus Flood
2025-03-12 13:58:29 +00:00
Chuma Mcphoy (We Ahead)
1ef6fd02c1
Merged in feat/LOY-55-Filter-Modal (pull request #1509 )
...
feat(LOY-55): Add FilterRewardsModal
* feat(LOY-55): Add rewards filtering functionality
- Implement dynamic rewards filtering by category and membership level
- Create FilterRewardsModal component for filtering rewards
- Add useFilteredRewards hook to handle filtering logic
- Update rewards schema and constants to support new filtering features
- Remove hardcoded page size and replace with constant
* fix(LOY-55): reuse existing tier to friend map
* refactor(LOY-55): fix checkbox onChange type safety
* refactor(LOY-55): Improve rewards filtering type safety and validation
* refactor(LOY-55): Update filter modal border color using design token
Approved-by: Christian Andolf
2025-03-12 13:29:35 +00:00
Erik Tiekstra
2e887aaff8
fix(SW-375): moved fonts to _static folder
...
* fix(SW-375): moved fonts to _static folder
Approved-by: Michael Zetterberg
2025-03-12 12:45:40 +00:00
Erik Tiekstra
198f0da748
feat(SW-1888): Removed link from tripadvisor text on hotel pages
...
* feat(SW-1888): Removed link from tripadvisor text on hotel pages
Approved-by: Fredrik Thorsson
2025-03-12 10:39:12 +00:00
Tobias Johansson
ad05f792fb
Merged in feat/SW-1078-rate-terms-scenarios (pull request #1500 )
...
feat(SW-1078): mixed rate scenario
* feat(SW-1078): mixed rate scenario
* fix: change from css string modification to array join
* refactor: split out big reduce function into smaller parts
* fix: minor fixes and improvments
* fix: added room index map to localization string
Approved-by: Christian Andolf
2025-03-12 10:34:35 +00:00
Anton Gunnarsson
01740e3300
Merged in feat/turborepo (pull request #1451 )
...
Turborepo
Approved-by: Linus Flood
2025-03-12 08:18:38 +00:00
Christian Andolf
796112ca28
Merged in feat/LOY-154-add-expiration-date-to-rewards (pull request #1506 )
...
feat(LOY-154): add expiration date to rewards
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-12 07:39:03 +00:00
Matilda Landström
b3a3933a02
Merged in feat/SW-1790-mobile-city-map (pull request #1497 )
...
Feat/SW-1790 : Mobile city destination map
Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-03-11 16:26:49 +00:00
Christian Andolf
b45157818f
feat(LOY-154): add expiration date to rewards
2025-03-11 16:25:33 +01:00
Linus Flood
7563db9dbc
Merged in fix/intl-global-error (pull request #1510 )
...
Fix: Error message when copy fail. Null check on localstorage. Removed Intl from global-error.tsx
* Error message if failed to copy
* Use try/catch instead
Approved-by: Joakim Jäderberg
2025-03-11 10:49:56 +00:00
Erik Tiekstra
2ef2b2e28d
Merged in feat/SW-1230-meeting-booking-widget (pull request #1507 )
...
feat(SW-1230): Added meeting booking widget to hotel meeting pages
* feat(SW-1230): Added meeting booking widget to hotel meeting pages
Approved-by: Fredrik Thorsson
2025-03-11 06:33:04 +00:00
Erik Tiekstra
67004e5904
feat(SW-1864): Removed map functionality from country pages
...
* feat(SW-1864): Removed map functionality from country pages
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-10 13:14:09 +00:00
Tobias Johansson
7c233ab846
Merged in feat/SW-1076-no-room-availability (pull request #1467 )
...
Feat/SW-1076 no room availability
* fix: update booking error codes
* feat(SW-1076): handle no room availabilty on enter-details
* fix: parse to json in api mutation instead of expecting json
* fix: remove 'isComplete' state from sectionAccordion because it was not needed
Approved-by: Simon.Emanuelsson
2025-03-10 12:13:15 +00:00
Erik Tiekstra
131cbfcda3
Merged in feat/SW-1845-metadata-hreflang (pull request #1504 )
...
feat(SW-1845): Added alternates to metadata
* feat(SW-1845): Added alternates to metadata
Approved-by: Linus Flood
2025-03-10 10:15:02 +00:00
Anton Gunnarsson
393546d35d
Merged in feat/sw-1291-show-sas-membership-data (pull request #1503 )
...
Show SAS membership data in Linked Accounts
* Rip out old styling
* Desktop version of new linked accounts design
* Use new design system tokens
* Refactor SASLinkedAccount to handle all states
* Improve small screen styling
* Add intl etc
* Skeletons
* Tiny fixes
* Add i18n keys to all languages
Approved-by: Linus Flood
2025-03-10 10:13:18 +00:00
Christian Andolf
9280bb3f1c
Merged in feat/SW-1710-access-checks-my-stay (pull request #1486 )
...
feat(SW-1710): add access checks to my stay page for viewing booking
Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Pontus Dreij
2025-03-10 09:25:18 +00:00
Christian Andolf
e2a76736b9
fix(SW-1710): add missing prop
2025-03-10 10:10:05 +01:00
Linus Flood
183a6476e7
Merged in fix/check-valid-session (pull request #1502 )
...
Fix/check valid session
* fix:session - check if valid session
* Refactor
Approved-by: Joakim Jäderberg
2025-03-10 09:06:23 +00:00
Erik Tiekstra
19bb965298
Merged in feat/SW-1745-language-switcher-non-contentstack-pages (pull request #1501 )
...
feat(SW-1745): Query for language switcher returns just current pathname for non-contentstack pages except for hotelreservation paths
* feat(SW-1745): Query for language switcher returns just current pathname for non-contentstack pages except for hotelreservation paths
Approved-by: Linus Flood
2025-03-10 09:06:19 +00:00
Christian Andolf
af08b3277d
fix(SW-1710): use access object references instead
...
correct incorrect test that granted access incorrectly
2025-03-10 09:45:57 +01:00
Christian Andolf
b0df70e552
feat(SW-1710): add access checks to my stay page for viewing booking
2025-03-10 09:45:56 +01:00
Tobias Johansson
1009ea87c9
Merged in fix/SW-1686-show-correct-room-availabilty-number (pull request #1491 )
...
fix: filter to only show available rooms in roomFilter
* fix: filter to only show available rooms in roomFilter
Approved-by: Niclas Edenvin
2025-03-10 08:32:14 +00:00
Fredrik Thorsson
44c9a15ea9
Merged in fix/SW-1831-accordion-error-key-prop-is-missing (pull request #1496 )
...
fix(SW-1831): add fragment
* fix(SW-1831): add fragment
* fix(SW-1831): move fragment to nodesToHtml
* fix(SW-1831): remove import
* fix(SW-1831): add getUniqueId
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-03-10 08:03:07 +00:00
Chuma Mcphoy (We Ahead)
b6ee3664f0
Merged in feat/SW-394-tracking-start-page (pull request #1499 )
...
fix(SW-394): Tweak start page tracking config
* fix(SW-375): Update start page tracking config
* Rename tracking channel from 'start-page' to 'homepage'
* Simplify tracking properties for start page
* Standardize tracking data structure
Approved-by: Erik Tiekstra
Approved-by: Christian Andolf
2025-03-10 07:34:27 +00:00
Erik Tiekstra
d45487a3c7
fix(SW-1830): Adjusted schemas for city and country pages to accept less data
...
* fix(SW-1830): Adjusted schemas for city and country pages to accept less data
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-08 07:53:39 +00:00
Christian Andolf
63ea994f43
Merged in fix/LOY-145-no-confirm-close-on-pos-rewards (pull request #1492 )
...
fix(LOY-145): no confirm close box after redeeming pos rewards
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-07 14:58:52 +00:00
Pontus Dreij
2509794d0c
Merged in feat/SW-1676-modify-contact-details-my-stay-anonymous (pull request #1468 )
...
Feat/SW-1676 modify contact details my stay anonymous
* feat(SW-1676): Modify guest details step 1
* feat(SW-1676) Integration to api to update guest details
* feat(SW-1676) Reuse of old modal
* feat(SW-1676) updated modify guest
* feat(SW-1676) cleanup
* feat(SW-1676) updated myStayReturnRoute to sessionStorage
Approved-by: Niclas Edenvin
2025-03-07 13:41:25 +00:00
Joakim Jäderberg
2c7d72c540
Merged in fix/switch-to-useQuery-over-useSuspenseQuery (pull request #1495 )
...
fix: switch to using useQuery over useSuspenseQuery for booking widget
* fix: switch to using useQuery over useSuspenseQuery for booking widget
Approved-by: Linus Flood
2025-03-07 13:37:15 +00:00
Arvid Norlin
ec60e9abdd
Merged in feat/SW-1652-confirmation-page (pull request #1483 )
...
Feat/SW-1652 confirmation page
* feat(SW-1652): handle linkedReservations fetching
* fix: add missing translations
* feat: add linkedReservation retry functionality
* chore: align naming
Approved-by: Simon.Emanuelsson
2025-03-07 12:47:04 +00:00
Erik Tiekstra
7fa86a2077
Merged in feat/SW-1555-jobylon-feed-filter (pull request #1494 )
...
Feat/SW-1555 jobylon feed filter
* feat(SW-1555): Added jobylon feed component
* feat(SW-1555): Added filter functionality for Jobylon feed
Approved-by: Matilda Landström
2025-03-07 11:46:42 +00:00
Fredrik Thorsson
c3be694874
Merged in fix/SW-1743-navigation-fixes (pull request #1487 )
...
fix(SW-1743): prevent scrolling
* fix(SW-1743): prevent scrolling
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-03-07 09:37:48 +00:00
Hrishikesh Vaipurkar
585cfdd684
feat: SW-1583 Optmized after rebase
2025-03-07 09:08:19 +00: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
f6db5f2732
feat: SW-1583 Fixed rebase issue
2025-03-07 09:08:18 +00:00
Hrishikesh Vaipurkar
5058180c41
feat: SW-1583 Implemented Reward nights on city search
2025-03-07 09:08:18 +00:00
Hrishikesh Vaipurkar
51b70f3032
feat: SW-1583 Enabled reward night in booking widget
2025-03-07 09:08:18 +00:00
Michael Zetterberg
6232ded991
feat(SW-375): consume new tokens in scandic-web
2025-03-07 07:24:38 +00:00