diff --git a/src/components/Activity/ActivityPage.tsx b/src/components/Activity/ActivityPage.tsx index 482fd27e5..1ff5b51c0 100644 --- a/src/components/Activity/ActivityPage.tsx +++ b/src/components/Activity/ActivityPage.tsx @@ -4,6 +4,7 @@ import { ActivityCounters } from './ActivityCounters'; import { ResourceProgress } from './ResourceProgress'; import { pageProgressMessage } from '../../stores/page'; import { EmptyActivity } from './EmptyActivity'; +import { ActivityStream, type UserStreamActivity } from './ActivityStream'; type ProgressResponse = { updatedAt: string; @@ -45,6 +46,7 @@ export type ActivityResponse = { resourceTitle?: string; }; }[]; + activities: UserStreamActivity[]; }; export function ActivityPage() { @@ -96,8 +98,13 @@ export function ActivityPage() { return updatedAtB.getTime() - updatedAtA.getTime(); }) - .filter((bestPractice) => bestPractice.learning > 0 || bestPractice.done > 0); + .filter( + (bestPractice) => bestPractice.learning > 0 || bestPractice.done > 0, + ); + const hasProgress = + learningRoadmapsToShow.length !== 0 || + learningBestPracticesToShow.length !== 0; return ( <> @@ -107,16 +114,17 @@ export function ActivityPage() { streak={activity?.streak || { count: 0 }} /> -
+ Activities will appear here as you start tracking your + + Roadmaps + + , + + Best Practices + + or + + Questions + + progress. +
+