Commit Graph

80 Commits

Author SHA1 Message Date
Simon Emanuelsson ed1574838a feat: new booking confirmation page 2024-11-29 15:55:30 +01:00
Christel Westerberg 439bc13e65 fix: close summary sheet 2024-11-27 13:39:09 +01:00
Christian Andolf 257900b7a8 fix(SW-993): toast is now full width on mobile
updated sonner to latest version

increased default duration of toast to 5 sec
2024-11-26 13:27:26 +00:00
Christel Westerberg 8bfc4065ed fix: add wrapper function for caching 2024-11-26 08:48:19 +01:00
Erik Tiekstra b22888db5f feat(SW-200): refactored breadcrumbs fetching and added json schema to layout 2024-11-25 08:00:13 +01:00
Christian Andolf 3aedc4ff25 fix(SW-696): split up surprises into more components for readability
add tsparticles for confetti
2024-11-21 12:19:46 +01:00
Joakim Jäderberg 75c5c97841 chore: upgrade nextjs@14.2.18 2024-11-19 12:03:49 +01:00
Pontus Dreij 87b999676b feat(SW-344) Correct position of pins in mobile 2024-11-12 14:34:02 +01:00
Erik Tiekstra d8751b3fea chore(SW-663): updated @contentstack/live-preview-utils to latest 2024-11-11 07:48:05 +01:00
Erik Tiekstra 18eeeef510 feat(SW-663): Updated @contentstack/live-preview-utils 2024-11-04 14:40:00 +01:00
Tobias Johansson 926d864413 fix: add pre commit hook to sort dictionaries 2024-10-16 13:49:37 +02:00
Michael Zetterberg 4a846540c3 feat: improve handling of deployment env vars
These are now defined in Netlify UI for dedicated environments (test, stage, production):

AUTH_URL
NEXTAUTH_URL
PUBLIC_URL

Code now falls back to incoming request host. Mainly used for
deployment previews which do not have Akamai in front, meaning
we do not need the above workaround as incoming request host
matches the actual public facing host. When Akamai is in front,
we lose the public facing host in Netlify's routing layer as they
internally use `x-forwarded-for` and we can't claim it for our usage.
2024-10-15 17:03:36 +02:00
Tobias Johansson 661effeefa feat(SW-360): Added test for register user form 2024-10-10 08:59:33 +02:00
Erik Tiekstra 5e4ef02ebf feat(SW-441): Added table block component 2024-10-08 15:11:53 +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
Erik Tiekstra e79f413003 feat(SW-325): added pois to the list and dynamic map 2024-09-18 15:22:31 +02:00
Erik Tiekstra 789133af11 feat(SW-189): added dynamic map 2024-09-12 10:12:43 +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
Pontus Dreij b01fca97ba feat(SW-187): added immer and refactor dropdown a bit 2024-09-11 14:17:44 +02:00
Chuma McPhoy 852e817ab7 fix(SW-337): better desktop gallery layout 2024-09-09 14:46:22 +02:00
Tobias Johansson bc3233ff64 Merged in feat/SW-196-design-fixes (pull request #547)
Feat/SW-196 design fixes

* feat(SW-196): Updated copy My credit cards -> My payment cards

* fix: update design system version

* feat(SW-196): Update Header component to use Preamble instead of Subtitle

* feat(SW-196): Minor design fixes


Approved-by: Christel Westerberg
2024-09-03 08:43:13 +00:00
Chuma McPhoy 59615cef94 feat(SW-96): Ship reusable desktop lightbox 2024-08-30 08:53:34 +02:00
Arvid Norlin 7388df5f5f feat: add metricReader to instrumentation.ts 2024-08-26 11:50:35 +02:00
Simon Emanuelsson 2337d37f1a feat(SW-160): update profile 2024-08-23 09:09:55 +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
Arvid Norlin 47c77b62d6 fix(SW-239): make contents in sidepeek component render serverside for seo 2024-08-16 13:30:09 +02:00
Michael Zetterberg ffa76cd8a2 feat(WEB-300): add retry for fetch calls 2024-07-24 10:56:35 +02:00
Hrishikesh Vaipurkar c018dc8ce0 feat: WEB-210 Removed unnecessary env changes and logs 2024-07-10 11:37:28 +02:00
Hrishikesh Vaipurkar f2bff7fd5a feat: WEB-210 Updated npm start cmd with openssl-legacy flag 2024-07-10 11:37:27 +02:00
Hrishikesh Vaipurkar 6e901f526a feat: WEB-210 Added flag in npm start cmd 2024-07-10 11:37:27 +02:00
Hrishikesh Vaipurkar 22cc956611 feat: WEB-210 reverted plugin nextjs to previous version 2024-07-10 11:37:27 +02:00
Hrishikesh Vaipurkar b5636774ef feat: WEB-210 Updated nexjs plugin 2024-07-10 11:37:26 +02:00
Christel Westerberg 21f07c584b chore: update design system and names of tokens 2024-07-10 07:56:38 +02:00
Arvid Norlin 0657355f27 chore: remove debug configuration 2024-07-01 11:29:13 +02:00
Arvid Norlin edc2216d83 feat: add instrumentation 2024-07-01 11:29:13 +02:00
Michael Zetterberg d28cbf10c7 feat: add jest and initial tests for masking values 2024-06-19 15:17:02 +02:00
Christel Westerberg 5c50ac060d Merged in fix/header-parallel-route (pull request #238)
Static pages sync

Approved-by: Michael Zetterberg
2024-06-18 09:43:01 +00:00
Chuma McPhoy 7fa8dee450 chore: add ts plugin for css modules 2024-06-14 09:33:35 +02:00
Christel Westerberg 512738428e chore: cleanup and remove hello world test case 2024-06-14 07:52:16 +02:00
Simon Emanuelsson de79c2dc80 feat(WEB-220): label translations 2024-06-05 13:25:10 +02:00
Simon Emanuelsson 16b817f469 feat(WEB-250): overview hero final ui 2024-05-30 17:56:56 +02:00
Christel Westerberg 92879b623b chore: bump to rc 7 2024-05-21 15:19:32 +02:00
Christel Westerberg dbb1d10f9b feat: update design system 2024-05-21 15:19:32 +02:00
Michael Zetterberg f5108d1a8e feat: improve structure and error handling 2024-05-20 00:51:16 +02:00
Michael Zetterberg 62a8374144 chore(debug): envs in api functions 2024-05-17 15:16:51 +02:00
Christel Westerberg cd33e17775 fix: install clean-deep 2024-05-15 13:40:36 +02:00
Christel Westerberg b738023a43 feat: force port 3000 to make Next.js abort startup on multiple instances clashing on same port 2024-04-24 08:25:40 +02:00
Michael Zetterberg 14e93eba7c chore: lint fix 2024-04-23 14:43:17 +02:00
Simon Emanuelsson b2e992c69a feat(WEB-205, WEB-206): get breadcrumbs for my pages from contentstack 2024-04-19 09:24:38 +02:00