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
Michael Zetterberg
d2ce9c0d7c
fix(i18n): prepare for Lokalise
2025-01-13 13:35:03 +01:00
Linus Flood
ec0a87aed7
feat/sw-1266: mask private info in hotjar recordings
2024-12-19 11:00:00 +01:00
Christian Andolf
e08e960209
chore: add consistent type imports
2024-12-12 11:47:44 +01:00
Christian Andolf
f6b3cf8b92
chore: replace function expression with inline statement
...
replace destructuring for better static analysis
remove unused variables
2024-11-08 09:25:28 +01:00
Simon Emanuelsson
af850c90e7
feat(SW-66, SW-348): search functionality and ui
2024-09-24 09:47:31 +02:00
Michael Zetterberg
64fbf2ec17
fix: don't prefetch the edit profile link
2024-08-29 09:22:54 +02:00
Christel Westerberg
231edbe944
fix: default language if missing in profile
2024-08-26 10:52:13 +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
62310caa90
fix: make all h4 and subtitles capitalized
2024-07-15 15:07:23 +02:00
Christel Westerberg
546679387f
feat: add tracking to account pages
2024-07-15 13:35:36 +02:00
Simon Emanuelsson
be47e42163
fix: whitelist server action proxies
2024-06-24 12:41:09 +02:00
Simon Emanuelsson
d84efcbb0f
feat(WEB-162): final design edit profile page
2024-06-19 14:51:00 +02:00
Simon Emanuelsson
5f3e417593
feat(WEB-162): final design for my profile page
2024-06-19 14:51:00 +02:00
Simon Emanuelsson
55794034c5
feat(WEB-169): get profile data from API
2024-04-18 13:53:49 +02:00
Simon Emanuelsson
9396b2c3d5
feat(WEB-170): edit profile view
2024-04-16 09:24:31 +02:00