Commit Graph

272 Commits

Author SHA1 Message Date
Christel Westerberg
036bb8351a fix: handle caching of card grids on content page blocks 2024-11-06 15:25:30 +01:00
Linus Flood
b2c668ce05 Removed unused imports 2024-11-05 14:46:52 +01:00
Linus Flood
7e4bbfb3e6 feat: performance improvements 2024-11-05 14:46:52 +01:00
Erik Tiekstra
249a5f6cb8 feat(SW-498): fixed tags for caching inside siteconfig query 2024-11-05 12:48:10 +01:00
Erik Tiekstra
bc93fcaefd feat(SW-508): preview for content pages 2024-11-04 14:40:00 +01:00
Matilda Landström
d5efaa686c Merged in feat/SW-286-collectionPage (pull request #765)
Feat(SW-286): CollectionPage

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2024-11-04 12:10:51 +00:00
Simon Emanuelsson
46a1874a76 fix: prevent phone input from running validation on mount when empty 2024-11-01 08:59:16 +01:00
Christel Westerberg
46622d0515 fix: move crunching of data to trpc layer 2024-10-30 15:52:04 +01:00
Christel Westerberg
7710d3f8f9 fix: make summary sticky 2024-10-30 15:51:04 +01:00
Christel Westerberg
7954c704d9 feat: consume serach params in summary and step page 2024-10-30 15:50:08 +01:00
Tobias Johansson
795eae89bc fix: type issue 2024-10-30 11:36:54 +01:00
Tobias Johansson
60ceeaf9c3 fix(SW-614): move filtering logic to routes 2024-10-30 09:44:49 +00:00
Tobias Johansson
a690750c36 feat(SW-614): Add mustBeGuaranteed flag and update content based on this 2024-10-30 09:44:49 +00:00
Simon Emanuelsson
62f549e85d feat: get breakfast package from API 2024-10-29 15:39:21 +01:00
Pontus Dreij
7b36139684 feat(sw-453): implemented filter from packages 2024-10-29 11:10:27 +01:00
Matilda Landström
4bd089ab2a feat(698): fix correct order of blocks from CS 2024-10-29 09:20:27 +01:00
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