Commit Graph

189 Commits

Author SHA1 Message Date
Matilda Landström
84d37e58ef chore(SW-303): fetch activity card from CS 2024-09-10 16:10:01 +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
Erik Tiekstra
a8cca69438 feat(SW-186): Some small changes and cleanup 2024-09-06 09:00:35 +02:00
Erik Tiekstra
55fdbc527b feat(SW-186): Added refs and some extra querys 2024-09-06 09:00:33 +02:00
Erik Tiekstra
bf7d22c728 feat(SW-186): implemented changes in cms 2024-09-06 09:00:07 +02:00
Erik Tiekstra
de60febd47 feat(SW-186): implemented queries and typings for card inside header query 2024-09-06 09:00:07 +02:00
Erik Tiekstra
d5aa2c9415 feat(SW-186): implemented queries and typings for menu inside header query 2024-09-06 09:00:07 +02:00
Erik Tiekstra
99c0d7976f feat(SW-186): implemented queries and typings for top_link inside header query 2024-09-06 09:00:07 +02:00
Chuma McPhoy
b0e84dd016 fix(SW-285): add hotelpagelink 2024-09-05 16:33:14 +02:00
Chuma McPhoy
a444746ccb feat(SW-285): Add support for sidebar 2024-09-05 16:33:14 +02:00
Chuma McPhoy
60636d8cbe feat(SW-285): add missing code for dynamic content 2024-09-05 16:33:14 +02:00
Chuma McPhoy
e88e4d92bf feat(SW-285): Ship support for ContentPageBlocksCardsGrid 2024-09-05 16:33:14 +02:00
Chuma McPhoy
dd336ca4ab feat(SW-285): add support for tags 2024-09-05 16:33:13 +02:00
Chuma McPhoy
57cd8c72da feat(SW-285): add support for shortcuts in content pages 2024-09-05 16:33:13 +02:00
Chuma McPhoy
9a51cc6cb5 feat(SW-285): Ship support for ContentPageBlocksContent 2024-09-05 16:33:13 +02:00
Fredrik Thorsson
deb3151edc feat(SW-176): add schemas 2024-09-04 09:44:03 +02:00
Hrishikesh Vaipurkar
243d9aa988 feat(SW-237): Detached booking widget toggle graphql query from page settings 2024-09-03 14:15:50 +02:00
Hrishikesh Vaipurkar
25f2e8f360 feat(SW-237): Implemented hide booking widget page level flag 2024-09-03 14:15:46 +02:00
Simon Emanuelsson
93526ce693 fix: rename retried-wrapped fetch to make caching work again 2024-08-28 14:55:31 +02:00
Christel Westerberg
aefb44011f fix: add support for original_url in rte 2024-08-23 16:22:14 +02:00
Matilda Landström
f46207a308 feat: improve handling of stays 2024-08-23 15:45:15 +02:00
Arvid Norlin
9497e8eef3 fix: add apiResponse.text() to logging 2024-08-23 12:33:28 +02:00
Simon Emanuelsson
2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +02:00
Pontus Dreij
ecb3b78561 feat(SW-266): Replacing static metadata with data from Contentstack on Loyalty pages and Account Pages
Approved-by: Simon.Emanuelsson
2024-08-22 13:49:34 +00:00
Pontus Dreij
5c81ff13f7 feat(SW-266): Added breadcrumbs to metadata fragment 2024-08-22 14:45:19 +02:00
Michael Zetterberg
a33a69fb58 fix: improve auth handling and logging 2024-08-22 14:07:36 +02:00
Erik Tiekstra
b2b7f4f85a fix(SW-190): added cache for content page query and added breadcrumbs fetching for content page 2024-08-22 09:49:02 +02:00
Erik Tiekstra
e7ec6b09c3 fix(SW-190): styling fixes 2024-08-22 09:49:02 +02:00
Arvid Norlin
a01aa10bf2 fix: add content-page handling in languageSwitcher query 2024-08-22 09:49:02 +02:00
Erik Tiekstra
8220a39a8f feat(SW-190): added hero to static content pages 2024-08-22 09:49:02 +02:00
Erik Tiekstra
f1ca9a0704 feat(SW-190): added hero to loyalty pages 2024-08-22 09:49:02 +02:00
Tobias Johansson
e9a6499086 feat(SW-245): Delete credit card 2024-08-21 16:24:39 +02:00
Pontus Dreij
b3bccc51d7 Merge branch 'develop' into feat/SW-266-seo-loyalty-pages 2024-08-21 14:11:53 +02:00
Chuma McPhoy
f4586ba35b fi(SW-188): implement PR feedback 2024-08-21 10:31:52 +02:00
Chuma McPhoy
ed379202c8 refactor(SW-188): replace anon or auth procedure with serviceProcedure 2024-08-21 10:31:52 +02:00
Chuma McPhoy
1ff6cd267d feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications 2024-08-21 10:31:52 +02:00
Tobias Johansson
84f5e74f00 Merged in feat/SW-104-add-card (pull request #410)
Feat/SW-104 add card

* feat: add api endpoints for adding and removing credit card

* feat(SW-104): Added Sonner toast lib

* feat(SW-104): Add route handlers for add card flow

* feat(SW-104): Added link to route handler and trigger toast when query params from callback is set

* feat(SW-104): Added translations for add card success toast

* feat(SW-104): Refactored to use client request for initiate save card

* fix(SW-104): Return proper status codes when initiating save card fails

* fix(SW-104): remove delete card endpoint because it was added in SW-245

* fix(SW-104): remove console.log

* fix(SW-104): Use api.post for save card request

* fix(SW-104): move function declaration above export

* fix(SW-104): handle response of save card and use Lang enum

* fix(SW-104): added comment for why setTimeout is needed for toast and also removed lang prop

* fix(SW-104): added type for AddCreditCardButton props

* feat: add toasts

* fix(SW-104): start using toasts from ToastHandler and fix problem with duplicate toasts

* fix(SW-104): remove unnecessary wrapping div


Approved-by: Michael Zetterberg
2024-08-20 15:04:02 +00:00
Pontus Dreij
c730fa7035 feat(SW-266): Replacing static metadata with data from Contentstack on Loyalty pages and Account Pages 2024-08-19 13:03:46 +02:00
Niclas Edenvin
e67212bd94 Merged in feature/refactor-lang (pull request #387)
feat: SW-238 Avoid prop drilling of lang

Approved-by: Michael Zetterberg
2024-08-14 11:00:20 +00:00
Hrishikesh Vaipurkar
fb5ba552e9 SW-65 Removed action used onSubmit and dt lib 2024-08-07 14:02:38 +02:00
Fredrik Thorsson
4919252f08 Merged in feat/WEB-300-implement-generic-retry-logic-network-requests (pull request #260)
Approved-by: Michael Zetterberg
2024-07-24 18:16:57 +00:00
Michael Zetterberg
71dcf30719 fix: make sure all logged errors are preceeded with a message
Just logging an error makes it difficult to relate the error log to code in the
codebase. Error logging a message right before the error itself makes it easier
to search the codebase for that error log.
2024-07-24 11:32:15 +02:00
Michael Zetterberg
ffa76cd8a2 feat(WEB-300): add retry for fetch calls 2024-07-24 10:56:35 +02:00
Christel Westerberg
183e1cd6d2 fix: refactor tracking requests 2024-07-15 13:35:36 +02:00
Christel Westerberg
73cea4ba51 fix: add channel and pageType 2024-07-15 13:35:36 +02:00
Christel Westerberg
546679387f feat: add tracking to account pages 2024-07-15 13:35:36 +02:00
Christel Westerberg
a8a67d5e35 feat: add tracking events for loyalty pages 2024-07-15 13:35:36 +02:00
Christel Westerberg
6184662caa fix: add imageContainer reference in rte 2024-07-08 08:06:16 +02:00
Christel Westerberg
d7b87585b9 fix: get joinloyalty button from contentstack 2024-07-05 13:53:07 +02:00