Skip to content

feat: add goal-based savings tracking with milestones#953

Open
bbb-build wants to merge 1 commit intorohitdash08:mainfrom
bbb-build:feat/savings-goals
Open

feat: add goal-based savings tracking with milestones#953
bbb-build wants to merge 1 commit intorohitdash08:mainfrom
bbb-build:feat/savings-goals

Conversation

@bbb-build
Copy link
Copy Markdown

Summary

Implements Issue #133: Goal-based savings tracking & milestones — a complete savings goal system with progress tracking, auto-milestones, and contribution history.

What's included

Backend:

  • SavingsGoal, GoalMilestone, GoalContribution models with cascade relationships
  • Auto-generated milestones at 25%, 50%, 75%, 100% on goal creation
  • Contribution tracking with running totals and automatic milestone checking
  • 7 REST endpoints for goals CRUD, contributions, and summary
  • Goals auto-complete when target is reached

Frontend:

  • Savings dashboard with summary cards (total saved, progress, in-progress/completed counts)
  • Goal cards with progress bars and quick actions
  • Detail view with milestone markers on progress bar
  • Contribution history with notes
  • Create goal and add contribution modals

Tests:

  • 18 pytest cases covering CRUD, contributions, milestone auto-checking, overshoot handling, validation, auth

Resolves #133

/claim #133

- Add SavingsGoal, GoalMilestone, GoalContribution models
- Auto-generate milestones at 25%, 50%, 75%, 100%
- Track contributions with running total
- Auto-mark milestones when thresholds reached
- Create savings dashboard with progress visualization
- Add comprehensive test coverage

Resolves rohitdash08#133

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Goal-based savings tracking & milestones

1 participant