Commit Graph

30 Commits

Author SHA1 Message Date
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
c96008fb78 fix: track user on page load 2024-07-15 13:35:36 +02:00
Christel Westerberg
edb6005a72 fix: support for tracking link clicks 2024-07-15 13:35:36 +02:00
Christel Westerberg
cccfbfe29a fix: grids and lists in rte 2024-07-08 15:28:58 +02:00
Christel Westerberg
55a71f001f fix: change name of myPages link vaariant to underscored 2024-07-08 08:06:16 +02:00
Christel Westerberg
d7b87585b9 fix: get joinloyalty button from contentstack 2024-07-05 13:53:07 +02:00
Christel Westerberg
d206d576a7 fix: add my pages nav sidebar for logged in users 2024-07-01 11:46:35 +02:00
Christel Westerberg
323df671d8 fix: add loyaltyCard 2024-07-01 11:46:35 +02:00
Christel Westerberg
5be118d9e5 fix: update loyalty cards and join loyalty sidebar design 2024-07-01 11:46:35 +02:00
Simon Emanuelsson
5f3e417593 feat(WEB-162): final design for my profile page 2024-06-19 14:51:00 +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
Christel Westerberg
d8f25925df fix: error page for language switcher 2024-06-14 07:52:16 +02:00
Christel Westerberg
d84c27b73c fix: add keys on mapped components 2024-06-14 07:52:16 +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
Christel Westerberg
dd930688fc fix: sync current header with static-pages 2024-05-31 09:25:15 +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
a19b0687bb fix: refactor use of tokens 2024-05-21 15:23:06 +02:00
Michael Zetterberg
f5108d1a8e feat: improve structure and error handling 2024-05-20 00:51:16 +02:00
Christel Westerberg
2bd757b29c refactor: move all loyalty enums to new file 2024-05-02 11:40:22 +02:00
Christel Westerberg
d9f1470eb7 refactor: zod validation and pr comments 2024-04-29 14:31:30 +02:00
Christel Westerberg
91dfd38141 fix: add padding to rte in sidebar 2024-04-29 14:02:04 +02:00
Christel Westerberg
49b7aa89f8 refactor: infer types from zod validation 2024-04-29 14:02:04 +02:00
Christel Westerberg
00f30811cf feat: add card grid component 2024-04-29 14:02:03 +02:00
Christel Westerberg
2ddabf1e50 feat: add blocks for loyalty page 2024-04-29 14:02:03 +02:00
Christel Westerberg
fc0e5aed02 feat: create blocks component for loyalty 2024-04-29 14:02:03 +02:00
Christel Westerberg
3a0c8610dc feat: add JoinLoyalty component 2024-04-29 14:01:21 +02:00