Commit Graph

3592 Commits

Author SHA1 Message Date
Fredrik Thorsson
667cab6fb6 Merged in feat/SW-1292-scandic-go-breakfast-information (pull request #1407)
feat/SW-1292-scandic-go-breakfast-information

* feat(SW-1292): display breakfast information for scandic go


Approved-by: Erik Tiekstra
2025-02-26 08:10:33 +00:00
Bianca Widstam
541b91e34c Merged in feat/SW-1281-ancillaries-add-flow (pull request #1399)
Feat/SW-1281 ancillaries add flow

* feat(SW-1546): update design

* feat(SW-1546): show points only if logged in

* feat(SW-1546): always show points

* feat(SW-1281): ancillary add flow initial

* feat(SW-1546): add api call

* feat(SW-1281): refactor naming and break out components

* feat(SW-1281): handle back button

* feat(SW-1281): make mobile cards clickable

* feat(SW-1281): refactor spread ancillaries

* feat(SW-1281): add deliverytimes

* feat(SW-1281): rebase master

* feat(SW-1281): add design for logged in or not

* feat(SW-1281): add design

* feat(SW-1281): add mobile design

* feat(SW-1281): fix carousel

* feat(SW-1281): show deliverytime only if ancillary has not been added

* feat(SW-1281): add design

* feat(SW-1281): add translations

* feat(SW-1281): add translations

* feat(SW-1281): add translations

* feat(SW-1281): base dates on check in date only

* feat(SW-1281): fix show correct toast when no valid data

* feat(SW-1281): hande logic if deliverytime is not required

* feat(SW-1281): fix max width for mobile

* feat(SW-1281): refactor after pr comment


Approved-by: Niclas Edenvin
Approved-by: Linus Flood
2025-02-26 07:20:45 +00:00
Chuma Mcphoy (We Ahead)
341f0c54ed Merged in fix/SW-1733-start-page-enhancements-and-fixes (pull request #1415)
Fix/SW-1733 start page enhancements and fixes

* fix: simplify carousel navigation and grid layout styling and fix padding issue

* refactor(SW-1733): replace Preamble with Body component in JoinScandicFriends

* refactor(SW-1733): update FullWidthCampaign button width styling

* feat(SW-1733): Add gradient overlay to FullWidthCampaign component

* refactor(SW-1733): Simplify FullWidthCampaign button props

* refactor(SW-1733): Remove redundant button wrapper divs in FullWidthCampaign

* refactor(SW-1733): Adjust FullWidthCampaign button wrapper min-width responsively


Approved-by: Christian Andolf
2025-02-25 16:41:02 +00:00
Michael Zetterberg
6908cee0c5 fix: search params passed to Link overrides current search params
This changes the behavior of Link prop `keepSearchParams`. Previously it got
implicitly merged. Now, any search params in the given `href` prop to Link will
override any current search params available on the current page.

Handle the merging use case (if there is any) in the components that passes the
href to render Link.
2025-02-25 16:07:27 +01:00
Erik Tiekstra
bc50dcf286 Merged in fix/SW-1754-overview-page-rate-limit (pull request #1412)
fix(SW-1754): Fix rate limit issue on Destination Overview Page

* fix(SW-1754): Fix rate limit issue on Destination Overview Page


Approved-by: Matilda Landström
2025-02-25 14:40:31 +00:00
Erik Tiekstra
3867baadd6 Merged in feat/SW-1452-city-page-filter-2 (pull request #1392)
feat(SW-1452): Added filtering and sorting to destination city pages

* feat(SW-1452): Added filtering and sorting to destination city pages

* feat(SW-1452): Added temporary component for country pages to avoid Context issues


Approved-by: Matilda Landström
2025-02-25 13:02:38 +00:00
Linus Flood
8a564274c5 Merged in fix/bookingwidget-skeleton (pull request #1409)
fix: bookingwidget skeleton - hide if not enabled

* fix: bookingwidget skeleton - hide if not enabled


Approved-by: Michael Zetterberg
2025-02-25 12:46:18 +00:00
Tobias Johansson
27d587965a Merged in fix/SW-1604-member-price-popup (pull request #1400)
fix: dont show member price modal if user is logged in

* fix: dont show member price modal if user is logged in


Approved-by: Michael Zetterberg
2025-02-25 12:23:05 +00:00
Linus Flood
75a4219f31 Merged in fix/children-availability-fix-2 (pull request #1406)
fix: availability - correct children string

* fix: availability - correct children string


Approved-by: Hrishikesh Vaipurkar
2025-02-25 11:17:32 +00:00
Michael Zetterberg
48f20e0f6b feat(SW-1389): remove placeholder for booking widget on Start page template 2025-02-25 10:37:32 +00:00
Michael Zetterberg
82ba219e2b feat(SW-1389): refactor page settings 2025-02-25 10:37:32 +00:00
Simon.Emanuelsson
504fe7cb99 Merged in feat/SW-1599 (pull request #1385)
Feat/SW-1599

Approved-by: Tobias Johansson
2025-02-25 10:36:13 +00:00
Fredrik Thorsson
f4234334be Merged in feat/SW-1630-implement-mobile-tablet-design (pull request #1395)
Feat/SW-1630 implement mobile tablet design

* feat(SW-1630): add mobile and tablet design

* feat(SW-1630): adjust zoom buttons

* feat(SW-1630): css changes

* feat(SW-1630): modify breakpoints


Approved-by: Erik Tiekstra
2025-02-25 10:10:20 +00:00
Simon Emanuelsson
4c23700d52 feat: adjust select rate ui to latest design 2025-02-25 10:45:45 +01:00
Simon.Emanuelsson
2c72957dc6 Merged in feat/SW-966 (pull request #1361)
feat: show both prices for multiroom room 2-4 on all users

Approved-by: Michael Zetterberg
2025-02-25 09:44:21 +00:00
Simon Emanuelsson
b536c51889 feat: show both prices for multiroom room 2-4 on all users 2025-02-25 09:58:11 +01:00
Tobias Johansson
3b63223778 Merged in fix/SW-546-dob-cut-off (pull request #1403)
fix: overflow problem with dob inputs in enter details

* fix: overflow problem with dob inputs in enter details


Approved-by: Simon.Emanuelsson
2025-02-25 08:41:00 +00:00
Linus Flood
e2749f5593 Merged in feat/refactor-select-rate (pull request #1402)
Select-rate: refactor - converted RoomsContainer into a client component

* feat/select-rate - refactor and fixed duplicate key warning

* Rooms as client component

* Fixed lang in input

* It works

* Cleanup

* Cleanup

* PR fixes


Approved-by: Joakim Jäderberg
2025-02-25 08:40:36 +00:00
Arvid Norlin
cf3268bda3 Merged in feat/SW-910-membershipnumber-non-happy-path (pull request #1358)
fix(SW-910): handle MembershipFailedError

* fix(SW-910): handle MembershipFailedError


Approved-by: Tobias Johansson
2025-02-24 15:55:31 +00:00
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