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
Christel Westerberg
512738428e
chore: cleanup and remove hello world test case
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
Matilda Landström
b8d540aaa1
fix: make web and breadcrumbs optional
2024-06-11 10:53: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
095edcce8c
fix: refactor language switcher
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
88dde3def4
fix: support original_url
2024-05-31 09:28:23 +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
c52275c536
fix: prepare for removing the old breadcrumbs
2024-05-30 16:07:42 +02:00
Matilda Landström
c8247bb2e4
refactor: move contentype to header
2024-05-30 16:07:42 +02:00
Matilda Landström
b74c904b63
refactor: separate queries for loyalty and mypages
2024-05-30 16:07:18 +02:00
Matilda Landström
3b14b9fa48
fix: add typing
2024-05-30 16:07:17 +02:00
Matilda Landström
fb4fbb1cbd
refactor: reuse query code for both loyalty and account pages
2024-05-30 16:07:17 +02:00
Matilda Landström
0b694f6a74
refactor: clean up an reuse code
2024-05-30 16:07:17 +02:00
Matilda Landström
ca5120d3e3
chore: change account page breadcrumbs to same structure as loyalty page
2024-05-30 16:01:04 +02:00
Matilda Landström
ed2fe5b30e
refactor: change name on breadcrumbs unique id for loyalty page
2024-05-30 16:01:04 +02:00
Matilda Landström
4cfd908024
refactor: update names
2024-05-30 16:01:04 +02:00
Matilda Landström
b262ebdb7c
chore: add breadcrumbs to loyalty page
2024-05-30 16:01:04 +02:00
Matilda Landström
c24f9026f7
fix: linting
2024-05-30 16:01:04 +02:00
Christel Westerberg
5bcf9357ce
Merged in feat/webviews (pull request #198 )
...
Feat/webviews
Approved-by: Michael Zetterberg
2024-05-30 13:51:35 +00:00
Arvid Norlin
1aa3b39c17
refactor: organize css
2024-05-28 12:36:13 +02:00
Christel Westerberg
c36578a83f
Fix: break out pages to dynamic route
2024-05-28 08:30:20 +02:00
Christel Westerberg
158b5a5dbb
fix: rebase issues
2024-05-28 08:30:20 +02:00
Christel Westerberg
9e4f41ee46
fix: redirect users to /refresh on unauth and mod webview links
2024-05-28 08:29:52 +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
Michael Zetterberg
e00da4278d
Reapply "feat: use v1 profile api"
...
This reverts commit d7766a89de .
2024-05-23 13:18:50 +02:00