Michael Zetterberg
bc84122a40
fix(SW-236): properly handle expired token in webviews
...
Trying out a new pattern for errors in data fetching.
Next.js is not a fan of throwing errors. Instead it recommends returning
different shapes for each state. Ref:
https://nextjs.org/docs/app/building-your-application/routing/error-handling#handling-expected-errors-from-server-components
It requires some more detailing and a bit more refactoring in non webview part,
but it is a start. This webview specific implementation should not break web.
2024-08-13 16:54:33 +02:00
Simon.Emanuelsson
9796ff29c5
Merged in feat/SW-207 (pull request #386 )
...
feat(SW-207): add expiring points and date when they will expire
Approved-by: Michael Zetterberg
2024-08-07 08:53:48 +00:00
Simon Emanuelsson
be620f18ba
feat(SW-207): add expiring points and date when they will expire
2024-08-06 15:59:40 +02:00
Fredrik Thorsson
75011dffe5
feat: schema change
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
798d19d3c8
feat: filter route changes
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
c7bef7d1cf
feat: css and syntax changes
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
a48019a6a0
feat: pass filters as prop
2024-08-06 13:12:22 +02:00
Fredrik Thorsson
ebfe4d45dc
feat: add router for filters
2024-08-06 13:12:22 +02:00
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
2457314003
fix: cleanup title before tracking it
2024-07-17 15:01:36 +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
73cea4ba51
fix: add channel and pageType
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
Christel Westerberg
546679387f
feat: add tracking to account pages
2024-07-15 13:35:36 +02:00
Christel Westerberg
a8a67d5e35
feat: add tracking events for loyalty pages
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
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