Summary
Add a chronological activity feed showing the user's most recent GitHub events (commits, PR opens/merges, issue closes).
What to build
- New API route:
GET /api/activity
- Fetch from
GET /users/{login}/events?per_page=30
- Filter to:
PushEvent, PullRequestEvent, IssuesEvent
- Map each to
{ type, repo, message, date, url }
- New component:
src/components/ActivityFeed.tsx
- Render a scrollable list (max height ~320px)
- Each entry: icon (commit/PR/issue), repo name, short message, relative time (e.g. "2h ago")
- Use
date-fns/formatDistanceToNow (already a dependency)
Where to add
New row at the bottom of src/app/dashboard/page.tsx, full width.
Acceptance criteria
Difficulty
Medium — straightforward API + list component.
Summary
Add a chronological activity feed showing the user's most recent GitHub events (commits, PR opens/merges, issue closes).
What to build
GET /api/activityGET /users/{login}/events?per_page=30PushEvent,PullRequestEvent,IssuesEvent{ type, repo, message, date, url }src/components/ActivityFeed.tsxdate-fns/formatDistanceToNow(already a dependency)Where to add
New row at the bottom of
src/app/dashboard/page.tsx, full width.Acceptance criteria
Difficulty
Medium — straightforward API + list component.