You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current GoalTracker only shows current week goals with no history.
Users can't see if they've been improving, slipping, or consistent over time.
Add a goal history log and a completion rate trend chart.
Why
Without history, goals feel disposable. Tracking completion rates over weeks
creates accountability and shows progress — the core value proposition of DevTrack.
Proposed Solution
DB changes
New table: goal_completions(id, user_id, goal_id, week_start DATE, completed_at, target, actual)
Summary
The current GoalTracker only shows current week goals with no history.
Users can't see if they've been improving, slipping, or consistent over time.
Add a goal history log and a completion rate trend chart.
Why
Without history, goals feel disposable. Tracking completion rates over weeks
creates accountability and shows progress — the core value proposition of DevTrack.
Proposed Solution
DB changes
goal_completions(id, user_id, goal_id, week_start DATE, completed_at, target, actual)goal_completionsGET /api/goals/history?weeks=8route — returns last N weeks of completion data per goalNew component:
GoalHistory.tsx<LineChart>) showing weekly completion % over last 8 weeksGoalTracker.tsx update
GoalHistory.tsxinlineAcceptance Criteria
goal_completionstable added via migrationGET /api/goals/historyreturns per-goal weekly dataGoalHistory.tsxrenders line chart with RechartsI would like to work on this under GSSoC
/assign