Commit Graph

69 Commits

Author SHA1 Message Date
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
Simon Emanuelsson
55794034c5 feat(WEB-169): get profile data from API 2024-04-18 13:53:49 +02:00
Michael Zetterberg
98aefc107a chore(deps): upgrade @netlify/plugin-nextjs to 5.1.1 2024-04-18 08:45:24 +02:00
Michael Zetterberg
abe4b67c3a chore(deps): migrate to Husky v9 2024-04-16 11:36:53 +02:00
Simon Emanuelsson
9396b2c3d5 feat(WEB-170): edit profile view 2024-04-16 09:24:31 +02:00
Christel Westerberg
a99b2d3f08 fix: add intents for buttons 2024-04-12 16:10:58 +02:00
Christel Westerberg
85b83bc58b fix: add next level perks block 2024-04-12 16:10:58 +02:00
Michael Zetterberg
7093a0b2dd feat(WEB-132): add middlewares, support for seamless login and improve lang based routes 2024-04-10 11:23:38 +02:00
Christel Westerberg
d0ace90015 chore: install stable version of nextjs runtime 2024-04-08 11:27:25 +02:00
Simon Emanuelsson
8c8fa2d02c feat: finish my pages overview page according to wireframe 2024-04-02 13:43:23 +02:00
Simon Emanuelsson
ec4da5798b feat(WEB-127): add trpc to handle requests both serverside and clientside 2024-03-27 11:56:06 +01:00
Simon Emanuelsson
b173c2fb11 feat(WEB-128): desktop and mobile initial wireframe implemented 2024-03-19 07:40:14 +01:00