Commit Graph

345 Commits

Author SHA1 Message Date
Matilda Landström
401b019f41 chore: update styling for loyalty table 2024-06-19 17:49:11 +02:00
Matilda Landström
81c7a60eff chore: update loyalty level table 2024-06-19 17:49:11 +02:00
Matilda Landström
469f97dee5 chore: update background color for shortcuts and current level benefits 2024-06-19 17:49:11 +02:00
Matilda Landström
9b1b4bd40f chore: update navigation active color 2024-06-19 17:49:11 +02:00
Chuma Mcphoy (We Ahead)
5af198613a Merged in feat/mypages-mobile-dropdown (pull request #256)
Feat/mypages mobile dropdown

Approved-by: Michael Zetterberg
2024-06-19 15:13:52 +00:00
Chuma McPhoy
df82073e14 fix: Divider spacing in mobile dropdown 2024-06-19 17:13:01 +02:00
Chuma McPhoy
facff498ba feat: introduce and use subtle color for divider 2024-06-19 17:13:00 +02:00
Chuma McPhoy
f32a5c3608 fix: Update main menu left padding 2024-06-19 17:12:39 +02:00
Chuma McPhoy
d5c9a934f8 feat: Add my pages linkk to desktop main menu and hide on mobile 2024-06-19 17:12:39 +02:00
Chuma McPhoy
665d757102 fix: Update laptop breakpoint to match my pages sidebar 2024-06-19 17:12:39 +02:00
Chuma McPhoy
634e9651ec feat: use avatar component in hamburger dropdown 2024-06-19 17:12:39 +02:00
Chuma McPhoy
7419aed0d3 fix: further main menu spacing fixes 2024-06-19 17:12:39 +02:00
Chuma McPhoy
be90a7b929 fix: listwrapper main menu dektop alignment 2024-06-19 17:12:39 +02:00
Chuma McPhoy
0d6498c654 fix: pass in lang to mobile dropdown and render logout button 2024-06-19 17:12:39 +02:00
Chuma McPhoy
f2a467af0d fix: use mobile header layout until desktop breakpoint 2024-06-19 17:12:39 +02:00
Chuma McPhoy
e92b6cc27d feat: pass in navigation from server components 2024-06-19 17:12:39 +02:00
Chuma McPhoy
da1f142b57 feat: Add mobile dropdown variant for Link component 2024-06-19 17:12:38 +02:00
Chuma McPhoy
1326789683 feat: Pass User in to main menu and introduce avatar and dropdown 2024-06-19 17:12:38 +02:00
Chuma McPhoy
88795b673d feat: Add avatar component and get initials logic 2024-06-19 17:12:38 +02:00
Chuma McPhoy
cfb08fff2c feat: add my pages mobile dropdown cmoponent, parallel route, and consume + zustand store 2024-06-19 17:12:38 +02:00
Chuma McPhoy
f5d998d056 feat: add capitalize text transform variant for Title 2024-06-19 17:12:38 +02:00
Arvid Norlin
6e45749e8e fix: enable use of links in descriptions by dangerouslySetting HTML 2024-06-19 17:07:24 +02:00
Arvid Norlin
9efe3e25e4 chore: add FI translations for Loyalty Overview 2024-06-19 17:07:24 +02:00
Arvid Norlin
f6de0c8337 chore: add DE translations for Loyalty Overview 2024-06-19 17:07:24 +02:00
Arvid Norlin
bdc1edcf04 chore: add DA translations for Loyalty Overview 2024-06-19 17:07:24 +02:00
Arvid Norlin
13f301966b chore: add NO translations for Loyalty Overview 2024-06-19 17:07:24 +02:00
Arvid Norlin
ed02eac812 chore: remove whitespace 2024-06-19 17:07:24 +02:00
Arvid Norlin
ef2ebe6d16 chore: add SV translations for Loyalty Overview 2024-06-19 17:07:24 +02:00
Arvid Norlin
cccb1edb40 chore: update EN translations for Loyalty Overview 2024-06-19 17:07:24 +02:00
Chuma Mcphoy (We Ahead)
8177b3ae0c Merged in feat/my-pages-title-link-updates (pull request #259)
feat: update link titles to include arrows + ui updates

Approved-by: Christel Westerberg
Approved-by: Michael Zetterberg
2024-06-19 14:55:33 +00:00
Christel Westerberg
b0b9ac15cc fix: button for empty stays 2024-06-19 16:15:33 +02:00
Christel Westerberg
4233ecae42 fix: update ui 2024-06-19 16:15:33 +02:00
Christel Westerberg
29e8a56f74 fix: send down user as null for overview table to handle 2024-06-19 16:15:33 +02:00
Chuma McPhoy
f009611028 feat: collapse arrow link to its own column on mobile 2024-06-19 15:29:36 +02:00
Michael Zetterberg
d28cbf10c7 feat: add jest and initial tests for masking values 2024-06-19 15:17:02 +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
Chuma McPhoy
95cfe82256 feat: update link titles to include arrows + ui updates 2024-06-19 14:49:38 +02:00
Chuma McPhoy
a7b04df7b6 fix: Remove explore all benefits link from benefits page 2024-06-19 13:09:40 +02:00
Matilda Landström
ba0b00832d Merged in feat/creditCards-api (pull request #240)
feat(WEB-295): Add creditCards profile endpoint

Approved-by: Michael Zetterberg
2024-06-19 07:49:32 +00:00
Christel Westerberg
928b2af698 fix: filter out empty children 2024-06-18 16:21:43 +02:00
Christel Westerberg
ceee9fd154 refactor: break out Section container 2024-06-18 16:21:06 +02:00
Matilda Landström
fa5638aaed feat: add credit cards endpoint 2024-06-18 15:48:50 +02:00
Matilda Landström
9931d9edef Merged in feat/membership-information (pull request #233)
Feat(WEB-307) Display correct membership information

* fix: fix typo

* chore: update fetch of user membership

* chore: update components to use api data

* chore: remove lang as static value

* fix: adapt to dev updates

* fix: adapt to code from dev

* fix: break out MembershipLevel into its a React component

* fix: add enum to zod validation

* refactor: rename tier to level

* refactor: remove unnecessary casts

* refactor: change toString() to hideEmpty=false

* refactor: remove toString()

* refactor: remove hideEmpty from title and subtitle

* fix: update currentLevel with data

* fix: fix from rebase


Approved-by: Michael Zetterberg
2024-06-18 13:14:09 +00: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
5c50ac060d Merged in fix/header-parallel-route (pull request #238)
Static pages sync

Approved-by: Michael Zetterberg
2024-06-18 09:43:01 +00:00
Arvid Norlin
bd456ea92e fix: correct typo 2024-06-14 13:26:10 +02:00
Arvid Norlin
04dfad95ec fix: make membershipLevel since not present on all membership types 2024-06-14 11:43:00 +02:00
Christel Westerberg
b4f57d5ae3 refactor: breakout section header 2024-06-14 08:29:36 +02:00
Christel Westerberg
16ee1bf493 fix: return baseUrls if no uid is given to language switcher query 2024-06-14 07:57:35 +02:00