Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
Matilda Landström
c8247bb2e4 refactor: move contentype to header 2024-05-30 16:07:42 +02:00
Matilda Landström
3b14b9fa48 fix: add typing 2024-05-30 16:07:17 +02:00
Arvid Norlin
470e308480 chore: css fixes 2024-05-23 15:42:52 +02:00
Arvid Norlin
795fe400cb fix: update friendTransaction model according to API 2024-05-23 14:59:26 +02:00
Arvid Norlin
9ef9de840c feat: add data handling to EarnAndBurn 2024-05-23 14:59:26 +02:00
Arvid Norlin
7ad8726633 feat: add initial support for points page 2024-05-23 14:59:26 +02:00
Michael Zetterberg
f5108d1a8e feat: improve structure and error handling 2024-05-20 00:51:16 +02:00
Christel Westerberg
5d15e5605f feat: add two and three column grid variants 2024-05-15 09:43:29 +02:00
Christel Westerberg
b054fc2597 fix: add nullable values for account page 2024-05-14 11:24:19 +02:00
Christel Westerberg
ed052dbfa4 fix: change optional to nullable in validation 2024-05-14 11:24:19 +02:00
Christel Westerberg
661a8019d3 feat: enhance stays with api data 2024-05-14 10:33:15 +02:00
Arvid Norlin
58d2963d6a chore: organize types 2024-05-03 08:16:52 +02:00
Arvid Norlin
2ddcbff009 fix: move user fetch 2024-05-03 08:16:52 +02:00
Arvid Norlin
03daf0540e fix: correct Shortcuts 2024-05-03 08:16:52 +02:00
Arvid Norlin
dd2127749a chore: make Stays title prop optional 2024-05-03 08:16:52 +02:00
Arvid Norlin
1e8f23de38 chore: clean up typings 2024-05-03 08:16:51 +02:00
Arvid Norlin
b12ccfafef fix: align styles 2024-05-03 08:16:51 +02:00
Arvid Norlin
7b92be973c fix: move typings 2024-05-03 08:16:51 +02:00
Arvid Norlin
dff21b33cd feat: add SoonestStays 2024-05-03 08:16:51 +02:00
Arvid Norlin
b7782b61a7 fix: add rendering logic for optional link and preamble 2024-05-03 08:16:51 +02:00
Arvid Norlin
ed2cc59a87 feat: add initial rendering of Account page data 2024-05-03 08:16:51 +02:00
Christel Westerberg
c00f7b78eb feat(WEB-131): add loyalty page 2024-04-29 14:01:20 +02:00
Matilda Landström
861ad26f21 chore: update my stays to new MVP design 2024-04-26 16:06:41 +02:00
Matilda Landström
7480b212e2 chore: add load more functionality, with refactored css 2024-04-26 16:06:41 +02:00
Michael Zetterberg
2f6500f46d feat: static my stays 2024-04-20 07:24:54 +02:00
Simon Emanuelsson
55794034c5 feat(WEB-169): get profile data from API 2024-04-18 13:53:49 +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
Christel Westerberg
85b83bc58b fix: add next level perks block 2024-04-12 16:10:58 +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
8c8fa2d02c feat: finish my pages overview page according to wireframe 2024-04-02 13:43:23 +02:00
Simon Emanuelsson
b173c2fb11 feat(WEB-128): desktop and mobile initial wireframe implemented 2024-03-19 07:40:14 +01:00