Michael Zetterberg
71dcf30719
fix: make sure all logged errors are preceeded with a message
...
Just logging an error makes it difficult to relate the error log to code in the
codebase. Error logging a message right before the error itself makes it easier
to search the codebase for that error log.
2024-07-24 11:32:15 +02:00
Christel Westerberg
d8f7e4157a
fix: add correct properties to tracking
2024-07-16 10:39:22 +02:00
Christel Westerberg
183e1cd6d2
fix: refactor tracking requests
2024-07-15 13:35:36 +02:00
Christel Westerberg
c96008fb78
fix: track user on page load
2024-07-15 13:35:36 +02:00
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
9ede5e4210
fix: remove pagination from friends endpoints since it is no longer supported
2024-07-11 15:00:46 +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
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
83cb76be65
feat: WEB-210 Fixed API response
2024-07-10 11:37:28 +02:00
Hrishikesh Vaipurkar
b57860ddfe
feat: (Web-210) Added encryption for my-booking Urls
2024-07-10 11:37:25 +02:00
Christel Westerberg
da343f45da
feat: new "safe" procedure without unauth throwing
2024-07-08 14:56:11 +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
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
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
Arvid Norlin
04dfad95ec
fix: make membershipLevel since not present on all membership types
2024-06-14 11:43:00 +02:00
Arvid Norlin
24810eaee6
implement logic to select compared levels based on membershipLevel
2024-06-10 10:49:57 +02:00
Simon Emanuelsson
16b817f469
feat(WEB-250): overview hero final ui
2024-05-30 17:56:56 +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
Christel Westerberg
ed48d93376
fix: make dateofbirth optional for user data
2024-05-23 14:22:11 +02:00
Christel Westerberg
4d7207ec9a
fix: missing previous data throwing error
2024-05-23 14:21:18 +02:00
Michael Zetterberg
e00da4278d
Reapply "feat: use v1 profile api"
...
This reverts commit d7766a89de .
2024-05-23 13:18:50 +02:00
Michael Zetterberg
d7766a89de
Revert "feat: use v1 profile api"
...
This reverts commit 61e6d7ee39 and 2cfdbc19a9 .
2024-05-21 15:58:30 +02:00
Michael Zetterberg
2cfdbc19a9
feat: use v1 profile api
2024-05-21 13:05:29 +02:00
Michael Zetterberg
476e9f7582
fix(auth): make things work
2024-05-20 09:10:20 +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
07242f3123
fix: add optional on user country
2024-05-14 10:33:15 +02:00
Christel Westerberg
a91ff342f0
fix: handle empty stays in query
2024-05-14 10:33:15 +02:00
Christel Westerberg
058f0cc898
feat: add hotel image
2024-05-14 10:33:15 +02:00
Christel Westerberg
661a8019d3
feat: enhance stays with api data
2024-05-14 10:33:15 +02:00
Simon Emanuelsson
0c4aa592cc
feat: revalidate my pages breadcrumbs on demand
2024-05-06 15:13:41 +02:00
Arvid Norlin
dff21b33cd
feat: add SoonestStays
2024-05-03 08:16:51 +02:00
Matilda Landström
38d65f7b37
refactor: refactor according to PR comments
2024-04-26 16:06:41 +02:00
Matilda Landström
7480b212e2
chore: add load more functionality, with refactored css
2024-04-26 16:06:41 +02:00
Arvid Norlin
1ec86f43ff
fix: remove gender from user profile since it is removed in the api
2024-04-24 16:21:17 +02:00
Michael Zetterberg
2f6500f46d
feat: static my stays
2024-04-20 07:24:54 +02:00
Simon Emanuelsson
b2e992c69a
feat(WEB-205, WEB-206): get breadcrumbs for my pages from contentstack
2024-04-19 09:24:38 +02:00