Commit Graph

176 Commits

Author SHA1 Message Date
Christel Westerberg
d206d576a7 fix: add my pages nav sidebar for logged in users 2024-07-01 11:46:35 +02:00
Christel Westerberg
323df671d8 fix: add loyaltyCard 2024-07-01 11:46:35 +02:00
Chuma McPhoy
aad3f367bc Merge branch 'develop' into feat/build-initial-hotel-page-component 2024-06-28 13:11:50 +02:00
Matilda Landström
1186511038 feat: update loyalty overview table ui 2024-06-28 10:13:32 +02:00
Chuma McPhoy
00c04de09a feat: add ability to access localized entries of Hotel pages through language switcher 2024-06-27 13:05:19 +02:00
Chuma McPhoy
3c125ca324 Merge branch 'develop' into feat/build-initial-hotel-page-component 2024-06-27 09:32:14 +02:00
Chuma McPhoy
0d8c29bd01 feat: Graphql queries and TRPC route setup for Hotel Page Component 2024-06-26 15:47:37 +02:00
Arvid Norlin
1c76725b4c feat: add benefit translations and remove unused JSON 2024-06-26 14:57:33 +02:00
Matilda Landström
3e54d3c29e chore: add memberships "endoint" 2024-06-19 17:36:50 +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
cfb08fff2c feat: add my pages mobile dropdown cmoponent, parallel route, and consume + zustand store 2024-06-19 17:12:38 +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
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