Commit Graph

166 Commits

Author SHA1 Message Date
Matilda Landström
801a041404 Merged in feat/best-friend-hero (pull request #338)
Feat(SW-170): Update overview hero

Approved-by: Christel Westerberg
2024-07-12 06:45:44 +00:00
Christel Westerberg
c1892ace66 Merged develop into fix/friends-transaktions 2024-07-11 13:29:38 +00:00
Christel Westerberg
9ede5e4210 fix: remove pagination from friends endpoints since it is no longer supported 2024-07-11 15:00:46 +02:00
Chuma McPhoy
0697c8d9ef feat: add included param to hotel call, fetch room data, setup schema, use in hotelpage 2024-07-10 18:55:22 +02:00
Hrishikesh Vaipurkar
15b9523611 feat: WEB-210 Update env path & try catch handling 2024-07-10 11:37:31 +02:00
Hrishikesh Vaipurkar
88a7f57349 feat: WEB-210 Fallback booking URL if encryption fails 2024-07-10 11:37:31 +02:00
Hrishikesh Vaipurkar
eb4cfcce3a feat: WEB-210 Updated encryption to concat buffers instead of result 2024-07-10 11:37:30 +02:00
Hrishikesh Vaipurkar
3f69eda17f feat: WEB-210 Updated lang type 2024-07-10 11:37:30 +02:00
Hrishikesh Vaipurkar
1f53b29a69 feat: WEB-210 Updated .map to avoid mutation 2024-07-10 11:37:30 +02:00
Hrishikesh Vaipurkar
cbd634144e feat: WEB-210 Updated types as review comments 2024-07-10 11:37:29 +02:00
Hrishikesh Vaipurkar
d33e038703 feat: WEB-210 Updated as per review comments 2024-07-10 11:37:29 +02:00
Hrishikesh Vaipurkar
c018dc8ce0 feat: WEB-210 Removed unnecessary env changes and logs 2024-07-10 11:37:28 +02:00
Hrishikesh Vaipurkar
83cb76be65 feat: WEB-210 Fixed API response 2024-07-10 11:37:28 +02:00
Hrishikesh Vaipurkar
b5636774ef feat: WEB-210 Updated nexjs plugin 2024-07-10 11:37:26 +02:00
Hrishikesh Vaipurkar
fd64ffadb9 feat: WEB-210 Testing logs for node_options 2024-07-10 11:37:26 +02:00
Hrishikesh Vaipurkar
714d0d91f0 feat: WEB-210 Replaced custom env with process.env 2024-07-10 11:37:26 +02:00
Hrishikesh Vaipurkar
b57860ddfe feat: (Web-210) Added encryption for my-booking Urls 2024-07-10 11:37:25 +02:00
Niclas Edenvin
722bab97ad feat(SW-70): Create TRPC route to get rates 2024-07-09 13:25:26 +02:00
Chuma Mcphoy (We Ahead)
0f0678e829 Merged develop into feat/hotel-pages-intro-section 2024-07-08 15:55:01 +00:00
Christel Westerberg
da343f45da feat: new "safe" procedure without unauth throwing 2024-07-08 14:56:11 +02:00
Chuma McPhoy
57b424819a fix: return attributes from hotel router 2024-07-08 12:53:12 +02:00
Christel Westerberg
6184662caa fix: add imageContainer reference in rte 2024-07-08 08:06:16 +02:00
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