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
Michael Zetterberg
1e92348fb4
fix(SW-126): remove feature flag communications settings in profile
2024-10-29 12:56:30 +01:00
Linus Flood
687a110a39
Utilizing memoized requests
2024-10-25 15:33:06 +02:00
Michael Zetterberg
261d1bc3c7
fix(SW-126): feature flag communications settings in profile
2024-10-16 07:30:45 +02:00
Christel Westerberg
2886084a82
feat: add communication preferences
...
feat: add generatePreferencesLink
feat: add subscriberId endpoint
2024-10-08 08:25:44 +02:00
Simon Emanuelsson
af850c90e7
feat(SW-66, SW-348): search functionality and ui
2024-09-24 09:47:31 +02:00
Tobias Johansson
bc3233ff64
Merged in feat/SW-196-design-fixes (pull request #547 )
...
Feat/SW-196 design fixes
* feat(SW-196): Updated copy My credit cards -> My payment cards
* fix: update design system version
* feat(SW-196): Update Header component to use Preamble instead of Subtitle
* feat(SW-196): Minor design fixes
Approved-by: Christel Westerberg
2024-09-03 08:43:13 +00:00
Michael Zetterberg
64fbf2ec17
fix: don't prefetch the edit profile link
2024-08-29 09:22:54 +02:00
Simon Emanuelsson
93526ce693
fix: rename retried-wrapped fetch to make caching work again
2024-08-28 14:55:31 +02:00
Simon.Emanuelsson
388060086e
Merged in feat/masked-values (pull request #489 )
...
feat: handle masked values only based on MFA
Approved-by: Michael Zetterberg
Approved-by: Arvid Norlin
2024-08-26 09:19:02 +00:00
Simon Emanuelsson
61b722d9ad
feat: handle masked values only based on MFA
2024-08-26 11:06:01 +02:00
Christel Westerberg
231edbe944
fix: default language if missing in profile
2024-08-26 10:52:13 +02:00
Simon Emanuelsson
2337d37f1a
feat(SW-160): update profile
2024-08-23 09:09:55 +02:00
Tobias Johansson
e9a6499086
feat(SW-245): Delete credit card
2024-08-21 16:24:39 +02:00
Christel Westerberg
2af17ef4d8
fix: route unlocalized login and logout correctly
2024-08-21 16:00:35 +02:00
Michael Zetterberg
63ce8a2dfb
fix(SW-104): use relative url for initiation
2024-08-21 15:25:37 +02:00
Tobias Johansson
84f5e74f00
Merged in feat/SW-104-add-card (pull request #410 )
...
Feat/SW-104 add card
* feat: add api endpoints for adding and removing credit card
* feat(SW-104): Added Sonner toast lib
* feat(SW-104): Add route handlers for add card flow
* feat(SW-104): Added link to route handler and trigger toast when query params from callback is set
* feat(SW-104): Added translations for add card success toast
* feat(SW-104): Refactored to use client request for initiate save card
* fix(SW-104): Return proper status codes when initiating save card fails
* fix(SW-104): remove delete card endpoint because it was added in SW-245
* fix(SW-104): remove console.log
* fix(SW-104): Use api.post for save card request
* fix(SW-104): move function declaration above export
* fix(SW-104): handle response of save card and use Lang enum
* fix(SW-104): added comment for why setTimeout is needed for toast and also removed lang prop
* fix(SW-104): added type for AddCreditCardButton props
* feat: add toasts
* fix(SW-104): start using toasts from ToastHandler and fix problem with duplicate toasts
* fix(SW-104): remove unnecessary wrapping div
Approved-by: Michael Zetterberg
2024-08-20 15:04:02 +00: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
da74babef9
fix: mobile form ui and parse phone number bug
2024-07-17 09:38:30 +02:00
Christel Westerberg
09b1d322a7
feat: list credit card according to design
2024-07-16 15:50:26 +02:00
Christel Westerberg
62310caa90
fix: make all h4 and subtitles capitalized
2024-07-15 15:07:23 +02:00
Christel Westerberg
183e1cd6d2
fix: refactor tracking requests
2024-07-15 13:35:36 +02:00
Christel Westerberg
c7446032fe
fix: handle webviews
2024-07-15 13:35:36 +02:00
Christel Westerberg
c96008fb78
fix: track user on page load
2024-07-15 13:35:36 +02:00
Christel Westerberg
546679387f
feat: add tracking to account pages
2024-07-15 13:35:36 +02:00
Christel Westerberg
7068fb4e15
chore: update design system tokens
2024-07-10 07:57:11 +02:00
Simon Emanuelsson
be47e42163
fix: whitelist server action proxies
2024-06-24 12:41:09 +02:00
Matilda Landström
3e54d3c29e
chore: add memberships "endoint"
2024-06-19 17:36:50 +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
de79c2dc80
feat(WEB-220): label translations
2024-06-05 13:25:10 +02:00
Christel Westerberg
1bc8753649
feat: implement new design for button
2024-05-21 15:23:06 +02:00
Michael Zetterberg
14e93eba7c
chore: lint fix
2024-04-23 14:43:17 +02:00
Simon Emanuelsson
b2e992c69a
feat(WEB-205, WEB-206): get breadcrumbs for my pages from contentstack
2024-04-19 09:24:38 +02:00
Simon Emanuelsson
55794034c5
feat(WEB-169): get profile data from API
2024-04-18 13:53:49 +02:00
Simon Emanuelsson
3aeaee64fb
fix: parallell routes needs a page.tsx in root not just in catchAll route
2024-04-16 13:24:00 +02:00
Simon Emanuelsson
752e8e11da
feat: move my-pages view to overview
2024-04-16 10:19:37 +02:00
Simon Emanuelsson
38f764e0ff
feat: breadcrumbs for My Pages
2024-04-16 10:09:10 +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