feat: implement activity feed with filterable timeline for project history (#3184)#3208
feat: implement activity feed with filterable timeline for project history (#3184)#3208knoxiboy wants to merge 2 commits into
Conversation
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
1e0ab44 to
59d0b00
Compare
|
Thanks for the substantial effort here, but this is out of scope for DevTrack. DevTrack is a GitHub-activity analytics dashboard (contribution/streak/PR insights), not a project-management tool — and this PR is part of a ~12k-line Kanban/task-management system (boards, stages, tasks, dependencies, task notifications, activity feed) that adds a whole new product surface ( |
Summary
This PR implements a project-wide activity history feed and timeline showing updates across tasks and workflow columns. The feed includes a beautiful filterable timeline (filter by action type and date range) and supports pagination/loading more logs.
Closes #3184
Type of Change
What Changed
supabase/migrations/20260715000001_add_activity_log.sql: Createdactivity_logtable referencing projects and users with indexing and RLS security policies.src/app/api/kanban/[projectId]/activity/route.ts: API route returning filterable and paginated activity logs.src/app/api/kanban/[projectId]/stages/route.ts: Updated to recordstage_created,stage_deleted, andstages_reorderedactions.src/app/api/kanban/[projectId]/tasks/route.ts: Updated to recordtask_created,task_deleted,task_updated, andtask_movedactions.src/components/kanban/ActivityFeed.tsx: Renders the vertical timeline with action icon badges, local time formatting, action/date filters, and lazy-loading pagination.src/components/kanban/KanbanBoard.tsx: Integrated the feed side-panel with a responsive header toggle button.How to Test
/dashboard/kanban/[projectId]).Checklist
console.log, debug code, or commented-out blocksnpm run lintpasses locally (Eslint setup failed locally on native dependency issue)npm run type-check)Accessibility (UI changes only)
Additional Context