diff --git a/features/marketplace/frontend-public/src/features/notifications/pages/NotificationsPage.tsx b/features/marketplace/frontend-public/src/features/notifications/pages/NotificationsPage.tsx index 38fa98821..b462e6fac 100644 --- a/features/marketplace/frontend-public/src/features/notifications/pages/NotificationsPage.tsx +++ b/features/marketplace/frontend-public/src/features/notifications/pages/NotificationsPage.tsx @@ -100,7 +100,7 @@ const NotificationsList = styled.div` const EmptyState = styled.div` text-align: center; - padding: ${({ theme }: { theme: DefaultTheme }) => `${theme.spacing?.xl} 0` || '3rem 0'}; + padding: ${({ theme }: { theme: DefaultTheme }) => `${theme.spacing?.xl ?? '2rem'} 0`}; `; const EmptyIcon = styled.div` @@ -124,13 +124,13 @@ const EmptyText = styled.p` const LoadingState = styled.div` text-align: center; - padding: ${({ theme }: { theme: DefaultTheme }) => `${theme.spacing?.xl} 0` || '3rem 0'}; + padding: ${({ theme }: { theme: DefaultTheme }) => `${theme.spacing?.xl ?? '2rem'} 0`}; color: ${({ theme }: { theme: DefaultTheme }) => theme.colors?.text?.secondary || '#6b7280'}; `; const ErrorState = styled.div` text-align: center; - padding: ${({ theme }: { theme: DefaultTheme }) => `${theme.spacing?.xl} 0` || '3rem 0'}; + padding: ${({ theme }: { theme: DefaultTheme }) => `${theme.spacing?.xl ?? '2rem'} 0`}; color: ${({ theme }: { theme: DefaultTheme }) => theme.colors?.error?.main || '#ef4444'}; `; diff --git a/features/platform-analytics/backend-api/src/modules/analytics-gateway/analytics-api.client.ts b/features/platform-analytics/backend-api/src/modules/analytics-gateway/analytics-api.client.ts index 5fbadd3c2..16abe6c73 100644 --- a/features/platform-analytics/backend-api/src/modules/analytics-gateway/analytics-api.client.ts +++ b/features/platform-analytics/backend-api/src/modules/analytics-gateway/analytics-api.client.ts @@ -194,7 +194,7 @@ export class AnalyticsApiClient implements OnModuleInit { throw new Error(`Analytics API error (${response.status}): ${error}`); } - return response.json(); + return response.json() as Promise; } // ============ Acquisition Endpoints ============ @@ -382,7 +382,7 @@ export class AnalyticsApiClient implements OnModuleInit { throw new Error(`Analytics API error (${response.status}): ${error}`); } - return response.json(); + return response.json() as Promise; } async deleteSegment(id: string): Promise { diff --git a/features/profile/frontend-app/src/hooks/useProfileAnalytics.ts b/features/profile/frontend-app/src/hooks/useProfileAnalytics.ts index 06b309c6e..b7776cbf2 100644 --- a/features/profile/frontend-app/src/hooks/useProfileAnalytics.ts +++ b/features/profile/frontend-app/src/hooks/useProfileAnalytics.ts @@ -174,11 +174,10 @@ export function useProfileAnalytics() { trackInteraction({ type: 'click', data: { - element: 'profile_photo', - action: interactionType, - photoId, - profileType, - photoIndex, + elementId: photoId, + elementType: 'other', + eventName: 'profile_photo_interaction', + eventLabel: interactionType, pageUrl: window.location.href, }, }); diff --git a/features/sso/backend-api/src/app.module.ts b/features/sso/backend-api/src/app.module.ts index 0197ad3b9..0bd0b3b01 100755 --- a/features/sso/backend-api/src/app.module.ts +++ b/features/sso/backend-api/src/app.module.ts @@ -1,6 +1,3 @@ -import { join, dirname } from "path"; -import { fileURLToPath } from "url"; - import { getServiceRegistry } from "@lilith/service-registry"; import { BullModule } from "@nestjs/bullmq"; import { Module } from "@nestjs/common";