Joakim Jäderberg
873183ec2f
* move setLang() to a root layout
...
* fix: findLang only returns acceptable languages
* fix: fallback to use header x-lang if we haven't setLang yet
* fix: languageSchema, allow uppercase
Approved-by: Linus Flood
2025-02-19 09:06:37 +00:00
Christian Andolf
06d861fb6f
chore: add no unused vars lint rule
2025-02-17 10:43:54 +01:00
Michael Zetterberg
d2ce9c0d7c
fix(i18n): prepare for Lokalise
2025-01-13 13:35:03 +01:00
Linus Flood
742a2820d1
Merge remote-tracking branch 'origin' into feature/tracking
2024-12-13 09:02:37 +01:00
Christian Andolf
e08e960209
chore: add consistent type imports
2024-12-12 11:47:44 +01:00
Linus Flood
0a3b063219
Refactor
2024-11-13 09:59:41 +01:00
Linus Flood
495e628d39
PR Fixes
2024-11-12 08:57:00 +01:00
Linus Flood
730a658930
Merge branch 'develop'
2024-11-07 10:20:12 +01:00
Michael Zetterberg
b20731e096
fix: remove loading.tsx from webviews because token refresh strategy does not work with it
2024-10-30 16:58:08 +01:00
Linus Flood
ee25198ae7
Merge branch 'develop' into feature/tracking
2024-10-28 15:23:18 +01:00
Linus Flood
4a8d38912f
Loading.tsx for webviews and suspense for footer
2024-10-25 15:02:28 +02:00
Linus Flood
42640abb2b
Fix for webviews
2024-10-17 12:50:32 +02:00
Linus Flood
e29dff1874
Refactor
2024-10-03 15:16:56 +02:00
Simon Emanuelsson
af850c90e7
feat(SW-66, SW-348): search functionality and ui
2024-09-24 09:47:31 +02:00
Michael Zetterberg
a33a69fb58
fix: improve auth handling and logging
2024-08-22 14:07:36 +02:00
Michael Zetterberg
32aa6cf273
fix(SW-236): add returnUrl to refresh
2024-08-20 15:02:02 +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
Michael Zetterberg
bc84122a40
fix(SW-236): properly handle expired token in webviews
...
Trying out a new pattern for errors in data fetching.
Next.js is not a fan of throwing errors. Instead it recommends returning
different shapes for each state. Ref:
https://nextjs.org/docs/app/building-your-application/routing/error-handling#handling-expected-errors-from-server-components
It requires some more detailing and a bit more refactoring in non webview part,
but it is a start. This webview specific implementation should not break web.
2024-08-13 16:54:33 +02:00
Christel Westerberg
c96008fb78
fix: track user on page load
2024-07-15 13:35:36 +02:00
Christel Westerberg
7068fb4e15
chore: update design system tokens
2024-07-10 07:57:11 +02:00
Christel Westerberg
e49065124b
fix: links issues, translations and layouts
2024-07-05 14:25:35 +02:00
Simon Emanuelsson
00f99912fc
feat(WEB-249): first iteration design system primitives (typography, grid)
2024-05-30 18:17:03 +02:00
Simon Emanuelsson
16b817f469
feat(WEB-250): overview hero final ui
2024-05-30 17:56:56 +02:00
Christel Westerberg
66da53925e
fix: add correct blocks and routes for points
2024-05-29 17:49:01 +02:00
Christel Westerberg
07f81c34e3
fix: refactor session handling
2024-05-28 15:05:16 +02:00
Christel Westerberg
cd3c5491ec
fix: move fonts and refactor headers in middleware
2024-05-28 12:15:40 +02:00
Christel Westerberg
f04247ed43
fix: send searchparams in rewrite
2024-05-28 11:45:40 +02:00
Christel Westerberg
215b0901c0
fix: refactor token usage and types
2024-05-28 08:30:20 +02:00
Christel Westerberg
9b295d0126
fix: move fonts
2024-05-28 08:30:20 +02:00
Christel Westerberg
c36578a83f
Fix: break out pages to dynamic route
2024-05-28 08:30:20 +02:00
Christel Westerberg
ad5fb9c89d
fix: add link to overview
2024-05-28 08:30:20 +02:00
Christel Westerberg
bac513ec4c
fix: add headers correctly
2024-05-28 08:30:20 +02:00
Christel Westerberg
158b5a5dbb
fix: rebase issues
2024-05-28 08:30:20 +02:00
Christel Westerberg
9e4f41ee46
fix: redirect users to /refresh on unauth and mod webview links
2024-05-28 08:29:52 +02:00
Christel Westerberg
777fd1e5b6
fix: set cookie in header on rewrite
2024-05-28 08:29:20 +02:00
Christel Westerberg
b58b5f368d
fix: refactor navigation of webview pages and add redirect to refresh
2024-05-28 08:29:20 +02:00
Christel Westerberg
49f760705e
feat: add webview pages
2024-05-28 08:29:20 +02:00
Christel Westerberg
d07826b2a3
fix: get access token from headers
2024-05-28 08:29:20 +02:00
Michael Zetterberg
14e93eba7c
chore: lint fix
2024-04-23 14:43:17 +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