Commit Graph

3573 Commits

Author SHA1 Message Date
Linus Flood
c0cfa342cc Merged in hotfix/remove-membership-cards (pull request #1398)
hotfix: removed membership cards component

* hotfix: removed membership cards component


Approved-by: Bianca Widstam
2025-02-24 13:17:52 +00:00
Matilda Landström
59950678f3 Merged in feat/SW-1234-hotel-subpages (pull request #1387)
Feat(SW-1234): Prettify hotel subpages

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-02-24 12:44:00 +00:00
Pontus Dreij
76cd1945c4 Merged in feat(SW-1677)-my-stay-update-contact-user (pull request #1386)
Feat(SW-1677) my stay update contact user

* feat(SW-1677): Hide membersettings that doesnt match the booking

* feat(SW-1677) Edit my stay contact details as user


Approved-by: Linus Flood
2025-02-24 11:31:19 +00:00
Matilda Landström
49aaca9d28 Merged in fix/remove-translated-slugs (pull request #1390)
Fix(SW-1467): Remove translation of hotel page sidepeek slugs

* fix(SW-1467): remove translation of sidepeek slugs

* fix: update enums


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-02-24 09:09:07 +00:00
Matilda Landström
dda236aa82 Merged in feat/SW-1469-facility-cards (pull request #1393)
Feat(SW-1469): Add check if we should create facility cards

* fix(SW-1469): only create facility cards if supposed to


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-02-24 08:19:26 +00:00
Christian Andolf
ec00a598d2 Merged in fix/LOY-137-fetch-surprises-client (pull request #1363)
fix(LOY-137): now fetches surprises client side in intervals

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-21 14:59:56 +00:00
Christian Andolf
0ba71f205d fix(LOY-137): now fetches surprises client side in intervals 2025-02-21 15:37:59 +01:00
Linus Flood
a55737617c Merged in fix/pageloadtime-tracking (pull request #1391)
Revert pageloadtime tracking

* Revert pageloadtime tracking


Approved-by: Joakim Jäderberg
2025-02-21 14:34:17 +00:00
Anton Gunnarsson
204bbbbcd4 Merged in fix/sas-link-flow-links (pull request #1389)
Set correct links in SAS link flow

Approved-by: Joakim Jäderberg
2025-02-21 12:26:38 +00:00
Linus Flood
15dbeb9d46 Merged in feat/mypages-parallel-routes (pull request #1388)
feat: my profile - removed all parallel routes

* Removed all parallel routes on my-profile

* Fixed suspense

* Moved components into myprofile folder

* Turn off browser cache on myprofile

* Clear router cache when editing profile

* Clear route cache when adding new credit card

* PR fixes


Approved-by: Joakim Jäderberg
2025-02-21 11:24:46 +00:00
Niclas Edenvin
9cd648fd65 Merged in feat/sw-1513-anchoring-on-enter-details (pull request #1379)
feat(SW-1513): scroll to new section on enter details page

* feat(SW-1513): scroll to new section on enter details page


Approved-by: Simon.Emanuelsson
2025-02-21 09:13:29 +00:00
Pontus Dreij
a0286603db Merged in feat(SW-1275)-cancel-booking-my-stay (pull request #1376)
Feat(SW-1275) cancel booking my stay

* feat(SW-1276) UI implementation Desktop part 1 for MyStay

* feat(SW-1276) UI implementation Desktop part 2 for MyStay

* feat(SW-1276) UI implementation Mobile part 1 for MyStay

* refactor: move files from MyStay/MyStay to MyStay

* feat(SW-1276) Sidepeek implementation

* feat(SW-1276): Refactoring

* feat(SW-1276) UI implementation Mobile part 2 for MyStay

* feat(SW-1276): translations

* feat(SW-1276) fixed skeleton

* feat(SW-1276): Added missing translations

* feat(SW-1276) fixed translations

* feat(SW-1275) cancel modal

* feat(SW-1275): Mutate cancel booking

* feat(SW-1275) added translations

* feat(SW-1275) match current cancellationReason

* feat(SW-1275) Added modal for manage stay

* feat(SW-1275) Added missing icon

* feat(SW-1275) New Dont cancel button

* feat(SW-1275) Added preperation for Cancellation number

* feat(SW-1275): added --modal-box-shadow

* feat(SW-1718) Add to calendar

* feat(SW-1718) general add to calendar


Approved-by: Niclas Edenvin
2025-02-21 09:06:15 +00:00
Matilda Landström
8ed521de3f Merged in fix/SW-1693-subpage-check (pull request #1373)
Fix(SW-1693): Don't render hotel subpages if not supposed to

* fix(SW-1693): don't render hotel subpage if not supposed to


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-02-21 08:20:30 +00:00
Anton Gunnarsson
340f6d1714 Merged in feat/SW-1488-unlink-sas-account (pull request #1349)
Implement unlink SAS flow

Approved-by: Joakim Jäderberg
2025-02-20 15:09:06 +00:00
Chuma Mcphoy (We Ahead)
fc720b1dbc Merged in fix/carousel-tablet-scroll-behaviour (pull request #1382)
feat(SW-1699): Update Carousel component alignment to start

* feat(SW-1699): Update Carousel component alignment to start


Approved-by: Christian Andolf
2025-02-20 15:04:13 +00:00
Chuma Mcphoy (We Ahead)
6e12756ab5 Merged in fix/SW-1697-BAP-text (pull request #1384)
feat(SW-1697): more tilted scripted text for FullWidthCampaign component

* feat(SW-1697): more tilted scripted text for FullWidthCampaign component

* feat(SW-1697): add text transform to FullWidthCampaign title


Approved-by: Christian Andolf
2025-02-20 14:57:05 +00:00
Linus Flood
3d3c44fd7d Merged in fix/lang-switcher (pull request #1383)
fix: langswitcher - remove check if lang exists since it's handled already

* fix: langswitcher - remove check if lang exists since it's handled already
2025-02-20 10:24:43 +00:00
Joakim Jäderberg
00b94976b7 Merged in fix/hotel-subpage-unable-to-fetch (pull request #1381)
fix: was unable to fetch hotel subpage data, now uses the same function as when fetching a 'normal' hotel page

* fix: was unable to fetch hotel subpage data, now uses the same function as when fetching a 'normal' hotel page


Approved-by: Linus Flood
2025-02-20 10:05:26 +00:00
Anton Gunnarsson
7155165360 Merged in feat/SW-1266-implement-sas-link-account-endpoint (pull request #1332)
Implement API call to link SAS account

* Add endpoint to actually link SAS account linking

* add logging of error

* Refactor tocDate to getCurrentDateWithoutTime

Approved-by: Joakim Jäderberg
2025-02-20 08:55:10 +00:00
Linus Flood
21e564934d Merged in fix/preview-contentstack (pull request #1380)
* fix: preview in contentstack now works again


Approved-by: Joakim Jäderberg
2025-02-20 08:55:00 +00:00
Anton Gunnarsson
e75c714148 Merged in fix/SW-1695-clear-otp-password-on-error (pull request #1375)
Clear and focus OTP input on error

Approved-by: Joakim Jäderberg
2025-02-20 07:29:36 +00:00
Christian Andolf
7b15687f07 Merged in fix/scandic-friends-tablet-layout (pull request #1372)
fix: fix scandic friends block for tablet view

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-19 15:03:26 +00:00
Christian Andolf
220ce1e93b fix: change header level 2025-02-19 15:31:50 +01:00
Christian Andolf
f55ac3999a fix: preamble, title and scripted text has been corrected in sizes and rotate 2025-02-19 15:31:50 +01:00
Christian Andolf
9b88b9d1da fix: fix scandic friends block for tablet view 2025-02-19 15:31:50 +01:00
Joakim Jäderberg
0d6bbf7b78 Merged in fix/get-from-contentstack (pull request #1378)
* fix: include lang when fetching from contentstack


Approved-by: Matilda Landström
2025-02-19 14:28:10 +00:00
Chuma Mcphoy (We Ahead)
b6bf1b3ded Merged in refactor/SW-1669-carousel-cards-shadow (pull request #1370)
Refactor(SW-1669): Carousel Cards Enhancements

* feat(SW-1669): Enhance Filters component with scroll shadows and heart icon

* feat(SW-1669): Carousel peek next card

* fix(SW-1669): carousel review comments

* feat(SW-1669): Add left scroll shadow to TabFilters component

* refactor(SW-1669): Simplify TabFilters shadow styling

* refactor(SW-1669): Adjust TabFilters shadow width

* refactor(SW-1699): Remove unused import from enter details store


Approved-by: Christian Andolf
2025-02-19 12:46:22 +00:00
Tobias Johansson
59eefb877e Merged in feat/SW-1077-enter-details-edit-room (pull request #1360)
Feat/SW-1077 enter details edit room

* feat(SW-1077): persist state when changing rooms

* fix: issue with step state when closing accordion and transition to correct room when modifying step


Approved-by: Pontus Dreij
2025-02-19 10:03:11 +00:00
Joakim Jäderberg
873183ec2f * move setLang() to a root layout
* fix: findLang only returns acceptable languages
* fix: fallback to use header x-lang if we haven't setLang yet
* fix: languageSchema, allow uppercase

Approved-by: Linus Flood
2025-02-19 09:06:37 +00:00
Linus Flood
d27163a915 Merged in feat/auth-refresh-token-time (pull request #1345)
feat: auth - changed the time left before we trying to refresh the token

* feat: auth - changed the time left before we trying to refresh the token


Approved-by: Joakim Jäderberg
2025-02-19 09:00:30 +00:00
Linus Flood
7c0f9084b6 Merged in feat/refactor-header-footer-sitewidealert (pull request #1374)
Refactor: removed parallel routes for header, footer and sidewidealert. Langswitcher and sidewidealert now client components

* feat - removed parallel routes and made sidepeek and sitewidealerts as client components

* Langswitcher as client component

* Fixed lang switcher for current header

* Passing lang when fetching siteconfig

* Merge branch 'master' into feat/refactor-header-footer-sitewidealert

* Refactor

* Removed dead code

* Show only languages that has translation

* Refetch sitewidealert every 60 seconds

* Merge branch 'master' into feat/refactor-header-footer-sitewidealert

* Removed sidepeek parallel route from my-stay

* Added missing env.var to env.test

* Removed console.log


Approved-by: Joakim Jäderberg
2025-02-19 08:59:24 +00:00
Linus Flood
c2b7d97ddd Merged in fix/card-width-fix (pull request #1369)
feat(images): calculate width correct using aspect ratio

* feat(images): calculate width correct using aspect ratio


Approved-by: Erik Tiekstra
2025-02-19 06:29:22 +00:00
Matilda Landström
ba3ecedaee Merged in feat/SW-1447-selected-hotel-map-component (pull request #1340)
Feat(SW-1447): hotel map card destination page

Approved-by: Erik Tiekstra
2025-02-18 19:05:31 +00:00
Christian Andolf
cd8b2e4b73 Merged in fix/SW-1671-align-usp-items-scandic-friends (pull request #1371)
fix(SW-1671): align heart markers to the top

Approved-by: Erik Tiekstra
2025-02-18 14:45:28 +00:00
Erik Tiekstra
2781a41110 Merged in feat/SW-1443-card-gallery-destination-overview (pull request #1362)
feat(SW-1443): added cardGallery block to destination overview page instead of carousel functionality

* feat(SW-1443): added cardGallery block to destination overview page instead of carousel functionality


Approved-by: Fredrik Thorsson
2025-02-18 14:42:36 +00:00
Christian Andolf
f14eb05262 Merged in fix/LOY-95-localize-country-names (pull request #1364)
fix(LOY-95): localize and sort country names in select

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-18 14:31:00 +00:00
Christian Andolf
8462b17cdd fix(SW-1671): align heart markers to the top
make sure usp lists are evenly squared columns
2025-02-18 15:28:36 +01:00
Pontus Dreij
8616e4ab76 Merged in feat/SW-1276-implement-design (pull request #1348)
Feat/SW-1276 implement design

* feat(SW-1276) UI implementation Desktop part 1 for MyStay

* feat(SW-1276) UI implementation Desktop part 2 for MyStay

* feat(SW-1276) UI implementation Mobile part 1 for MyStay

* refactor: move files from MyStay/MyStay to MyStay

* feat(SW-1276) Sidepeek implementation

* feat(SW-1276): Refactoring

* feat(SW-1276) UI implementation Mobile part 2 for MyStay

* feat(SW-1276): translations

* feat(SW-1276) fixed skeleton

* feat(SW-1276): Added missing translations

* feat(SW-1276): Removed console log

* feat(SW-1276) fixed translations

* feat(SW-1276): Added translations

* feat(SW-1276) fix dynamic ID:s

* feat(SW-1276) removed createElement

* feat(SW-1276): Fixed build errors

* feat(SW-1276): Updated label

* feat(SW-1276): Rewrite SummaryCard


Approved-by: Niclas Edenvin
2025-02-18 14:20:54 +00:00
Pontus Dreij
90fee1b0c4 Merged in fix/get-booking-as-user (pull request #1366)
Fix: Use session.token.access_token if session exists in booking confirmation, else use serviceToken

* Fix: Added service token to safeProtectedProcedure

* fix: use of safeProtectedServiceProcedure


Approved-by: Michael Zetterberg
2025-02-18 11:42:18 +00:00
Chuma Mcphoy (We Ahead)
9ca7330d74 Merged in refactor/SW-1679-reset-scroll-state-on-new-filter-selections (pull request #1367)
feat(SW-1679): Add key prop to Carousel to reset on filter change

* feat(SW-1679): Enhance SectionHeader and Carousel component in CarouselCards

* Add headingLevel and headingAs props to SectionHeader
* Add key prop to Carousel to reset on filter change


Approved-by: Christian Andolf
2025-02-18 10:22:44 +00:00
Matilda Landström
102381fdeb Merged in fix/facilities-zod-validation (pull request #1365)
Fix: Facilities zod validation

* fix: zod validation


Approved-by: Pontus Dreij
Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-02-18 09:36:27 +00:00
Pontus Dreij
26a0bda6db Merged in fix/breakfast-card (pull request #1352)
fix: showing "undefined" if ancillary.price.text was undefined

* fix: showing "undefined" if ancillary.price.text was undefined


Approved-by: Tobias Johansson
2025-02-18 08:55:37 +00:00
Bianca Widstam
29bf586cc7 Merged in feat/SW-1680-listing-ancillaries-mobile (pull request #1357)
feat(SW-1680): add carousel design for mobile

* feat(SW-1680): add carousel design for mobile

* feat(SW-1680): adjust design

* feat(SW-1680): adjust responsive design


Approved-by: Pontus Dreij
Approved-by: Simon.Emanuelsson
2025-02-18 07:28:57 +00:00
Christian Andolf
9a443a9cb0 fix(LOY-95): localize and sort country names in select 2025-02-17 17:46:35 +01:00
Pontus Dreij
e360f9b926 Merged in fix/SW-1329-fix-height-select-rate-card (pull request #1351)
Fix (SW-1329): Height on room card title

* Fix (SW-1329): Height on room card title


Approved-by: Bianca Widstam
2025-02-17 14:41:16 +00:00
Christian Andolf
0b9298027c Merged in feat/LOY-135-change-redeem-desc-to-rte (pull request #1350)
feat(LOY-135): change redeem description to be RTE

Approved-by: Erik Tiekstra
2025-02-17 14:12:16 +00:00
Christian Andolf
a192d32f7e feat(LOY-135): change redeem description to be RTE 2025-02-17 15:05:32 +01:00
Anton Gunnarsson
9b61417264 Merged in fix/sw-1664-sas-link-otp-error-handling (pull request #1354)
Update SAS OTP error handling

Approved-by: Joakim Jäderberg
2025-02-17 11:40:00 +00:00
Erik Tiekstra
c93381ca80 Merged in feat/SW-550-sitemap (pull request #981)
feat(SW-550): added sync functionality and sitemap generation

* feat(SW-550): added sync functionality and sitemap generation

* feat(SW-550): Added support for splitting and saving multiple sitemaps when there are 50000+ urls

* feat(SW-550): Updates after PR

* feat(SW-550): Added locale to sitemap data

* feat(SW-550): Added support for locale based sitemapData

* feat(SW-550): Saving alternates of sitemap entries

* feat(SW-550): Refactoring to use sitemap utils file

* feat(SW-550): Using Netlify.env to get environment variables

* feat(SW-550): clarify use of functions


Approved-by: Michael Zetterberg
2025-02-17 10:35:11 +00:00
Christian Andolf
577271c577 Merged in chore/no-unused-vars-lint-rule (pull request #1339)
chore: add no unused vars lint rule

Approved-by: Michael Zetterberg
2025-02-17 09:54:33 +00:00