Commit Graph

144 Commits

Author SHA1 Message Date
Christel Westerberg
d7b87585b9 fix: get joinloyalty button from contentstack 2024-07-05 13:53:07 +02:00
Chuma McPhoy
bfcef5b832 chore: create a utils/languages file 2024-07-04 15:19:17 +02:00
Chuma McPhoy
f89d17cd7f chore: move toApiLang util to hotel trpc folder 2024-07-04 15:05:02 +02:00
Chuma McPhoy
2cf77af0c3 chore: remove console logs 2024-07-02 15:39:08 +02:00
Chuma McPhoy
0d5b775c24 feat: Add TRPC procedure for hotel API, schemas, and use in hotel content page 2024-07-02 15:27:07 +02:00
Chuma McPhoy
965e093100 Merge branch 'develop' into feat/setup-hotel-api-call 2024-07-01 13:53:50 +02:00
Chuma McPhoy
9413739f17 feat: Add Hotel endpoint and TRPC query 2024-07-01 13:53:07 +02:00
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
87f7f96a36 Merge branch 'develop' into feat/build-initial-hotel-page-component 2024-07-01 08:43:02 +02:00
Niclas Edenvin
404b1b38cb Remove debug logging 2024-06-28 14:17:38 +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
0d8c29bd01 feat: Graphql queries and TRPC route setup for Hotel Page Component 2024-06-26 15:47:37 +02:00
Michael Zetterberg
68df666487 fix: add ctx to trpc error output. 2024-06-26 07:17:07 +02:00
Christel Westerberg
6f15afd8f9 fix: default to empty string instead of undefined 2024-06-24 17:10:34 +02:00
Chuma McPhoy
352ca6b755 fix: make zip code and phone nr optional 2024-06-24 16:53:25 +02:00
Christel Westerberg
fe6e4e27e1 fix: add heading and subtitle to overview table 2024-06-24 12:09:14 +02:00
Michael Zetterberg
70f0a906d3 fix: exclude inaccessible links from nav 2024-06-20 09:29:12 +02:00
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
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
74f875d30b fix: refactor lang handling in contentstack base procedure 2024-06-18 16:51:06 +02:00
Christel Westerberg
d03e28db4c fix: use correct procedures for header/footer 2024-06-18 16:21:05 +02:00
Christel Westerberg
d50df09436 fix: pagination for stays 2024-06-18 16:21:05 +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
04dfad95ec fix: make membershipLevel since not present on all membership types 2024-06-14 11:43:00 +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
Christel Westerberg
d8f25925df fix: error page for language switcher 2024-06-14 07:52:16 +02:00
Christel Westerberg
b8982dacf4 fix: handle case with no lang/uid for langswitcher and footer 2024-06-14 07:52:16 +02:00
Christel Westerberg
d5b08e3a36 fix: localize 404 and ensure header when no lang 2024-06-14 07:52:16 +02:00
Christel Westerberg
74b05ed6a0 feat: add edge request function 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
Christel Westerberg
030bac87bd fix: cache revalidation logic for language switcher 2024-06-12 14:41:53 +02:00
Matilda Landström
adf7374a3b fix: remove undefined checks 2024-06-11 10:53:49 +02:00
Matilda Landström
48615c939f fix: remove optional from page breadrcrumbs validation 2024-06-11 10:53:49 +02:00
Matilda Landström
79d8a19d26 fix: add same title check for mypages 2024-06-11 10:53:49 +02:00
Matilda Landström
8b6ac3eea5 fix: move title check to response 2024-06-11 10:53:49 +02:00
Matilda Landström
7c2533ef2f fix: add breadcrumbs as optional 2024-06-11 10:53:49 +02:00
Matilda Landström
b8d540aaa1 fix: make web and breadcrumbs optional 2024-06-11 10:53:49 +02:00
Arvid Norlin
24810eaee6 implement logic to select compared levels based on membershipLevel 2024-06-10 10:49:57 +02:00
Simon Emanuelsson
de79c2dc80 feat(WEB-220): label translations 2024-06-05 13:25:10 +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
7e165a8b31 feat: sync design of header with current web 2024-06-05 10:22:43 +02:00
Christel Westerberg
c47966f994 fix: caching 2024-05-31 09:38:46 +02:00