Commit Graph

2339 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
a192d32f7e feat(LOY-135): change redeem description to be RTE 2025-02-17 15:05:32 +01:00
Christian Andolf
06d861fb6f chore: add no unused vars lint rule 2025-02-17 10:43:54 +01:00
Matilda Landström
c4ae9201db Merged in fix/SW-1065-meetings-subpage (pull request #1353)
Fix(SW-1065): Meetings subpage

* fix(SW-1065): allow meeting cards to have different heights

* feat(SW-1065): add meetingroom description


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-02-17 09:14:45 +00:00
Fredrik Thorsson
22111eb7d2 Merged in feat/SW-1418-destination-page-map-data (pull request #1347)
feat/SW-1418 destination page map data

* feat(SW-1418): implement dynamic map on overview page

* feat(SW-1418): update folder structure

* feat(SW-1418): use getHotelsByHotelIds


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-02-17 08:59:50 +00:00
Chuma McPhoy
7c519979bb refactor: Adjust carousel card gap 2025-02-17 09:41:58 +01:00
Christian Andolf
4f0c4a0acb fix(LOY-61): only invalidate current rewards if reward is redeemed or confirm close redeemed reward 2025-02-17 09:34:54 +01:00
Christian Andolf
b656023bac feat(LOY-61): add confirmation box to close when redeemed a reward 2025-02-17 09:34:54 +01:00
Christian Andolf
bc81b18e85 fix(LOY-88): expiration date is now not defaulted to todays date if it's missing, instead nothing is shown 2025-02-17 09:07:32 +01:00
Joakim Jäderberg
2791f07f67 Merged in fix/mypages-clientside-menu (pull request #1344)
Fix/mypages clientside menu

* feat: move mypages menu to client side

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/mypages-clientside-menu

* wip

* wip

* wip

* refactor: reorganize MyPages navigation logic and improve type definitions

* refactor: enhance MyPagesMobileDropdown with loading states and skeletons

* refactor: clean up header component and improve myPagesNavigation query structure

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/mypages-clientside-menu


Approved-by: Linus Flood
2025-02-17 07:47:33 +00:00
Matilda Landström
ef1d3ee065 Merged in fix/hotel-pages-fix (pull request #1346)
fix: HotelPage restaurant navigation + translation

* fix: hotelPage restaurant navigation + translation


Approved-by: Erik Tiekstra
2025-02-17 07:23:43 +00:00
Christian Andolf
81643883ff Merged in fix/SW-1615-usp-list-now-grows-vertically (pull request #1336)
fix(SW-1615): usp list for scandic friends block now grows vertically instead of horizontally

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-14 15:43:34 +00:00