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
d8f25925df
fix: error page for language switcher
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
Arvid Norlin
603d100b5b
fix: check for session on LoyaltyPage DynamicContent
2024-06-12 14:04:49 +02:00
Arvid Norlin
99c1822021
chore: move user fetch
2024-06-10 12:53:26 +02:00
Arvid Norlin
85aab88aec
chore: improve typings
2024-06-10 11:51:22 +02:00
Arvid Norlin
af205451e6
refactor: improve level selection logic
2024-06-10 10:49:57 +02:00
Arvid Norlin
af33f18a6a
fix: adjust LargeTable styling
2024-06-05 13:42:25 +02:00
Arvid Norlin
92f5f7f7c0
add LargeTable component
2024-06-05 13:42:22 +02:00
Simon Emanuelsson
de79c2dc80
feat(WEB-220): label translations
2024-06-05 13:25:10 +02:00
Christel Westerberg
52111d2fa3
fix: naming of urls variable
2024-06-05 10:23:14 +02:00
Christel Westerberg
c5b2855876
fix: only render currentlang of no other urls are available
2024-06-05 10:23:14 +02:00
Christel Westerberg
2c102c62e0
fix: trpc endpoint for footer data
2024-06-05 10:23:14 +02:00
Christel Westerberg
0a3272f75a
fix: comments
2024-05-31 09:30:11 +02:00
Christel Westerberg
37843af507
fix: add login/logout buttons
2024-05-31 09:29:47 +02:00
Christel Westerberg
0ec6d58d6a
feat: sync design of header with current web
2024-05-31 09:29:46 +02:00
Christel Westerberg
28efca98b9
feat: fetch urls for language switcher from contentstack
2024-05-31 09:28: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
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
Matilda Landström
ed2fe5b30e
refactor: change name on breadcrumbs unique id for loyalty page
2024-05-30 16:01:04 +02:00
Arvid Norlin
1aa3b39c17
refactor: organize css
2024-05-28 12:36:13 +02:00
Arvid Norlin
4b4e214ab9
refactor: make createComparison more generic
2024-05-27 16:00:33 +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
Arvid Norlin
da06311d34
chore: move type
2024-05-23 14:40:21 +02:00
Arvid Norlin
bd93071e39
chore: make PR fixes
2024-05-23 14:40:21 +02:00
Arvid Norlin
14904e004a
chore: move types
2024-05-23 14:40:21 +02:00
Christel Westerberg
7d982aad18
feat: add new cards grid block
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
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
Arvid Norlin
43f10abdbc
chore: rename topBenefits to benefits
2024-05-14 10:37:06 +02:00
Arvid Norlin
7dd60576cc
feat: use hardcodded benefits data
2024-05-14 10:37:06 +02:00
Christel Westerberg
661a8019d3
feat: enhance stays with api data
2024-05-14 10:33:15 +02:00
Christel Westerberg
2a46fe6572
feat: add shortcuts component to loyaltypage
2024-05-06 11:22:24 +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