Commit Graph

464 Commits

Author SHA1 Message Date
Linus Flood
65b6830472 Merged develop into feat/sw-694-performance 2024-10-28 12:55:52 +00:00
Linus Flood
5e8efb4a27 More memoized requests 2024-10-28 11:20:59 +01:00
Niclas Edenvin
0efa52ada5 Merged in feat/sw-587-sidepeek-for-room (pull request #767)
Create the sidepeek for a specific roomtype. This also changes the lightbox to use react-aria instead of radix-ui, so we use the same for the lightbox and the sidepeek. Works better together!


Approved-by: Bianca Widstam
2024-10-25 14:11:06 +00:00
Linus Flood
687a110a39 Utilizing memoized requests 2024-10-25 15:33:06 +02:00
Christian Andolf
67c60ebf41 fix(SW-556): reward type of surprises is now set 2024-10-25 14:02:32 +02:00
Christian Andolf
b6cb3855c2 refactor(SW-556): added a few missing pieces like translations and properties.
removed unneeded changes
2024-10-25 14:02:32 +02:00
Christian Andolf
e6db1b17c6 fix(SW-556): now fetching surprises separately in component.
also showing surprises on any account page
2024-10-25 14:02:32 +02:00
Christian Andolf
3206319254 feat(SW-556): add surprise notification component 2024-10-25 14:02:32 +02:00
Michael Zetterberg
6c8301ecea fix: CMS field 'original_url' should not be manipulated, render as-is. 2024-10-24 13:28:52 +02:00
Bianca Widstam
748021cdab Merged in feat/SW-673-galleryicon-hotel-lightbox (pull request #734)
Feat/SW-673 galleryicon hotel lightbox

* feat(SW-673): add galleryChip to trigger lightbox

* feat(SW-673): add updated design galleryIcon

* feat(SW-673): add first image from hotelContent and heroImages

* feat(SW-673): fix import type

* feat(SW-673): fix css variables

* feat(SW-673): change component to include image that trigger lightbox

* feat(SW-673): refactor name to imageGallery


Approved-by: Niclas Edenvin
2024-10-24 08:41:26 +00:00
Erik Tiekstra
a29657a6b2 feat(SW-508): Added hotel alerts 2024-10-24 09:35:19 +02:00
Michael Zetterberg
cd40875403 Merged in fix/feature-flag-scopes (pull request #743)
Fix/feature flag scopes

Approved-by: Christel Westerberg
2024-10-23 12:28:51 +00:00
Michael Zetterberg
d5abe13a7e fix: add feature flag for service token scopes 2024-10-23 12:18:08 +02:00
Simon Emanuelsson
2d23f9bbf3 feat: booking confirmation page with hardcoded data 2024-10-23 11:56:02 +02:00
Erik Tiekstra
445bde8e2e feat(SW-671): Added correct icons to amenities list 2024-10-23 09:59:35 +02:00
Erik Tiekstra
db9f31e2c3 feat(SW-498): added sitewide alert 2024-10-22 11:41:32 +02:00
Erik Tiekstra
bcee55c359 fix(SW-672): Added nullable and default values to schema to avoid validation issues from ContentStack with changed models 2024-10-22 10:49:54 +02:00
Matilda Landström
26fb80dc0b fix(SW-438): divide pageRefs query into two due to size limitations 2024-10-21 14:35:07 +02:00
Matilda Landström
df17798662 refactor(SW-438): change name to teasercard 2024-10-21 14:35:07 +02:00
Matilda Landström
8eb822da16 refactor(SW-438): update namings 2024-10-21 14:35:07 +02:00
Matilda Landström
76063e1757 fix(SW-438): fix problem with type for quick links 2024-10-21 14:35:07 +02:00
Matilda Landström
a5a3bfa857 fix(SW-438): fix refs 2024-10-21 14:35:07 +02:00
Matilda Landström
e5eb6a5331 fix(SW-438): fix sidebar refs 2024-10-21 14:35:07 +02:00
Matilda Landström
01db5aa192 fix(SW-438): add ContentCard, ScriptedCard and Shortcuts to ContentPage sidebar 2024-10-21 14:35:07 +02:00
Erik Tiekstra
59ffbef8fb feat(SW-365): Added focal point to imagevault typings and to image component 2024-10-21 14:22:00 +02:00
Tobias Johansson
b33381d1b4 Merged in feat/SW-588-payment-saved-card (pull request #697)
feat(SW-588): Added saved card to payment step

* feat(SW-588): Added saved card to payment step

* feat(SW-588): Add proper label for saved card

* feat(SW-588): fix from PR feedback

* feat(SW-588): Add preloading of data

* feat(SW-588): remove onChange logic for PaymentOption

* feat(SW-588): moved payment files to correct folder

* feat(SW-588): moved preload to layout

* fix: remove unused prop


Approved-by: Simon.Emanuelsson
2024-10-21 10:39:19 +00:00
Erik Tiekstra
62b9a66569 feat(SW-497): added link and refs to site config 2024-10-21 09:56:12 +02:00
Erik Tiekstra
c8d4f6c47c feat(SW-497): Changes to global alert schema 2024-10-21 09:56:12 +02:00
Erik Tiekstra
3f12246e12 feat(SW-497): Changed to siteConfig which includes Global Alert 2024-10-21 09:56:12 +02:00
Erik Tiekstra
78569fcb21 feat(SW-497): Added global alerts query and typings 2024-10-21 09:56:12 +02:00
Christel Westerberg
2fab1fd917 fix: handle back button 2024-10-18 12:12:13 +02:00
Christel Westerberg
e4617d84ba feat: populate session storage on submit 2024-10-18 12:12:13 +02:00
Pontus Dreij
be08f0b4d1 Merged in feat/sw-452-select-room-form-submit (pull request #711)
Feat/sw 452 select room form submit

Approved-by: Simon.Emanuelsson
2024-10-17 11:46:49 +00:00
Pontus Dreij
0238e9e07e feat(sw-452): added children 2024-10-17 10:25:04 +02:00
Pontus Dreij
f25af8382e feat(sw-452): added language to availabily call to get correct currency 2024-10-17 10:17:57 +02:00
Michael Zetterberg
4238483889 feat: add utility for getting internal next url 2024-10-17 09:08:04 +02:00
Matilda Landström
e52391f120 fix(SW-194): small fixes 2024-10-16 13:55:06 +02:00
Matilda Landström
510311a0dc fix(SW-194): split CS request of blocks into two 2024-10-16 13:55:06 +02:00
Matilda Landström
47aa63cd9f refactor(SW-194): change naming 2024-10-16 13:55:06 +02:00
Matilda Landström
48b0278448 fix(SW-194): adapt to separated ContentPage query 2024-10-16 13:55:06 +02:00
Matilda Landström
11d59932af refactor(SW-194) 2024-10-16 13:55:06 +02:00
Matilda Landström
acf1dc3a67 refactor(SW-194): update naming 2024-10-16 13:55:06 +02:00
Matilda Landström
e234225c4b fix(SW-194): add refs for hotel pages 2024-10-16 13:55:06 +02:00
Matilda Landström
99d537d40c fix(SW-294): code cleanup 2024-10-16 13:55:05 +02:00
Matilda Landström
04f1a146f4 fix(SW-194): break out blocks to separate query 2024-10-16 13:55:05 +02:00
Matilda Landström
14f07bc2bf fix(SW-194): cleanup 2024-10-16 13:55:05 +02:00
Matilda Landström
6ca75f43c6 chore(SW-194): HotelPage Faq 2024-10-16 13:55:05 +02:00
Matilda Landström
6265d6b7dc chore(SW-194): ContentPage Accordion 2024-10-16 13:55:05 +02:00
Michael Zetterberg
55df33d26c fix: throw on errors in api tier rewards 2024-10-16 07:30:04 +02:00
Michael Zetterberg
4a846540c3 feat: improve handling of deployment env vars
These are now defined in Netlify UI for dedicated environments (test, stage, production):

AUTH_URL
NEXTAUTH_URL
PUBLIC_URL

Code now falls back to incoming request host. Mainly used for
deployment previews which do not have Akamai in front, meaning
we do not need the above workaround as incoming request host
matches the actual public facing host. When Akamai is in front,
we lose the public facing host in Netlify's routing layer as they
internally use `x-forwarded-for` and we can't claim it for our usage.
2024-10-15 17:03:36 +02:00