Commit Graph

256 Commits

Author SHA1 Message Date
Linus Flood 5e8efb4a27 More memoized requests 2024-10-28 11:20:59 +01:00
Linus Flood 687a110a39 Utilizing memoized requests 2024-10-25 15:33:06 +02:00
Simon Emanuelsson 2d23f9bbf3 feat: booking confirmation page with hardcoded data 2024-10-23 11:56:02 +02:00
Erik Tiekstra db9f31e2c3 feat(SW-498): added sitewide alert 2024-10-22 11:41:32 +02:00
Matilda Landström 8381862af8 feat(SW-559): add ImageContainer to contentPage RTE 2024-10-22 09:53:09 +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 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
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
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 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
Matilda Landström 166ddca0e0 fix(SW-194): add accordion graphql request 2024-10-16 13:55:05 +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
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
Michael Zetterberg 8f40d57a0f feat: add improved logging for graphql requests 2024-10-10 17:50:16 +02:00
Niclas Edenvin baf6ed9f2b SW-454 Use the API on select room page 2024-10-08 15:24:01 +02:00
Erik Tiekstra 4b9a6d2e8e feat(SW-216): Added heading and preamble text to table block 2024-10-08 15:11:54 +02:00
Erik Tiekstra 4979c22c4a feat(SW-216): added table to contentstack query for contentpage 2024-10-08 15:11:53 +02:00
Niclas Edenvin 6e6d14875d Merged in feat/SW-454-select-room-api (pull request #648)
Feat/SW-454 Create select rate page foundation

* Extract select-rate page to its own, fixed route

* Rename availability to hotelsAvailability

* Update availability hotels response

* Number to string


Approved-by: Pontus Dreij
2024-10-08 09:10:06 +00:00
Matilda Landström c7146e01a7 fix(SW-302): update handling of activity card 2024-10-08 08:53:41 +02:00
Christel Westerberg 44747058d0 fix: loyalty levels fetch in rsc for mobile menu
fix: get loyalty level in rsc

fix: typo
2024-10-08 08:25:44 +02:00
Christel Westerberg 2886084a82 feat: add communication preferences
feat: add generatePreferencesLink

feat: add subscriberId endpoint
2024-10-08 08:25:44 +02:00
Simon Emanuelsson 451d461c7f feat: guest information form enter details 2024-10-07 08:12:07 +02:00
Niclas Edenvin 2d25496d79 Update availability endpoint to v1 2024-09-27 14:23:49 +02:00
Pontus Dreij d3c01237db Merged in feat/SW-217-teaser-card-new (pull request #607)
feat(SW-217): Create Teaser component

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2024-09-27 08:33:57 +00:00
Christel Westerberg 56cd02f90b feat(SW-353): dynamic rewards 2024-09-26 11:52:07 +02:00
Pontus Dreij bb93bdf69c feat(SW-217): Split up Card to two (Card and TeaserCard) 2024-09-26 11:13:56 +02:00
Erik Tiekstra 4352997322 feat(SW-368): added link chips component 2024-09-26 08:37:25 +02:00
Pontus Dreij 717a5ef307 feat(SW-214): Implement usp component 2024-09-25 13:31:13 +02:00
Pontus Dreij db78a234e4 feat(SW-214): Setup connection to Contentstack 2024-09-25 10:45:23 +02:00
Pontus Dreij ee2abb72d2 feat(SW-214): Setup connection to Contentstack 2024-09-25 10:45:23 +02:00
Simon Emanuelsson 68703d72e1 fix: validation for header 2024-09-25 10:07:37 +02:00
Simon Emanuelsson 76e47994d0 feat: add initial datepicker, no ui/ux 2024-09-24 17:41:50 +02:00
Simon Emanuelsson af850c90e7 feat(SW-66, SW-348): search functionality and ui 2024-09-24 09:47:31 +02:00
Niclas Edenvin b9dbcf7d90 Merged in feat/booking-flow-submit (pull request #580)
This implements the actual call to the API to create a booking. That’s the only thing it does, it doesn’t handle the response in any way.

This PR is just to get it there and the new booking sub team will handle it further, with payment etc.

Approved-by: Michael Zetterberg
Approved-by: Fredrik Thorsson
Approved-by: Simon.Emanuelsson
2024-09-20 13:05:23 +00:00