Michael Zetterberg
2c0116e67b
fix: stricter types for adobeDataLayer
2024-07-30 15:44:38 +02: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
Michael Zetterberg
80c80fe1bd
fix(SW-122): align loyalty level benefits to top
2024-07-24 10:29:20 +02:00
Michael Zetterberg
6db7de35ff
fix(SW-122): only render My pages link in menu for authenticated users
2024-07-24 10:28:51 +02:00
Michael Zetterberg
68df666487
fix: add ctx to trpc error output.
2024-06-26 07:17:07 +02:00
Michael Zetterberg
70f0a906d3
fix: exclude inaccessible links from nav
2024-06-20 09:29:12 +02:00
Michael Zetterberg
1a6a31bfe9
fix: bg for tables
2024-06-20 08:02:09 +02:00
Michael Zetterberg
2002604711
fix: bg color on earn and burn table rows
2024-06-20 07:44:27 +02:00
Michael Zetterberg
39d0bb6259
fix: do not prefetch logout
2024-06-20 07:33:41 +02:00
Michael Zetterberg and Christel Westerberg
d28cbf10c7
feat: add jest and initial tests for masking values
2024-06-19 15:17:02 +02:00
Michael Zetterberg
19d8b757cd
feat: improve error handling
2024-05-31 09:22:17 +02:00
Michael Zetterberg
3ea53c907e
feat: error handling for breadcrumbs
2024-05-31 09:07:16 +02:00
Michael Zetterberg
1e319fb756
fix: encode redirect url
2024-05-31 08:41:34 +02:00
Michael Zetterberg and Christel Westerberg
888c33e3b3
chore(debug): auth
2024-05-28 08:28:54 +02:00
Michael Zetterberg
e00da4278d
Reapply "feat: use v1 profile api"
...
This reverts commit d7766a89de .
2024-05-23 13:18:50 +02:00
Michael Zetterberg
38872567bf
chore(debug): envs in edge functions
2024-05-22 12:30:42 +02:00
Michael Zetterberg
13575376b1
chore(debug): envs in edge functions
2024-05-22 11:50:29 +02:00
Michael Zetterberg
d7766a89de
Revert "feat: use v1 profile api"
...
This reverts commit 61e6d7ee39 and 2cfdbc19a9 .
2024-05-21 15:58:30 +02:00
Michael Zetterberg
eb607abdf9
chore(debug): output request headers in function
2024-05-21 14:03:51 +02:00
Michael Zetterberg
61e6d7ee39
feat: use v1 profile api
2024-05-21 13:58:37 +02:00
Michael Zetterberg
2cfdbc19a9
feat: use v1 profile api
2024-05-21 13:05:29 +02:00
Michael Zetterberg
0c8fed0b37
fix(auth): enable seamless login
2024-05-20 10:31:26 +02:00
Michael Zetterberg
6d85bb5887
fix: passing headers
2024-05-20 10:21:22 +02:00
Michael Zetterberg
d9ca0d7b52
Merged in feat/refresh-token (pull request #139 )
...
Feat/refresh token
2024-05-20 07:13:41 +00:00
Michael Zetterberg
476e9f7582
fix(auth): make things work
2024-05-20 09:10:20 +02:00
Michael Zetterberg
68f1e87169
fix: clean up
2024-05-20 01:10:05 +02:00
Michael Zetterberg
6d0607a00b
Merged in feat/error-handling (pull request #182 )
...
Feat/error handling
2024-05-19 23:07:50 +00:00
Michael Zetterberg
f5108d1a8e
feat: improve structure and error handling
2024-05-20 00:51:16 +02:00
Michael Zetterberg
01587d7fd5
fix: do not mutate api default options
2024-05-19 20:22:05 +02:00
Michael Zetterberg
21488fec2e
docs(env): document update-dotenv.mjs
2024-05-19 20:17:53 +02:00
Michael Zetterberg
8772d30b25
feat(my-pages): redirect to overview in middleware
2024-05-19 19:42:47 +02:00
Michael Zetterberg
068f19edb7
fix(auth): public url
2024-05-19 17:34:07 +02:00
Michael Zetterberg
a8d685c949
fix(auth): use public url for redirect
2024-05-19 11:54:03 +02:00
Michael Zetterberg
89cc410b1d
feat(env): handle dynamic env
2024-05-19 11:00:05 +02:00
Michael Zetterberg
f27e105898
fix(auth): clean up
2024-05-19 09:27:56 +02:00
Michael Zetterberg
b2c8a2ccaf
chore(debug): envs in api functions
2024-05-19 09:21:49 +02:00
Michael Zetterberg
7db829f907
chore(debug): envs in api functions
2024-05-18 09:07:38 +02:00
Michael Zetterberg
11f3928525
chore(debug): envs in api functions
2024-05-17 15:32:01 +02:00
Michael Zetterberg
f782ae796e
chore(debug): envs in api functions
2024-05-17 15:26:25 +02:00
Michael Zetterberg
62a8374144
chore(debug): envs in api functions
2024-05-17 15:16:51 +02:00
Michael Zetterberg
53ffe519cd
chore(debug): envs in api functions
2024-05-17 14:24:15 +02:00
Michael Zetterberg
e9be5a33a9
chore(debug): envs in api functions
2024-05-17 14:17:55 +02:00
Michael Zetterberg
afb27fc173
chore(debug): envs in api functions
2024-05-17 11:11:36 +02:00
Michael Zetterberg
938200128f
chore(debug): envs in api functions
2024-05-17 10:57:45 +02:00
Michael Zetterberg
5e3041a73a
fix: rewriting rules for my-pages
2024-05-16 15:22:47 +02:00
Michael Zetterberg
f1682b5a15
fix: redirect root my pages to overview page
2024-05-16 15:22:47 +02:00
Michael Zetterberg
4493c33645
chore(debug): add breadcrumbs to bypass
2024-05-16 09:09:52 +02:00
Michael Zetterberg
1c64e2fcd3
chore(debug): add layout to bypass
2024-05-16 08:21:49 +02:00
Michael Zetterberg
3153f158a9
Revert "chore(debug): auth"
...
This reverts commit 2097807062 .
2024-05-16 08:19:17 +02:00
Michael Zetterberg
2097807062
chore(debug): auth
2024-05-15 14:59:47 +02:00
Michael Zetterberg
0a862ca770
chore(debug): auth
2024-05-14 16:32:17 +02:00
Michael Zetterberg
b377317e07
chore(debug): next-auth url
2024-04-28 10:32:22 +02:00
Michael Zetterberg
8e05f03f16
chore(debug): next-auth url
2024-04-28 09:40:09 +02:00
Michael Zetterberg
8fb7ac9a2a
chore(debug): next-auth url
2024-04-28 08:32:08 +02:00
Michael Zetterberg
f9fbeadbb7
chore(debug): next-auth url
2024-04-28 08:00:40 +02:00
Michael Zetterberg
204f0f45ce
Merged in fix/seamless-login-env-url (pull request #144 )
...
fix(WEB-132): dedidcated URLs for stable environments
2024-04-26 12:23:26 +00:00
Michael Zetterberg
d343657772
fix(WEB-132): dedidcated URLs for stable environments
2024-04-26 14:06:31 +02:00
Michael Zetterberg
99ba0b0663
fix(WEB-132): add debug env var for next-auth
2024-04-26 11:56:50 +02:00
Michael Zetterberg
bcbc829e2e
fix(WEB-132): absolute seamless login return urls
2024-04-26 08:26:36 +02:00
Michael Zetterberg and Simon.Emanuelsson
7dc07c256c
Merged in feat/env-in-functions (pull request #134 )
...
feat: set NEXTAUTH_URL based on DEPLOY_PRIME_URL on Netlify
Approved-by: Simon.Emanuelsson
2024-04-23 15:00:01 +00:00
Michael Zetterberg and Simon.Emanuelsson
ac9140811a
Merged in feat/lint-sort (pull request #130 )
...
Feat/lint sort
Approved-by: Matilda Landström
Approved-by: Simon.Emanuelsson
2024-04-23 12:58:27 +00:00
Michael Zetterberg
14e93eba7c
chore: lint fix
2024-04-23 14:43:17 +02:00
Michael Zetterberg
abdc48f57f
feat: run 'next lint' in lint-staged
2024-04-23 14:31:23 +02:00
Michael Zetterberg
a512cd04b5
fix: lint
2024-04-23 14:31:23 +02:00
Michael Zetterberg
e2252c01cf
feat: set NEXTAUTH_URL based on DEPLOY_PRIME_URL on Netlify
2024-04-23 14:28:11 +02:00
Michael Zetterberg
2f6500f46d
feat: static my stays
2024-04-20 07:24:54 +02:00
Michael Zetterberg
b60f5c3858
fix: user initials in header
2024-04-18 15:46:32 +02:00
Michael Zetterberg and Simon.Emanuelsson
d2c1887179
Merged in feat/upgrade-nextjs-plugin (pull request #125 )
...
chore(deps): upgrade @netlify/plugin-nextjs to 5.1.1
Approved-by: Simon.Emanuelsson
2024-04-18 06:48:56 +00:00
Michael Zetterberg
98aefc107a
chore(deps): upgrade @netlify/plugin-nextjs to 5.1.1
2024-04-18 08:45:24 +02:00
Michael Zetterberg and Simon.Emanuelsson
c1b713ff25
Merged in feat/locale-my-pages-nav (pull request #120 )
...
fix: my pages navigation locale aware
Approved-by: Simon.Emanuelsson
2024-04-17 17:46:59 +00:00
Michael Zetterberg and Simon.Emanuelsson
dce31a500a
Merged in fix/clean-up-static (pull request #123 )
...
fix: clean up old static assets not in use anymore
Approved-by: Simon.Emanuelsson
2024-04-17 17:44:53 +00:00
Michael Zetterberg and Simon.Emanuelsson
f01a6a134e
Merged in fix/icon-paths (pull request #122 )
...
fix: change icon paths to _static
Approved-by: Simon.Emanuelsson
2024-04-17 17:44:27 +00:00
Michael Zetterberg and Simon.Emanuelsson
549dfe356f
Merged in fix/authjs-config (pull request #121 )
...
fix: authjs config
Approved-by: Simon.Emanuelsson
2024-04-17 17:43:49 +00:00
Michael Zetterberg
94dbd0f887
fix: clean up old static assets not in use anymore
2024-04-17 17:32:24 +02:00
Michael Zetterberg
d2372b4377
fix: change icon paths to _static
2024-04-17 17:29:24 +02:00
Michael Zetterberg
7d0e58a7fe
fix: authjs config
2024-04-17 17:16:27 +02:00
Michael Zetterberg
f1907d4ae8
fix: my pages navigation locale aware
2024-04-17 17:03:04 +02:00
Michael Zetterberg and Simon.Emanuelsson
0039428c76
Merged in feat/logout (pull request #119 )
...
feat: logout endpoint
Approved-by: Simon.Emanuelsson
2024-04-17 13:57:37 +00:00
Michael Zetterberg
ca7afd3eb8
feat: logout endpoint
2024-04-17 15:51:36 +02:00
Michael Zetterberg
68beec3ac4
fix: move /api to /api/web
2024-04-17 09:27:34 +02:00
Michael Zetterberg and Simon.Emanuelsson
349afd4100
Merged in feat/api-web (pull request #110 )
...
chore: move /api to /api/web
2024-04-16 10:05:26 +00:00
Michael Zetterberg and Simon.Emanuelsson
59879bcd6c
Merged in feat/husky-v9 (pull request #112 )
...
chore(deps): migrate to Husky v9
2024-04-16 09:44:19 +00:00
Michael Zetterberg
abe4b67c3a
chore(deps): migrate to Husky v9
2024-04-16 11:36:53 +02:00
Michael Zetterberg
41c29efd82
chore: move /api to /api/web
2024-04-16 11:11:48 +02:00
Michael Zetterberg
7be4766c00
feat(WEB-132): add seamless login flow
2024-04-10 12:48:44 +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
Michael Zetterberg
7ebc604156
feat: rename use of locale to lang where applicable
2024-04-08 15:17:07 +02:00
Michael Zetterberg
f2fc73d2dc
chore: update comment on middleware conditional use of auth
2024-03-28 06:48:56 +01:00
Michael Zetterberg
19d89d04a5
Merged in feat/disable-cache-drop1 (pull request #66 )
...
feat(WEB-129): disable fetch cache for CurrentWeb pages
Approved-by: Christel Westerberg
2024-03-26 07:32:50 +00:00
Michael Zetterberg
ea3614f9b7
feat(WEB-129): disable fetch cache for CurrentWeb pages
2024-03-14 16:46:11 +01:00
Michael Zetterberg and Arvid Norlin
10b52112af
Merged in feat/netlify-nextjs-beta (pull request #37 )
...
feat: Netlify Next.js Runtime Beta
Approved-by: Arvid Norlin
2024-02-20 12:29:16 +00:00
Michael Zetterberg
71e129b71f
feat: Netlify Next.js Runtime Beta
2024-02-19 15:07:23 +01:00
Michael Zetterberg
a91781137a
chore: convert avif to jpg
2024-02-01 12:41:58 +01:00
Michael Zetterberg
2e0e33066e
chore: remove hash from css static assets
2024-01-25 17:37:21 +01:00
Michael Zetterberg
7f14bcda1d
chore: remove hash from js static assets
2024-01-25 17:30:20 +01:00
Michael Zetterberg and Christel Westerberg
9d7c312f3e
Merged in feat/improve-typings (pull request #4 )
...
feat(WEB-36): improve typings
Approved-by: Christel Westerberg
2024-01-18 12:38:45 +00:00
Michael Zetterberg
363580dac2
feat(WEB-36): improve typings
2024-01-18 13:26:38 +01:00
Michael Zetterberg
0a208923f8
feat(WEB-37): scandic css file and linked static assets
2024-01-12 12:00:42 +01:00
Michael Zetterberg
a0f9d45f1d
feat(WEB-37): core css file and linked static assets
2024-01-12 10:58:20 +01:00