Commit Graph

3593 Commits

Author SHA1 Message Date
Pontus Dreij
cb7d7efc86 fix: Removed composes so it's easier to change from css modules if we want 2025-02-08 13:58:23 +01:00
Linus Flood
ebb007b7f0 Merged in feat/booking-flow-performance (pull request #1282)
feat: booking flow performance

* feat: booking flow performance

* Cleanup


Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-08 10:40:42 +00:00
Chuma Mcphoy (We Ahead)
bd779a15a4 Merged in fix/add-mobile-variant-section-link-in-carousel-cards (pull request #1281)
feat: add mobile section link to CarouselCards

* feat: add mobile section link to CarouselCards


Approved-by: Christian Andolf
2025-02-07 15:06:22 +00:00
Christian Andolf
818daed5b8 Merged in fix/full-width-campaign-full-height (pull request #1277)
fix: full width campaign is now full height on mobile

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-07 15:02:15 +00:00
Christian Andolf
5f2b86b6c4 fix: full width campaign is now full height on mobile 2025-02-07 15:55:44 +01:00
Christian Andolf
fae0b124a5 Merged in feat/SW-1543-hide-join-scandic-friends-logged-in (pull request #1261)
feat(SW-1543): join scandic friends block is now hidden for logged in users

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-07 14:50:35 +00:00
Christian Andolf
69d57b73a2 feat(SW-1543): move auth check within component to be suspended 2025-02-07 15:43:51 +01:00
Christian Andolf
ced8dd5d99 fix: startpage blocks now default to an array 2025-02-07 15:43:51 +01:00
Christian Andolf
c622a65a8a feat(SW-1543): join scandic friends block is now hidden for logged in users 2025-02-07 15:43:51 +01:00
Anton Gunnarsson
18288cb849 Merged in feat/sas-otp-error-handling (pull request #1272)
Feat/sas otp error handling

* Improve error handling for SAS OTP
* Remove failing and deprecated test

Approved-by: Joakim Jäderberg
2025-02-07 14:18:00 +00:00
Pontus Dreij
fbe05eb456 Merged in feat/SW-717-multiroom-select-hotel-api (pull request #1225)
Feat/SW-717 multiroom select hotel api
2025-02-07 13:15:07 +00:00
Erik Tiekstra
b12bc5c808 Merged in fix/image-gallery (pull request #1274)
fix: quick fix to have the tiggerArea only be position relative when not using fill

* fix: quick fix to have the tiggerArea only be position relative when not using fill


Approved-by: Pontus Dreij
2025-02-07 12:42:17 +00:00
Simon.Emanuelsson
c204532acc Merged in feat/SW-1261 (pull request #1263)
feat: only show member price when logged in

* feat: only show member price when logged in


Approved-by: Michael Zetterberg
2025-02-07 08:51:50 +00:00
Pontus Dreij
575420ca0a feat(SW-717) use of combineRoomAvailabilities in RoomsContainer 2025-02-07 08:48:45 +01:00
Pontus Dreij
08ce2bc338 feat(SW-717) fixed type error after rebase 2025-02-07 08:44:01 +01:00
Pontus Dreij
dcd45ee31d feat(SW-717) make reduce more understandable 2025-02-07 08:38:49 +01:00
Pontus Dreij
e00cea4646 feat(SW-717) use of AvailabilityEnum instead of strings 2025-02-07 08:38:47 +01:00
Pontus Dreij
7424ecf2bf feat(SW-717) fixed issues after rebase 2025-02-07 08:37:57 +01:00
Pontus Dreij
7a9bfd447b feat(SW-717) Fixed bug where available rooms didn't show if there where also unavaible dublicates. 2025-02-07 08:37:57 +01:00
Pontus Dreij
d5bc2b3c57 feat(SW-717) Multiple requests if adult differ between rooms 2025-02-07 08:37:53 +01:00
Linus Flood
c0f5c0278b Merged in feat/skeletons-and-cache (pull request #1273)
feat: skeleton key bullet proof. 10 min cache on city search response

* feat: skeleton key bullet proof. 10 min cache on city search response

* Refactor server.ts


Approved-by: Michael Zetterberg
2025-02-07 07:02:53 +00:00
Michael Zetterberg
1d822dad5a Merged in fix/labels-english (pull request #1249)
fix(i18n): validated English messages

Approved-by: Bianca Widstam
Approved-by: Christian Andolf
2025-02-06 20:54:25 +00:00
Christian Andolf
9fafb33d26 Merged in feat/SW-1391-join-scandic-friends-startpage (pull request #1260)
feat(SW-1391): add join scandic friends block

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-06 15:05:06 +00:00
Chuma Mcphoy (We Ahead)
7c8d6cbc2e Merged in feat/SW-1384-filter-functionality (pull request #1262)
feat(SW-1384): Implement filtering for CarouselCards component

* feat(SW-1384): Implement filtering for CarouselCards component

* fix(SW-1384): Simplify CarouselCards filters scrolling styles

* refactor(SW-1384): Simplify CarouselCards filtering logic


Approved-by: Christian Andolf
2025-02-06 14:32:55 +00:00
Christian Andolf
053ce3f4de fix: startpage background is now white by default and jsf block is back to original design 2025-02-06 14:59:16 +01:00
Linus Flood
3d1295e4d5 Merged in fix/application-insights-sentry (pull request #1269)
fix: application insights works again

* fix: application insights works again


Approved-by: Joakim Jäderberg
2025-02-06 13:40:12 +00:00
Linus Flood
da31897835 Merged in fix/hotelreservation-skeletons (pull request #1271)
Fix/hotelreservation skeletons

* fix: skeletons in hotelreservation key includes all search params

* fix: skeletons in hotelreservation key includes all search params

* fix: skeletons in hotelreservation key includes all search params
2025-02-06 13:39:54 +00:00
Christian Andolf
4d63cc57c5 feat(SW-1391): add join scandic friends block 2025-02-06 14:33:37 +01:00
Linus Flood
9ad8d39712 Merged in fix/hotelreservation-skeletons (pull request #1270)
fix: skeletons in hotelreservation key includes all search params

* fix: skeletons in hotelreservation key includes all search params


Approved-by: Joakim Jäderberg
2025-02-06 13:30:18 +00:00
Tobias Johansson
c62ebb83bb Merged in fix/remove-test-warnings (pull request #1267)
fix: change from undefined to empty string to get rid of uncontrolled input warnings in tests

* fix: change from undefined to empty string to get rid of uncontrolled input warnings in tests


Approved-by: Michael Zetterberg
2025-02-06 12:39:32 +00:00
Matilda Landström
3690b0a29a Merged in feat/fix-translations (pull request #1244)
Feat: Fix translations for localize

* fix: POI translations

* fix: update translations


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-02-06 12:14:40 +00:00
Linus Flood
87820a6f2d Merged in feat/sw-1575-profileId-tracking (pull request #1264)
feat: #sw-1575 using profileId instead of membershipnumber for tracking i userInfo object

* feat: #sw-1575 using profileId instead of membershipnumber for tracking i userInfo object


Approved-by: Erik Tiekstra
2025-02-06 10:02:26 +00:00
Joakim Jäderberg
c21d7bec62 fix: netlify doesn't seem to handle redirects in a server action therefor we do the redirect on the client instead 2025-02-06 09:54:52 +00:00
Erik Tiekstra
8ecaac4b52 Merged in fix/hotel-faq (pull request #1265)
fix: setting faq section as nullable from CS as CS returns null after import

* fix: setting faq section as nullable from CS as CS returns null after import


Approved-by: Fredrik Thorsson
2025-02-06 09:19:59 +00:00
Tobias Johansson
d0e2bd5c8d Merged in fix/booking-status-retry-and-timeout (pull request #1258)
fix: increase retry for getting booking status and dont show spinner if timeout occurs

* fix: increase retry for getting booking status and dont show spinner if timeout occurrs


Approved-by: Arvid Norlin
2025-02-06 08:09:15 +00:00
Fredrik Thorsson
d135872eab Merged in fix/update-translation-overview-list (pull request #1257)
fix: update translation for overview page list component

* fix: update translation


Approved-by: Erik Tiekstra
2025-02-06 07:23:37 +00:00
Hrishikesh Vaipurkar
bb0f35fb98 feat: SW-1422 Updated UI 2025-02-05 16:18:34 +01:00
Hrishikesh Vaipurkar
b27f8fac44 feat: SW-1422 Updated remember code storage 2025-02-05 16:18:34 +01:00
Hrishikesh Vaipurkar
304fc7f1c9 feat:SW-1422 Updated Tablet mode 2025-02-05 16:18:34 +01:00
Hrishikesh Vaipurkar
63f456da5a feat: SW-1422 Updated UX for booking code desktop and mobile 2025-02-05 16:18:28 +01:00
Hrishikesh Vaipurkar
6741a0a21c feat: SW-1422 Implemented Switch/Toggle component 2025-02-05 16:16:45 +01:00
Hrishikesh Vaipurkar
1b5b09d7a6 feat: SW-1422 Enabled booking code in booking widget 2025-02-05 16:16:45 +01:00
Joakim Jäderberg
46ebbbba8f Merged in feature/sas-login (pull request #1256)
First steps towards the SAS partnership

* otp flow now pretends to do the linking

* Update LinkAccountForm header

* Update redirect times

* Clean up comments

* Set maxAge on sas cookies

* make all SAS routes protected

* Merge remote-tracking branch 'refs/remotes/origin/feature/sas-login' into feature/sas-login

* Require auth for sas link flow

* Fix resend otp

* Add error support to OneTimePasswordForm

* Add Sentry to SAS error boundary

* Move SAS_REQUEST_OTP_STATE_STORAGE_COOKIE_NAME

* Add missing translations

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/sas-login

* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login

* Add TooManyCodesError component

* Refactor GenericError to support new errors

* Add FailedAttemptsError

* remove removed component <VWOScript/>

* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login

* remove local cookie-bot reference

* Fix sas campaign logo scaling

* feature toggle the SAS stuff

* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login

* fix: use env vars for SAS endpoints


Approved-by: Linus Flood
2025-02-05 14:43:14 +00:00
Erik Tiekstra
e3b1bfc414 Merged in feat/SW-1454-hotel-listing-city-page (pull request #1250)
feat(SW-1454): added hotel listing

* feat(SW-1454): added hotel listing


Approved-by: Fredrik Thorsson
2025-02-05 13:10:28 +00:00
Chuma Mcphoy (We Ahead)
f3e6318d49 Merged in feat/SW-1383-content-card-start-page (pull request #1252)
feat(SW-1383): Implement ContentCard for the Start Page

* feat(SW-1383): Implement ContentCard

- Add ContentCard component
- Use within CarouselCards component

* fix(SW-1383): adjust carousel and content card styling

* refactor(SW-1383): optimize ContentCard component styling and props

* feat(SW-1383): move ContentCard image check out of component

* feat(SW-1383): Add optional link prop to ContentCard component

* refactor(SW-1383): Make ContentCard component linkable


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-02-05 11:29:53 +00:00
Fredrik Thorsson
a389fba8ce Merged in feat/SW-1067-special-needs-accessibility-page (pull request #1253)
feat/SW-1067 special needs accessibility page

* feat(SW-1067): update types

* feat(SW-1067): add sidebar

* feat(SW-1067): add additional content component

* feat(SW-1067): add special needs list

* feat(SW-1067): update type

* feat(SW-1067): update import

* feat(SW-1067): remove component

* feat(SW-1067): re add component

* feat(SW-1067): update folder structure


Approved-by: Erik Tiekstra
2025-02-05 10:27:26 +00:00
Niclas Edenvin
86a7650813 Merged in feat/sw-1523-my-stay-page (pull request #1227)
feat(SW-1523): foundation for my stay page

* feat(SW-1523): foundation for my stay page

This is the base page for the my stay page. It is very much hard coded
and all components need to get a design update afterwards. But this is
to get the page going!

* fix(i18n): messages


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-02-05 10:16:32 +00:00
Joakim Jäderberg
691c493522 Merged in fix/seamless-auth (pull request #1255)
fix: reduce the need for multiple SEAMLESS_LOGIN/SEAMLESS_LOGOUT

* fix: reduce the need for multiple SEAMLESS_LOGIN/SEAMLESS_LOGOUT

* fix: reduce the need for multiple SEAMLESS_LOGIN/SEAMLESS_LOGOUT

* fix: defaulted values that are the same in each environment


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-02-05 10:01:38 +00:00
Erik Tiekstra
68f4a5b86d Merged in feat/SW-1199-subpage-breadcrumbs (pull request #1254)
feat(SW-1199): Added breadcrumbs to subpages

* feat(SW-1199): Added breadcrumbs to subpages


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-05 09:53:07 +00:00
Fredrik Thorsson
b85a3a57ec Merged in feat/SW-1444-destination-page-add-destination-list-component (pull request #1240)
feat/SW-1444 destination page add destination list component

* feat(SW-1444): add list component

* feat(SW-1444): add subtitle to accordion

* feat(SW-1444): refactor component structure

* feat(SW-1444): add desktop breakpoint

* feat(SW-1444): fix typo

* feat(SW-1444): add props

* feat(SW-1444): add query

* feat(SW-1444): updated query

* feat(SW-1444): display data

* feat(SW-1444): fix merge hickup

* feat(SW-1444): change var name

* feat(SW-1444): remove unsued translations

* feat(SW-1444): use country as title

* feat(SW-1444): sort hotels in query

* feat(SW-1444): make responsive

* feat(SW-1444): fetch country url

* feat(SW-1444): update logging

* feat(SW-1444): remove spread


Approved-by: Erik Tiekstra
2025-02-04 14:17:12 +00:00