Commit Graph

242 Commits

Author SHA1 Message Date
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
Pontus Dreij f27dee0c56 feat(SW-213): Created Text Cols component and added to Blocks in Contentstack 2024-09-19 10:05:22 +02:00
Chuma McPhoy 24dc404370 feat(SW-219): add support for content card in cards grid in content pages 2024-09-16 09:13:00 +02:00
Pontus Dreij 428fb3df3f Merged in feat/sw-187-footer-content-stack (pull request #565)
Feat/sw 187 footer content stack

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2024-09-12 07:11:25 +00:00
Matilda Landström 84d37e58ef chore(SW-303): fetch activity card from CS 2024-09-10 16:10:01 +02:00
Pontus Dreij 84fb10aa2c feat(SW-187): use custom title for links 2024-09-10 10:23:15 +02:00
Pontus Dreij ef33d082d8 feat(sw-187): Refactor footer output and fixed urls to include language 2024-09-09 13:59:36 +02:00
Matilda Landström 72c8246384 Revert "chore(SW-303): fetch activity card from CS"
This reverts commit dde9ca190a.
2024-09-09 08:46:31 +02:00
Matilda Landström dde9ca190a chore(SW-303): fetch activity card from CS 2024-09-09 08:44:12 +02:00
Pontus Dreij 05ee4d1717 feat(SW-187): Added tertiary links data 2024-09-06 13:54:08 +02:00
Pontus Dreij 144ab30bc6 feat(SW-187): Added social media data and copyright label 2024-09-06 13:53:17 +02:00
Pontus Dreij 89e5d7515c feat(SW-187): removed unused title 2024-09-06 13:53:17 +02:00
Pontus Dreij 24e2adf9e8 feat(SW-187): App badges localization 2024-09-06 13:53:17 +02:00
Pontus Dreij e8cf02d28e feat(SW-187): Footer data from contentstack 2024-09-06 10:33:09 +02:00
Pontus Dreij d4a3436256 feat(SW-187): moved footer fragments to CurrentFooter folder 2024-09-06 10:33:09 +02:00