diff --git a/src/components/Activity/ActivityStream.tsx b/src/components/Activity/ActivityStream.tsx index d4a4bdd5d..9cdae7ef4 100644 --- a/src/components/Activity/ActivityStream.tsx +++ b/src/components/Activity/ActivityStream.tsx @@ -111,28 +111,35 @@ export function ActivityStream(props: ActivityStreamProps) {
+ Started {topicCount} topic + {topicCount > 1 ? 's' : ''} in + {resourceLinkComponent} + {timeAgo} +
++ Completed {topicCount} topic + {topicCount > 1 ? 's' : ''} in + {resourceLinkComponent} + {timeAgo} +
++ Answered {topicCount} question + {topicCount > 1 ? 's' : ''} in + {resourceLinkComponent} + {timeAgo} +
+diff --git a/src/components/TeamActivity/TeamActivityItem.tsx b/src/components/TeamActivity/TeamActivityItem.tsx index c89182d75..6e40e30ac 100644 --- a/src/components/TeamActivity/TeamActivityItem.tsx +++ b/src/components/TeamActivity/TeamActivityItem.tsx @@ -3,6 +3,7 @@ import { getRelativeTimeString } from '../../lib/date'; import type { TeamStreamActivity } from './TeamActivityPage'; import { ChevronsDown, ChevronsUp } from 'lucide-react'; import { ActivityTopicTitles } from '../Activity/ActivityTopicTitles'; +import { cn } from '../../lib/classname'; type TeamActivityItemProps = { onTopicClick?: (activity: TeamStreamActivity) => void; @@ -79,36 +80,49 @@ export function TeamActivityItem(props: TeamActivityItemProps) { return (
+ {username} started + {topicCount} topic{topicCount > 1 ? 's' : ''} in + {resourceLink(activity)} + {timeAgo(activity.updatedAt)} +
+ {username} completed + {topicCount} topic{topicCount > 1 ? 's' : ''} in + {resourceLink(activity)} + {timeAgo(activity.updatedAt)} +
+ {username} answered + {topicCount} question{topicCount > 1 ? 's' : ''} + in + {resourceLink(activity)} + {timeAgo(activity.updatedAt)} +
++ Started {topicCount} topic + {topicCount > 1 ? 's' : ''} in + {resourceLink(activity)} + {timeAgo(activity.updatedAt)} +
++ Completed {topicCount} topic + {topicCount > 1 ? 's' : ''} in + {resourceLink(activity)} + {timeAgo(activity.updatedAt)} +
++ Answered {topicCount} question + {topicCount > 1 ? 's' : ''} in + {resourceLink(activity)} + {timeAgo(activity.updatedAt)} +
+