Commit Graph

3969 Commits

Author SHA1 Message Date
Christian Andolf
5e98ffe38d fix(SW-1942): fixed find my booking to be case-insensitive on form input 2025-03-17 16:07:23 +01:00
Christian Andolf
38f3b0e6a4 Merged in fix/access-booking-fixes (pull request #1550)
fix: add some more informative messages when booking cant be accessed

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-17 14:54:37 +00:00
Linus Flood
f183125bc6 Merged in fix/cache-fixes (pull request #1555)
fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete

* fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete


Approved-by: Anton Gunnarsson
2025-03-17 14:39:59 +00:00
Erik Tiekstra
c5ad3cba34 feat(SW-1940): Added functionality to see hotel on map from city pages
Approved-by: Fredrik Thorsson
2025-03-17 13:18:38 +00:00
Erik Tiekstra
05addfa0bb feat(SW-1885): Added noindex/nofollow to pages with searchparams when generating metadata to avoid duplicate content issues
Approved-by: Linus Flood
2025-03-17 13:15:13 +00:00
Christian Andolf
b65bdce277 fix: add some more informative messages when booking cant be accessed
upped cookie length from 30 seconds to 10 minutes

added default values to prevent the default required error message to appear in form
2025-03-17 14:09:08 +01:00
Chuma Mcphoy (We Ahead)
e530905d8d Merged in fix/filter-modal-translations (pull request #1527)
Fix(LOY-55): Add missing reward filter modal translations

* fix(SW-1842): Add translations for reward categories

* fix: update Norwegian translation for copyright notice


Approved-by: Christian Andolf
2025-03-17 12:12:53 +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
Simon.Emanuelsson
1d49b834ff Merged in feat/SW-1353 (pull request #1513)
feat: add multiroom tracking to booking flow

Approved-by: Linus Flood
2025-03-17 09:35:12 +00:00
Erik Tiekstra
aca3c7f398 feat(SW-1712): Preperation to accept multiple different icon identifiers for filters on startpage and destination overview page
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-17 08:58:29 +00:00
Simon Emanuelsson
1812591903 feat: add multiroom tracking to booking flow 2025-03-17 09:47:42 +01:00
Fredrik Thorsson
c99060363c Merged in fix/SW-1898-mobile-hotel-map-card-list (pull request #1537)
fix/SW-1898-mobile-hotel-map-card-list

* fix(SW-1898): call reInit


Approved-by: Erik Tiekstra
2025-03-17 07:53:32 +00:00
Fredrik Thorsson
8f0763285c Merged in fix/SW-1895-update-hotel-listning-to-show-all (pull request #1535)
fix(SW-1895): always display full list of cities or countries

* fix(SW-1895): always display full list of cities or countries


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-03-17 07:45:12 +00:00
Erik Tiekstra
ca93046aad feat/SW-550 sitemap route
* feat(SW-550): Added rewrites to handle sitemap paths

* feat(SW-550): Added sitemap-index generation

* feat(SW-550): Added sitemap xml file generation

* feat(SW-550): Added feature flag 'HIDE_FOR_NEXT_RELEASE' to sitemap routes


Approved-by: Linus Flood
2025-03-17 07:17:08 +00:00
Linus Flood
f0b245bdfe Merged in fix/cache-time-test-env (pull request #1544)
fix: lower cache time in test env

* fix: lower cache time in test env


Approved-by: Erik Tiekstra
2025-03-17 07:02:15 +00:00
Linus Flood
f17406d34f Merged in fix/reward-remove-cache (pull request #1542)
fix(reward): remove cache from profile service

* fix(reward): remove cache from profile service


Approved-by: Anton Gunnarsson
2025-03-14 14:38:38 +00:00
Michael Zetterberg
f7e100d45c fix: translation mapping typos 2025-03-14 15:11:49 +01:00
Michael Zetterberg
33239f1f91 feat(SW-1730): add button to room sidepeek on hotelpage to select rate page for the hotel 2025-03-14 13:57:26 +00:00
Arvid Norlin
540402b969 Merged in feat/SW-1813 (pull request #1516)
Feat/SW-1813

* feat(SW-1652): handle linkedReservations fetching

* feat: add linkedReservation retry functionality

* chore: align naming

* feat(SW-1813): Add booking confirmation PriceDetailsModal


Approved-by: Simon.Emanuelsson
2025-03-14 13:49:22 +00:00
Michael Zetterberg
66682be4d2 fix: types for timer in platform agnostic way 2025-03-14 13:15:11 +00:00
Linus Flood
f954deaf22 Merged in fix/delete-fuzzy (pull request #1538)
Support for delete keys fuzzy

* Support for delete keys fuzzy

* Added some logs


Approved-by: Anton Gunnarsson
2025-03-14 12:50:34 +00:00
Tobias Johansson
c0b543f18d Merged in feat/SW-1437-price-change-scenario (pull request #1532)
Feat/SW-1437 price change scenario

* wip price change scenario

* feat(SW-1437): added updated room prices to summary

* fix: spinner not centered on page

* fix: feedback fixes


Approved-by: Arvid Norlin
Approved-by: Simon.Emanuelsson
2025-03-14 12:39:50 +00:00
Bianca Widstam
abd401c4f4 Merged in feat/SW-1368-1369-Guarantee-late-arrival (pull request #1512)
Feat/SW-1368 1369 Guarantee late arrival

* feat(SW-1368-SW-1369): guarantee late arrival for confirmation page and my stay

* feat(SW-1368-SW-1369): guarantee late arrival updated design

* feat(SW-1368-SW-1369): add translations

* feat(SW-1368-SW-1369): add translations

* feat(SW-1368-SW-1369): fix merge with master

* feat(SW-1368-SW-1369): add translations

* feat(SW-1368-SW-1369): add redirect with refId

* feat(SW-1368-SW-1369): if booking completed redirect to confirmation page

* feat(SW-1368-SW-1369): fix comments pr

* feat(SW-1368-SW-1369): fix comments pr

* feat(SW-1368-SW-1369): fix rebase master

* feat(SW-1368-SW-1369): fix duplicate flex rate check

* feat(SW-1368-SW-1369): if any room is flex, card must be used

* feat(SW-1368-SW-1369): move callback route

* feat(SW-1368-SW-1369): top align checkbox

* feat(SW-1368-SW-1369): top align checkbox


Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
2025-03-14 10:43:14 +00:00
Linus Flood
8ca862e32c Merged in fix/netlify-function-sitemap (pull request #1536)
fix: sitemap netlify function now running

* fix: sitemap netlify function now running

* Merge branch 'master' into fix/netlify-function-sitemap


Approved-by: Bianca Widstam
2025-03-14 08:51:48 +00:00
Anton Gunnarsson
dabfe0424b Merged in fix/update-my-pages-sas-url (pull request #1533)
Update My Pages SAS url

* Update My Pages SAS url


Approved-by: Linus Flood
2025-03-14 08:31:19 +00:00
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