Commit Graph

38 Commits

Author SHA1 Message Date
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
Linus Flood 5e8efb4a27 More memoized requests 2024-10-28 11:20:59 +01:00
Linus Flood 98b48b8290 More PR fixes 2024-09-18 15:31:15 +02:00
Linus Flood df90387f1a Some pr fixes 2024-09-12 19:44:44 +02:00
Linus Flood 1d9a8f9e70 Langswitcher as parallel instead of Header. Using promise.all and added some Suspenses 2024-09-12 19:44:44 +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 6b5606fc8b fix: design review comments 2024-07-10 16:01:28 +02:00
Matilda Landström edb45b4ac7 chore: update colors to new design 2024-06-19 17:52:19 +02:00
Matilda Landström 9b1b4bd40f chore: update navigation active color 2024-06-19 17:49:11 +02:00
Simon Emanuelsson aca9221ea6 feat: loosen up the zod validations and return null instead of throwing 2024-06-18 12:28:05 +02:00
Simon Emanuelsson 7c4b8401e9 feat(WEB-304): remaning UI from design system primitives 2024-06-13 10:00:16 +02:00
Simon Emanuelsson de79c2dc80 feat(WEB-220): label translations 2024-06-05 13:25:10 +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
Arvid Norlin f2b8ddae8e debug: add prefetch=false to logout link 2024-05-24 10:48:45 +02:00
Matilda Landström bb4b383caf fix: destructure lang prop 2024-05-23 14:15:02 +02:00
Matilda Landström 3085cccf8b chore: add lang for logout href 2024-05-23 14:05:02 +02:00
Matilda Landström a43754d624 chore: change sidebar logout href 2024-05-23 14:05:02 +02:00
Michael Zetterberg f5108d1a8e feat: improve structure and error handling 2024-05-20 00:51:16 +02:00
Simon Emanuelsson 1bffbc837e feat(WEB-209): revalidate my pages navigation on demand 2024-05-06 13:44:22 +02:00
Arvid Norlin bfaacd7b5d feat: add handling of external linking in My Pages Navigation 2024-05-06 10:09:32 +02:00
Christel Westerberg af96964fb2 fix: linting 2024-04-29 14:02:34 +02:00
Christel Westerberg c00f7b78eb feat(WEB-131): add loyalty page 2024-04-29 14:01:20 +02:00
Michael Zetterberg 14e93eba7c chore: lint fix 2024-04-23 14:43:17 +02:00
Michael Zetterberg 41c29efd82 chore: move /api to /api/web 2024-04-16 11:11:48 +02:00
Simon Emanuelsson 38f764e0ff feat: breadcrumbs for My Pages 2024-04-16 10:09:10 +02:00
Arvid Norlin 33b4d1d9fc fix: add nav title 2024-04-16 09:39:02 +02:00
Simon Emanuelsson 9396b2c3d5 feat(WEB-170): edit profile view 2024-04-16 09:24:31 +02:00
Simon Emanuelsson 82e4d40203 feat(WEB-154): my profile view 2024-04-12 16:25:52 +02:00
Arvid Norlin c0b68f9e5b refactor: Extract Sidebar Link to component 2024-04-11 13:53:26 +02:00
Arvid Norlin 56ccce346d fix: add logic for Link active styles 2024-04-11 13:53:26 +02:00
Arvid Norlin 3630598f03 fix: use navigation urls 2024-04-11 13:53:26 +02:00
Arvid Norlin de025fc889 fix: add navigation subitems 2024-04-11 13:53:26 +02:00
Arvid Norlin e5876e4e14 feat: add initial my pages navigation 2024-04-11 13:53:26 +02:00
Simon Emanuelsson 8f87d6368c feat(WEB-167): update my pages layout to MVP wireframes 2024-04-05 08:43:58 +02:00
Simon Emanuelsson b173c2fb11 feat(WEB-128): desktop and mobile initial wireframe implemented 2024-03-19 07:40:14 +01:00