From f2a2ac9ec859c20c8c9e3c2882535c14b19869a6 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Tue, 30 Apr 2024 22:48:51 +0600 Subject: [PATCH] feat: implement team activity stream (#5565) * wip * feat: implement team activity page * feat: add pagination * fix: add max height * Team activity updates * Remove invalid activityes * Team activity page * fix: team roadmap versions not working * Add team activity items --------- Co-authored-by: Kamran Ahmed --- .../Activity/ActivityTopicsModal.tsx | 2 +- src/components/Authenticator/authenticator.ts | 1 + src/components/CreateTeam/Step4.tsx | 2 +- src/components/FrameRenderer/renderer.ts | 14 +- src/components/HeroSection/HeroRoadmaps.tsx | 2 +- .../Navigation/DropdownTeamList.tsx | 2 +- .../Notification/NotificationPage.tsx | 2 +- src/components/RespondInviteForm.tsx | 8 +- .../TeamActivity/TeamActivityItem.tsx | 195 + .../TeamActivity/TeamActivityPage.tsx | 189 + .../TeamActivity/TeamActivityTopicsModal.tsx | 128 + .../TeamActivity/TeamEmptyStream.tsx | 23 + src/components/TeamDropdown/TeamDropdown.tsx | 2 +- .../TeamProgress/MemberProgressModal.tsx | 4 +- src/components/TeamSidebar.tsx | 8 +- src/components/TeamVersions/TeamVersions.tsx | 25 +- src/components/TeamsList.tsx | 2 +- src/data/roadmaps/backend/backend.json | 1397 ++++---- src/data/roadmaps/mlops/mlops.json | 3128 +++++++++-------- src/lib/resource-progress.ts | 4 +- src/pages/team/activity.astro | 15 + src/pages/team/progress.astro | 8 +- 22 files changed, 2891 insertions(+), 2270 deletions(-) create mode 100644 src/components/TeamActivity/TeamActivityItem.tsx create mode 100644 src/components/TeamActivity/TeamActivityPage.tsx create mode 100644 src/components/TeamActivity/TeamActivityTopicsModal.tsx create mode 100644 src/components/TeamActivity/TeamEmptyStream.tsx create mode 100644 src/pages/team/activity.astro diff --git a/src/components/Activity/ActivityTopicsModal.tsx b/src/components/Activity/ActivityTopicsModal.tsx index dcafa3e20..ff353a616 100644 --- a/src/components/Activity/ActivityTopicsModal.tsx +++ b/src/components/Activity/ActivityTopicsModal.tsx @@ -107,7 +107,7 @@ export function ActivityTopicsModal(props: ActivityTopicDetailsProps) { /> -