Commit Graph

445 Commits

Author SHA1 Message Date
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
Niclas Edenvin
d37f99f2ba Merged in feat/sw-590-update-room-configuration-schema (pull request #687)
Rename bedType to roomTypeCode

* Rename bedType to roomTypeCode


Approved-by: Fredrik Thorsson
2024-10-14 12:56:11 +00:00
Michael Zetterberg
8ec1707fd5 fix: fields from Contentstack can be null. 2024-10-14 14:31:23 +02:00
Erik Tiekstra
3656245f8d fix(SW-187): Fixed open in new tab and some general refactoring 2024-10-14 10:44:03 +02:00
Fredrik Thorsson
1c0dd739a5 feat(SW-322): clean up 2024-10-14 09:51:14 +02:00
Fredrik Thorsson
5d1bdd9cd8 feat(SW-322): refactor shortcuts list 2024-10-14 09:51:14 +02:00
Fredrik Thorsson
67a33c9dc8 feat(SW-322): variable name change 2024-10-14 09:51:13 +02:00
Fredrik Thorsson
84a11d731a feat(SW-322): change output variable name 2024-10-14 09:51:13 +02:00
Fredrik Thorsson
5ea3410006 feat(SW-322): implement two column list 2024-10-14 09:51:13 +02:00
Erik Tiekstra
84881ee16a feat(SW-391): Changes after PR 2024-10-11 14:48:37 +02:00
Erik Tiekstra
9620071c78 feat(SW-391): Added sidepeek functionality to teasercard 2024-10-11 14:48:37 +02:00
Michael Zetterberg
a5d9eb43c9 Merged in fix/service-token-error-handling (pull request #673)
fix: improve error handling

Approved-by: Christel Westerberg
Approved-by: Arvid Norlin
2024-10-11 11:57:43 +00:00
Pontus Dreij
e723558870 fix: removed second validation since it is not needed 2024-10-11 12:15:11 +02:00
Michael Zetterberg
7bbb8915b3 fix: improve error handling
- Do not throw in onError callback for server client. This lets the originating error bubble to Next.js.
- Do not log errors inside the service token procedure, server client onError callback will log all procedure errors.
- Log errors for fetching service token failure.
2024-10-11 10:42:40 +02:00
Pontus Dreij
7c4a880519 Merge in feat/SW-415-select-room-card (pull request #663)
Feat/SW-415 select room card
2024-10-11 06:48:57 +00:00
Christel Westerberg
c9684dee11 feat: add validation to enter details flow 2024-10-10 16:48:38 +02:00
Pontus Dreij
7c3ff7f94e Merge remote-tracking branch 'origin/develop' into feat/SW-415-select-room-card 2024-10-10 14:45:35 +02:00
Tobias Johansson
740419bad2 Merged in feat/SW-459-payment-flow-ui-ux (pull request #657)
Feat/SW-459 payment flow ui ux

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): add todo comments

* feat(SW-459): Added payment method icons

* feat(SW-459): refactored into new component and added form

* feat(SW-459): Localized strings

* feat(SW-459): added checkbox

* feat(SW-459): Refactored payment options and updated payment form

* feat(SW-459): update input bg color

* feat(SW-459): add current web links and style fixes

* fix(SW-459): fix issue with booking confirmation not being accessible

* feat(SW-459): style changes

* feat(SW-459): update max width of payment container

* feat(SW-459): update create booking schema

* feat(SW-459): fixes from PR


Approved-by: Arvid Norlin
2024-10-10 12:20:41 +00:00
Pontus Dreij
c69b473de1 feat(SW-415): Normalize roomSchema 2024-10-10 14:10:03 +02:00
Pontus Dreij
9d106713a0 feat(SW-415): Update typings 2024-10-10 13:38:05 +02:00