Commit Graph

3401 Commits

Author SHA1 Message Date
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
Erik Tiekstra
4ed4b3585b Merged in feat/SW-392-hotel-page-tracking-additions (pull request #1251)
feat(SW-392): Added tracking when clicking mobile map button

* feat(SW-392): Added tracking when clicking mobile map button

* fix: button padding and margin inside map sidebar on mobile


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-04 14:03:15 +00:00
Erik Tiekstra
c4eafa419b Merged in feat/SW-1062-parking-page (pull request #1242)
Feat/SW-1062 parking page

* feat(SW-1062): Added parking sub page


Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-02-04 11:11:51 +00:00
Chuma Mcphoy (We Ahead)
2e311be924 Merged in feat/SW-1384-filterable-carousel-cards (pull request #1235)
feat(SW-1384): add CarouselCards block to start page

* feat(SW-1384): add filterable carousel cards block to start page

* fix(SW-1384): remove unnecessary link prop from SectionHeader

* fix(SW-1384): remove uneeded undefined

* fix(SW-1384): better type safety

* feat(SW-1384): Add see all link to filterable carousel cards section header

* refactor(SW-1384): Replace FilterableCarouselCards with CarouselCards block

* fix(SW-1384): Remove CardsEnumType type definition

* fix(SW-1384):Implement code review feedback to CarouselCards

* refactor(SW-1384): Convert CarouselCardFilterEnum to const enum with type


Approved-by: Christian Andolf
2025-02-04 10:59:17 +00:00
Matilda Landström
8b475e0ca8 Merged in feat/SW-159-remove-accessibilityElevatorPitchText (pull request #1245)
fix(SW-1553): remove accessibilityElevatorPitchText

* fix(SW-159): remove accessibilityElevatorPitchText


Approved-by: Bianca Widstam
Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-02-04 10:51:55 +00:00
Linus Flood
683646a490 Merged in fix/pageloadtime-fix (pull request #1248)
tracking: wait on document.readystate

* tracking: wait on document.readystate
2025-02-04 10:06:44 +00:00
Linus Flood
7db6c54beb Merged in fix/tracking-pageloadtime-fix (pull request #1247)
fix: using already created performance instead of creating a new one. Also payment tracking fix

* fix: using already created performance instead of creating a new one. Also payment tracking fix


Approved-by: Joakim Jäderberg
2025-02-04 09:46:58 +00:00
Linus Flood
1ed1e0a816 Merged in fix/hoteldata-zod-issue (pull request #1246)
fix: zod error on extraPageSchema

* fix: zod error on extraPageSchema


Approved-by: Joakim Jäderberg
2025-02-04 07:47:32 +00:00
Linus Flood
0800c877a3 Merged in fix/hotjar-suppress-fixes (pull request #1192)
fix: hotjar - suppress personal data

* fix: hotjar - suppress personal data

* More suppressing
2025-02-04 06:47:36 +00:00
Christian Andolf
e7fbcd8a80 Merged in fix/non-transparent-table-header (pull request #1243)
fix: sticky table header no longer has transparent background

Approved-by: Erik Tiekstra
2025-02-03 14:00:39 +00:00
Erik Tiekstra
c25963a3b7 Merged in feat/SW-1066-wellness-subpage (pull request #1239)
Feat/SW-1066 wellness subpage

* feat(SW-1066): added wellness subpage


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-03 13:35:48 +00:00
Chuma Mcphoy (We Ahead)
09011a2484 Merged in fix/extended-page-link-schema (pull request #1241)
fix: handle optional web property in extended page link schema

* fix: handle optional web property in page link transformation


Approved-by: Christian Andolf
2025-02-03 13:02:13 +00:00
Christian Andolf
a5776d7256 fix: sticky table header no longer has transparent background 2025-02-03 14:00:57 +01:00
Erik Tiekstra
dd4a2d8120 Merged in feat/SW-1296-hotel-subpages (pull request #1233)
feat(SW-1296): added Subpage for hotel pages and its routing

* feat(SW-1296): added Subpage for hotel pages and its routing


Approved-by: Fredrik Thorsson
2025-02-03 10:58:53 +00:00
Christian Andolf
b2a3fca54a Merged in fix/full-size-header (pull request #1237)
fix: header on startpage is now full width

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-03 09:43:41 +00:00
Anton Gunnarsson
fc866c0e4d Merged in feat/sw-1493-revised-comparison-block (pull request #1236)
feat(SW-1493): Revised SAS comparison block

* Base of new TierDetails for SAS tier comparison

* Add backgrounds and content to TierDetails

* Implement new cms schema for SasTierComparison

* Override gap in jsontohtml styling to 0

* Add animations to comparison details

* Redesign again

* Update content model to new design

* Add border to bottom item in tier match list

* Wrap interpolate-size in @supports to be safe

* Merge branch 'master' into feat/sw-1493-revised-comparison-block


Approved-by: Joakim Jäderberg
2025-02-03 08:42:16 +00:00
Chuma Mcphoy (We Ahead)
f9d1736195 Merged in fix/remove-infocardblock-from-content-page (pull request #1238)
fix: remove InfoCardBlock references from Content Page CardsGrid fragment

* fix: remove InfoCardBlock references from CardsGrid fragment


Approved-by: Erik Tiekstra
2025-02-03 07:20:37 +00:00
Christian Andolf
0ead1ead62 fix: bap is now true full width 2025-01-31 14:45:12 +01:00
Christian Andolf
e4e69bd55b Merged in fix/LOY-104-compare-all-levels-page-bugs (pull request #1234)
fix(LOY-104): reduce text in tables to not break mobile design

Approved-by: Erik Tiekstra
2025-01-31 13:36:01 +00:00
Christian Andolf
d02c1d5266 fix: header on startpage is now full width 2025-01-31 14:34:07 +01:00
Pontus Dreij
b6d8431e82 Merged in feat/SW-964-Sticky-summary-multiroom (pull request #1231)
Feat/SW-964 Sticky summary multiroom (UX)

* feat(SW-964) Multiroom support for summary in select-rate

* feat(SW-964) added utils for calculateTotalPrice

* feat(SW-964) Removed duplicated code


Approved-by: Tobias Johansson
2025-01-31 11:09:46 +00:00
Tobias Johansson
f82de5aad7 Merged in feat/price-details-modal-multiroom (pull request #1232)
feat: adjust price detail modal to handle multi room and removed dependency of enter details store

* feat: adjust price detail modal to handle multi room and removed dependency of enter details store

* fix: remove div from table

* fix: added room translation


Approved-by: Pontus Dreij
2025-01-31 09:13:21 +00:00
Christian Andolf
137d2cf499 fix(LOY-104): reduce text in tables to not break mobile design
adjusted padding to show points required on one row
2025-01-30 16:36:29 +01:00
Christian Andolf
8e37374258 Merged in fix/LOY-115-missing-next-level-translation (pull request #1230)
fix(LOY-115): add missing translation for next level

Approved-by: Chuma Mcphoy (We Ahead)
2025-01-30 14:26:15 +00:00
Christian Andolf
809ac63586 fix(LOY-115): add missing translation for next level 2025-01-30 15:18:01 +01:00
Erik Tiekstra
b9a3e697be Merged in feat/SW-1521-image-gallery-lightbox (pull request #1226)
Feat/SW-1521 image gallery lightbox

* feat(SW-1453): added city listing component

* feat(SW-1521): added more generic types to ImageGallery and Lightbox components

* feat(SW-1521): added lightbox functionality for top images

* feat(SW-1521): added support for setting activeIndex on open inside Lightbox


Approved-by: Fredrik Thorsson
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-30 13:30:58 +00:00
Simon.Emanuelsson
4b39df44bc Merged in feat/SW-778 (pull request #1104)
Feat/SW-778

Approved-by: Erik Tiekstra
2025-01-30 12:55:58 +00:00
Simon Emanuelsson
1deab000bd fix: cache hotel response 2025-01-30 13:51:47 +01:00
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +01:00
Fredrik Thorsson
ec74af8814 Merged in feat/SW-1490-add-short-description-to-restaurant-sidepeek (pull request #1228)
feat/SW-1490-add-short-description-to-restaurant-sidepeek

* feat(SW-1490): add short description


Approved-by: Erik Tiekstra
2025-01-30 12:16:41 +00:00
Pontus Dreij
4da3934768 feat(SW-718) Removed unused import 2025-01-30 11:19:22 +01:00
Pontus Dreij
eef7c222aa feat(SW-718) refactor: optimize rate selection and room scrolling 2025-01-30 11:19:22 +01:00
Pontus Dreij
ab7b826cd2 feat(SW-718) created useRoomFilteringStore 2025-01-30 11:19:22 +01:00
Pontus Dreij
ba20ce2696 feat(SW-718) refactor filter submit 2025-01-30 11:19:22 +01:00
Pontus Dreij
b42f92b121 feat(SW-718) Updated css naming 2025-01-30 11:19:22 +01:00
Pontus Dreij
f1ca27ebd6 feat(SW-718) moved RoomCardSkeleton 2025-01-30 11:19:22 +01:00
Pontus Dreij
790c485120 feat(SW-718) Don't show image if no src 2025-01-30 11:19:22 +01:00
Pontus Dreij
3f43d35448 feat(SW-718) Removed unused 2025-01-30 11:19:22 +01:00
Pontus Dreij
b7cf3296cf feat(SW-718) Fix import error 2025-01-30 11:19:22 +01:00
Pontus Dreij
68d7e869db feat(SW-718) updates after PR comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
bfdc62d263 feat(SW-718): fix comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
22fe34d5c0 feat(SW-718): removed log 2025-01-30 11:19:22 +01:00
Pontus Dreij
1f3d7cf446 feat(SW-718): Fixed bug where children was not displayd in selected room panel 2025-01-30 11:19:22 +01:00