Linus Flood
7563db9dbc
Merged in fix/intl-global-error (pull request #1510 )
...
Fix: Error message when copy fail. Null check on localstorage. Removed Intl from global-error.tsx
* Error message if failed to copy
* Use try/catch instead
Approved-by: Joakim Jäderberg
2025-03-11 10:49:56 +00:00
Linus Flood
183a6476e7
Merged in fix/check-valid-session (pull request #1502 )
...
Fix/check valid session
* fix:session - check if valid session
* Refactor
Approved-by: Joakim Jäderberg
2025-03-10 09:06:23 +00:00
Linus Flood
edcae22e45
Merged in fix/indent-netlify.toml (pull request #1470 )
...
fix: netlify.toml correct indented
* fix: netlify.toml correct indented
* Dummy
Approved-by: Joakim Jäderberg
2025-03-04 12:25:39 +00:00
Linus Flood
c2c3becc96
Merged in feat/cache-static-files (pull request #1466 )
...
feat(static files): add cache to all static files
* feat(static files): add cache to all static files
Approved-by: Joakim Jäderberg
2025-03-04 07:53:38 +00:00
Linus Flood
a25b9bfba0
Merged in fix/multiroom-remove-flag (pull request #1461 )
...
feat:multi room - remove feature flag
* feat:multi room - remove feature flag
Approved-by: Michael Zetterberg
2025-03-03 13:49:04 +00:00
Linus Flood
21255f8557
Merged in fix/edit-profile-tracking (pull request #1446 )
...
feat:editprofile - added tracking
* feat:editprofile - added tracking
* Refactor
Approved-by: Erik Tiekstra
Approved-by: Christian Andolf
2025-03-03 07:50:11 +00:00
Linus Flood
8942a1da11
Merged in feat/LOY-165-menu (pull request #1454 )
...
feat/myprofile-menu fixed casing
* feat/myprofile-menu fixed casing
Approved-by: Erik Tiekstra
2025-03-03 06:52:33 +00:00
Linus Flood
427cc10edc
Merged in fix/gla-remove-unused-prop (pull request #1427 )
...
fix: guarantee for late arrival prop removed
* fix: guarantee for late arrival prop removed
* Merge master
* Revert typecheck fix
Approved-by: Michael Zetterberg
2025-02-27 16:18:42 +00:00
Linus Flood
f59090936e
Merged in fix/teasercard-image-fill (pull request #1425 )
...
feat:teasercard - image fill fix
* feat:teasercard - image fill fix
Approved-by: Erik Tiekstra
2025-02-27 10:12:29 +00:00
Linus Flood
58b2957b81
Merged in fix/SW-1513-enter-details-scroll-issue (pull request #1433 )
...
feat:enterdetails - fixed scroll achoring issue #sw-1513
* feat:enterdetails - fixed scroll achoring issue #sw-1513
Approved-by: Niclas Edenvin
2025-02-27 09:49:18 +00:00
Linus Flood
0c498d82ca
Merged in feat/trackingsdk-client (pull request #1420 )
...
feat: trackingsdk as client component
* feat: trackingsdk as client component
* Cleanup
* Merge changes from feat/trackingsdk-client
* revert yarn.lock
* Added lcpTime and wait with tracking until we have the values
Approved-by: Joakim Jäderberg
2025-02-27 07:22:58 +00:00
Linus Flood
a15936688b
Merged in feat/breadcrumb-cache (pull request #1418 )
...
feat:breadcrumbs - cache them
* feat:breadcrumbs - cache them
Approved-by: Anton Gunnarsson
2025-02-26 11:42:14 +00:00
Linus Flood
8a564274c5
Merged in fix/bookingwidget-skeleton (pull request #1409 )
...
fix: bookingwidget skeleton - hide if not enabled
* fix: bookingwidget skeleton - hide if not enabled
Approved-by: Michael Zetterberg
2025-02-25 12:46:18 +00:00
Linus Flood
75a4219f31
Merged in fix/children-availability-fix-2 (pull request #1406 )
...
fix: availability - correct children string
* fix: availability - correct children string
Approved-by: Hrishikesh Vaipurkar
2025-02-25 11:17:32 +00:00
Linus Flood
e2749f5593
Merged in feat/refactor-select-rate (pull request #1402 )
...
Select-rate: refactor - converted RoomsContainer into a client component
* feat/select-rate - refactor and fixed duplicate key warning
* Rooms as client component
* Fixed lang in input
* It works
* Cleanup
* Cleanup
* PR fixes
Approved-by: Joakim Jäderberg
2025-02-25 08:40:36 +00:00
Linus Flood
c0cfa342cc
Merged in hotfix/remove-membership-cards (pull request #1398 )
...
hotfix: removed membership cards component
* hotfix: removed membership cards component
Approved-by: Bianca Widstam
2025-02-24 13:17:52 +00:00
Linus Flood
a55737617c
Merged in fix/pageloadtime-tracking (pull request #1391 )
...
Revert pageloadtime tracking
* Revert pageloadtime tracking
Approved-by: Joakim Jäderberg
2025-02-21 14:34:17 +00:00
Linus Flood
15dbeb9d46
Merged in feat/mypages-parallel-routes (pull request #1388 )
...
feat: my profile - removed all parallel routes
* Removed all parallel routes on my-profile
* Fixed suspense
* Moved components into myprofile folder
* Turn off browser cache on myprofile
* Clear router cache when editing profile
* Clear route cache when adding new credit card
* PR fixes
Approved-by: Joakim Jäderberg
2025-02-21 11:24:46 +00:00
Linus Flood
3d3c44fd7d
Merged in fix/lang-switcher (pull request #1383 )
...
fix: langswitcher - remove check if lang exists since it's handled already
* fix: langswitcher - remove check if lang exists since it's handled already
2025-02-20 10:24:43 +00:00
Linus Flood and Joakim Jäderberg
21e564934d
Merged in fix/preview-contentstack (pull request #1380 )
...
* fix: preview in contentstack now works again
Approved-by: Joakim Jäderberg
2025-02-20 08:55:00 +00:00
Linus Flood
d27163a915
Merged in feat/auth-refresh-token-time (pull request #1345 )
...
feat: auth - changed the time left before we trying to refresh the token
* feat: auth - changed the time left before we trying to refresh the token
Approved-by: Joakim Jäderberg
2025-02-19 09:00:30 +00:00
Linus Flood
7c0f9084b6
Merged in feat/refactor-header-footer-sitewidealert (pull request #1374 )
...
Refactor: removed parallel routes for header, footer and sidewidealert. Langswitcher and sidewidealert now client components
* feat - removed parallel routes and made sidepeek and sitewidealerts as client components
* Langswitcher as client component
* Fixed lang switcher for current header
* Passing lang when fetching siteconfig
* Merge branch 'master' into feat/refactor-header-footer-sitewidealert
* Refactor
* Removed dead code
* Show only languages that has translation
* Refetch sitewidealert every 60 seconds
* Merge branch 'master' into feat/refactor-header-footer-sitewidealert
* Removed sidepeek parallel route from my-stay
* Added missing env.var to env.test
* Removed console.log
Approved-by: Joakim Jäderberg
2025-02-19 08:59:24 +00:00
Linus Flood
c2b7d97ddd
Merged in fix/card-width-fix (pull request #1369 )
...
feat(images): calculate width correct using aspect ratio
* feat(images): calculate width correct using aspect ratio
Approved-by: Erik Tiekstra
2025-02-19 06:29:22 +00:00
Linus Flood
1116bdafa8
Merged in fix/suspense-key (pull request #1356 )
...
feat: suspense key - use json-stable-stringify for suspense key
* feat: suspense key - use json-stable-stringify for suspense key
Approved-by: Joakim Jäderberg
2025-02-17 09:42:54 +00:00
Linus Flood
cd1ca159dc
Merged in feat/sw-1637-netlify-runtime (pull request #1327 )
...
feat/sw-1637 - Updated Netlify Runtime to latest version
* feat/sw-1637 - Updated Netlify Runtime to latest version
Approved-by: Michael Zetterberg
2025-02-13 10:40:10 +00:00
Linus Flood
cac090df34
Merged in fix/translations-my-points (pull request #1324 )
...
Fix/translations my points
* feat: my points - fixed translations
* feat: my points - fixed translations
* Revert test script
2025-02-12 14:32:29 +00:00
Linus Flood
019a5db549
Merged in fix/unify-gethotel-input (pull request #1319 )
...
feat: getHotel - unify input to make sure we can use the same cache response
* feat: getHotel - unify input to make sure we can use the same cache response
Approved-by: Simon.Emanuelsson
2025-02-12 11:35:39 +00:00
Linus Flood
a8ec845273
Merged in fix/ratecodetype-tracking-2 (pull request #1314 )
...
fix/ratecode-tracking-fix
* fix/ratecode-tracking-fix
2025-02-12 08:38:26 +00:00
Linus Flood
a86f0f3993
Merged in fix/nullcheck-gethotelpins (pull request #1296 )
...
fix: getHotelPins - null check on hotelData
* fix: getHotelPins - null check on hotelData
Approved-by: Pontus Dreij
2025-02-10 15:11:39 +00:00
Linus Flood
5a0edc9187
Merged in fix/hoteinfocard-pass-hotel (pull request #1295 )
...
feat:hotel info card - pass hoteldata since we already fetching it on page level
* feat:hotel info card - pass hoteldata since we already fetching it on page level
2025-02-10 14:31:41 +00:00
Linus Flood
2522cd7752
Merged in feat/hotelinfocard-skeleton (pull request #1291 )
...
feat: added skeleton to hotelinfo card
* feat: added skeleton to hotelinfo card
Approved-by: Simon.Emanuelsson
2025-02-10 12:49:27 +00:00
Linus Flood
ebb007b7f0
Merged in feat/booking-flow-performance (pull request #1282 )
...
feat: booking flow performance
* feat: booking flow performance
* Cleanup
Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-08 10:40:42 +00:00
Linus Flood
c0f5c0278b
Merged in feat/skeletons-and-cache (pull request #1273 )
...
feat: skeleton key bullet proof. 10 min cache on city search response
* feat: skeleton key bullet proof. 10 min cache on city search response
* Refactor server.ts
Approved-by: Michael Zetterberg
2025-02-07 07:02:53 +00:00
Linus Flood
3d1295e4d5
Merged in fix/application-insights-sentry (pull request #1269 )
...
fix: application insights works again
* fix: application insights works again
Approved-by: Joakim Jäderberg
2025-02-06 13:40:12 +00:00
Linus Flood
da31897835
Merged in fix/hotelreservation-skeletons (pull request #1271 )
...
Fix/hotelreservation skeletons
* fix: skeletons in hotelreservation key includes all search params
* fix: skeletons in hotelreservation key includes all search params
* fix: skeletons in hotelreservation key includes all search params
2025-02-06 13:39:54 +00:00
Linus Flood
9ad8d39712
Merged in fix/hotelreservation-skeletons (pull request #1270 )
...
fix: skeletons in hotelreservation key includes all search params
* fix: skeletons in hotelreservation key includes all search params
Approved-by: Joakim Jäderberg
2025-02-06 13:30:18 +00:00
Linus Flood
87820a6f2d
Merged in feat/sw-1575-profileId-tracking (pull request #1264 )
...
feat: #sw-1575 using profileId instead of membershipnumber for tracking i userInfo object
* feat: #sw-1575 using profileId instead of membershipnumber for tracking i userInfo object
Approved-by: Erik Tiekstra
2025-02-06 10:02:26 +00:00
Linus Flood
683646a490
Merged in fix/pageloadtime-fix (pull request #1248 )
...
tracking: wait on document.readystate
* tracking: wait on document.readystate
2025-02-04 10:06:44 +00:00
Linus Flood
7db6c54beb
Merged in fix/tracking-pageloadtime-fix (pull request #1247 )
...
fix: using already created performance instead of creating a new one. Also payment tracking fix
* fix: using already created performance instead of creating a new one. Also payment tracking fix
Approved-by: Joakim Jäderberg
2025-02-04 09:46:58 +00:00
Linus Flood
1ed1e0a816
Merged in fix/hoteldata-zod-issue (pull request #1246 )
...
fix: zod error on extraPageSchema
* fix: zod error on extraPageSchema
Approved-by: Joakim Jäderberg
2025-02-04 07:47:32 +00:00
Linus Flood
0800c877a3
Merged in fix/hotjar-suppress-fixes (pull request #1192 )
...
fix: hotjar - suppress personal data
* fix: hotjar - suppress personal data
* More suppressing
2025-02-04 06:47:36 +00:00
Linus Flood
4247e37667
Merged in fix/sentry-error (pull request #1224 )
...
fix: validate function before executing
* fix: validate function before executing
2025-01-28 11:45:34 +00:00
Linus Flood
dc105992c5
Merged in feat/sentry-errors-fixes (pull request #1216 )
...
Removed VWO and cookie-bot
* Removed VWO and cookie-bot
* Merged master into feat/sentry-errors-fixes
Approved-by: Joakim Jäderberg
2025-01-27 12:32:36 +00:00
Linus Flood
cea4e3f3fe
Merged in fix/tracking-requests (pull request #1208 )
...
Added siteversion to all events and fixed payment status
* Added siteversion to all events and fixed payment status
* Fixed bug
Approved-by: Erik Tiekstra
2025-01-24 07:49:00 +00:00
Linus Flood
dc115ca368
Merged in fix/tracking-lowestroomprice (pull request #1196 )
...
fix: changed lowestRoomPrice event model
* fix: changed lowestRoomPrice event model
Approved-by: Erik Tiekstra
2025-01-22 07:26:57 +00:00
Linus Flood
d02dc51dcc
Merged in fix/cache-time-hotels-test-env (pull request #1194 )
...
fix: cache time 5 minutes for hotels data in test env
* fix: cache time 5 minutes for hotels data in test env
2025-01-21 09:29:09 +00:00
Linus Flood
814b010569
Merged in feat/curity-changes (pull request #1190 )
...
Feat/curity changes
* Changed curity stuff
* Use env.var
* Merge branch 'master' into feat/curity-changes
* Merged master into feat/curity-changes
2025-01-20 11:44:58 +00:00
Linus Flood
c701c067b4
Merged in feat/cache-hoteldata-time (pull request #1189 )
...
feat: hoteldata - cache 5 minutes in test env
* feat: hoteldata - cache 5 minutes in test env
* Removed console log
* Renamed variable
Approved-by: Joakim Jäderberg
2025-01-20 07:52:38 +00:00
Linus Flood
c28ba03ebf
Merged in fix/isloggedin-topmenu (pull request #1184 )
...
feat: avoid calling api to check if we have valid session
* feat: avoid calling api to check if we have valid session
Approved-by: Erik Tiekstra
2025-01-17 14:21:33 +00:00
Linus Flood
b6185e166a
Merged in fix/tabbable-errors (pull request #1187 )
...
Fix: Can only call Element.querySelectorAll on instances of Element
* Fix: Can only call Element.querySelectorAll on instances of Element
errors
Approved-by: Erik Tiekstra
2025-01-17 11:38:51 +00:00
Linus Flood
d229b5c463
Merged in fix/tracking-multiple-times (pull request #1186 )
...
fix: avoid tracking multiple times on the same page
* fix: avoid tracking multiple times on the same page
Approved-by: Erik Tiekstra
2025-01-17 10:08:28 +00:00
Linus Flood
69b69af03c
Merged in feat/enter-details-tracking (pull request #1185 )
...
Feat/enter details tracking
* feat: fixed bug in enter details tracking
* Sidepeek events, lowestroomPrice and analyticsRateCode
* Cleanup and fixed bug
* Fixed analyticsratecode
* Merge master
* merge master
* Removed console logs
* Added ancillaries tracking to enter details
* Added ancillary on confirmation page
* Removed console log
* Merge branch 'master' into feat/enter-details-tracking
* Refactor searchparams
* Hard code values for breakfast ancillary
Approved-by: Joakim Jäderberg
2025-01-17 07:42:44 +00:00
Linus Flood
e9deb25d06
Merged in hotfix/contentstack-link (pull request #1182 )
...
hotfix: fix external link in buttonSchema
* hotfix: fix external link in buttonSchema
* Merged master into hotfix/contentstack-link
2025-01-15 12:00:35 +00:00
Linus Flood
02d3352ea5
Merged in fix/rename-sessionid (pull request #1177 )
...
fix: rename sessionId storage name to avoid conflict with current web
* fix: rename sessionId storage name to avoid conflict with current web
2025-01-13 18:24:41 +00:00
Linus Flood
3bbd99ba5c
Merged in fix/hotelinfo-tracking-off (pull request #1167 )
...
feat(tracking) turn off hotelinfo tracking in booking flow
* feat(tracking) turn off hotelinfo tracking in booking flow
* Turn off hotelInfo on enter details
* Merge master
Approved-by: Joakim Jäderberg
2025-01-10 12:49:14 +00:00
Linus Flood
c6c8df87ec
Fixed hotelId in payment error events
2025-01-10 12:00:21 +01:00
Linus Flood
7099115d40
Merge branch 'master' into feat/tracking-payment
2025-01-10 11:37:22 +01:00
Linus Flood
08d5405cf1
PR Fixes
2025-01-10 11:36:23 +01:00
Linus Flood
d57e3db34b
Merge remote-tracking branch 'origin' into feat/tracking-payment
2025-01-10 09:13:04 +01:00
Linus Flood
919fc62069
Fixed paymentInfo
2025-01-10 09:10:53 +01:00
Linus Flood
014eea054f
Fixed same string value for childBedPreference on confirmation page
2025-01-10 08:40:26 +01:00
Linus Flood
7ca2fd78f0
Remove console logs
2025-01-09 13:02:03 +01:00
Linus Flood
b973882c5c
fix: downgrade next-auth to v19
2025-01-09 10:17:48 +01:00
Linus Flood
29d1721a8a
hotfix: hide booking widget on public pages
2025-01-09 08:39:15 +01:00
Linus Flood
fa20f128ef
Merged in feat/check-session-fix-2 (pull request #1154 )
...
fix: is user logged in fix
* fix: is user logged in fix
2025-01-08 15:38:36 +00:00
Linus Flood
dfa7395aa4
Merged in fix/null-check-valid-session (pull request #1153 )
...
fix: added null check on session
* fix: added null check on session
* fix: added null check on session
2025-01-08 15:11:01 +00:00
Linus Flood
894e607c5e
Merged master into feat/check-session-fix
2025-01-08 14:44:05 +00:00
Linus Flood
8308d00464
fix: valid session check in rooms container
2025-01-08 15:24:20 +01:00
Linus Flood
5889bdd79d
Handle payment fail and cancel events
2025-01-08 15:02:03 +01:00
Linus Flood
20714d0c3b
Tracking payment start event
2025-01-08 10:48:43 +01:00
Linus Flood
519795acac
feat: tracking - added discount property and some basics for paymentInfo
2025-01-08 08:50:50 +01:00
Linus Flood
baba84c5f6
Adding new .env file with seamless login endpoints, so we can remove them in Netlify
2024-12-20 15:00:27 +01:00
Linus Flood and Joakim Jäderberg
3982b1ba56
Merged in feat/sentry (pull request #1089 )
2024-12-19 10:35:20 +00:00
Linus Flood
e0c5b59860
Merged master into feat/1268-mask-private-data
2024-12-19 10:21:17 +00:00
Linus Flood
ec0a87aed7
feat/sw-1266: mask private info in hotjar recordings
2024-12-19 11:00:00 +01:00
Linus Flood
092289f9a3
Merged master into fix/user-cache
2024-12-18 07:06:31 +00:00
Linus Flood
b22c2ba73e
Merged master into feat/validsession
2024-12-18 06:23:11 +00:00
Linus Flood
66649ba6af
feat/user: use our wrapped cache instead of reacts cache
2024-12-17 17:22:50 +01:00
Linus Flood
673061a471
Added check for token.error as well
2024-12-17 17:18:37 +01:00
Linus Flood
711bf4b2d3
feat/valid-session: check valid user/session from token instead of making a slow request to api
2024-12-17 15:15:55 +01:00
Linus Flood
431ab477eb
Fixes bookingwidget skeleton and memoize fetching of creditcards
2024-12-17 14:31:52 +01:00
Linus Flood
831aea5857
Changed to span
2024-12-17 09:41:40 +01:00
Linus Flood
baa0b22562
fix/skeletonshimmer: sometimes shimmer(div element) was rendered inside a paragraph element, wich is not allowed
2024-12-17 09:39:20 +01:00
Linus Flood
dc6c2ae483
Refactor navigation skeleton
2024-12-17 08:20:30 +01:00
Linus Flood
f7a043941b
Fixed "children with the same key, `NaN"
2024-12-17 08:17:09 +01:00
Linus Flood
c7897ef546
Added shimmer on breadcrumb skeleton
2024-12-17 08:11:05 +01:00
Linus Flood
c45ef9d4a7
Splitted sidebar skeletons
2024-12-17 07:45:55 +01:00
Linus Flood
daa677d605
feat/sidebar-skeleton: added sidebar skeleton
2024-12-17 07:17:30 +01:00
Linus Flood
2dd21f4c4a
Merged master into feat/membership-cards-improvements
2024-12-16 12:32:00 +00:00
Linus Flood
1862b16c8c
feat/membershipcard: utilize memoiozed function to fetch membership cards
2024-12-16 13:06:27 +01:00
Linus Flood
492ad62d1f
Merge remote-tracking branch 'origin' into feature/tracking
2024-12-16 09:17:24 +01:00
Linus Flood
f91d74294e
Merge remote-tracking branch 'origin' into feature/tracking
2024-12-16 09:11:28 +01:00
Linus Flood
276253057c
Including bedtype
2024-12-16 08:37:18 +01:00
Linus Flood
fd91b96c99
Fixed tracking on Confirmation page
2024-12-16 08:18:21 +01:00
Linus Flood
5f8a13d478
Fixed type imports
2024-12-13 09:48:53 +01:00
Linus Flood
6f1d5129e9
Removed type from enum
2024-12-13 09:23:43 +01:00
Linus Flood
742a2820d1
Merge remote-tracking branch 'origin' into feature/tracking
2024-12-13 09:02:37 +01:00
Linus Flood
6b9f4f4fa9
Reverted
2024-12-13 08:20:25 +01:00
Linus Flood
115d1f0a10
Suspense on <TrackingSDK>
2024-12-06 15:47:34 +01:00
Linus Flood
6a4364e1c4
Merge remote-tracking branch 'origin' into feature/tracking
2024-12-05 15:12:09 +01:00