Commit Graph

413 Commits

Author SHA1 Message Date
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
Pontus Dreij
4c06a1b98d feat(SW-415): Added content from API 2024-10-10 10:48:02 +02:00
Chuma McPhoy
cd898b494a fix(SW-360): service procedure update + contentyp layout fix 2024-10-10 10:47:09 +02:00
Chuma McPhoy
bf8976c24c feat(SW-360): Add signup verification route w. tracking for login 2024-10-10 10:47:09 +02:00
Chuma McPhoy
3407d48f6a fix(SW-360): better handleSubmit error handling 2024-10-10 10:47:09 +02:00
Chuma McPhoy
8583306b3c refactor(SW-360): improve error handling logic 2024-10-10 10:47:09 +02:00
Chuma McPhoy
f895cd2cb5 feat(SW-360): include signup form as a dynamic content 2024-10-10 10:46:51 +02:00
Tobias Johansson
aa9475ce12 feat(SW-360): Added register form with server action 2024-10-10 10:46:47 +02:00
Christel Westerberg
2886f537ee fix: wrap tier rewards endpoint in unstable_cache 2024-10-10 10:46:31 +02:00
Christel Westerberg
ed3acce57c fix: add args as keyParts for unstable_cache 2024-10-10 10:46:31 +02:00
Christel Westerberg
ea8fdc940d fix: refactor scopes for service token 2024-10-10 10:46:31 +02:00
Christel Westerberg
3c548923ff fix: handle cache tags for service tokens 2024-10-10 10:46:31 +02:00
Chuma McPhoy
87fb4d79dd fix(SW-360): service procedure update + contentyp layout fix 2024-10-10 09:37:38 +02:00
Chuma McPhoy
1f6fd4e980 feat(SW-360): Add signup verification route w. tracking for login 2024-10-10 08:59:33 +02:00
Chuma McPhoy
aa20a803d0 fix(SW-360): better handleSubmit error handling 2024-10-10 08:59:33 +02:00
Chuma McPhoy
5bdef742c7 refactor(SW-360): improve error handling logic 2024-10-10 08:59:33 +02:00
Chuma McPhoy
9ee53fd94a feat(SW-360): include signup form as a dynamic content 2024-10-10 08:59:33 +02:00
Tobias Johansson
e086857072 feat(SW-360): Added register form with server action 2024-10-10 08:59:33 +02:00
Christel Westerberg
491253d866 fix: wrap tier rewards endpoint in unstable_cache 2024-10-09 16:53:52 +02:00
Christel Westerberg
95ff011bdb fix: add args as keyParts for unstable_cache 2024-10-09 16:49:15 +02:00
Christel Westerberg
71b03143ce fix: refactor scopes for service token 2024-10-09 16:46:53 +02:00
Christel Westerberg
2ea0adbf98 fix: handle cache tags for service tokens 2024-10-09 16:46:53 +02:00
Pontus Dreij
79442d80b8 feat(SW-415): Update Room card UI 2024-10-09 11:03:33 +02:00
Niclas Edenvin
4a64cd083d Fix response validation for get stays 2024-10-09 11:03:33 +02:00
Niclas Edenvin
c2c1a676ca SW-454 Use the API on select room page 2024-10-09 11:03:33 +02:00
Erik Tiekstra
23953aeb61 feat(SW-216): Added heading and preamble text to table block 2024-10-09 11:03:33 +02:00
Erik Tiekstra
5c10d36745 fix(SW-216): Fixes after PR 2024-10-09 11:03:33 +02:00
Erik Tiekstra
dfd40aa7aa feat(SW-441): Added table block component 2024-10-09 11:03:33 +02:00
Erik Tiekstra
ef411b4cf9 feat(SW-216): added table to contentstack query for contentpage 2024-10-09 11:03:33 +02:00
Niclas Edenvin
1b1c7e6398 Fix response validation for get stays 2024-10-08 15:24:01 +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
bc43f79c24 fix(SW-216): Fixes after PR 2024-10-08 15:11:54 +02:00