Skip to content

Conversation

@MK-codes365
Copy link
Contributor

@MK-codes365 MK-codes365 commented Jan 15, 2026

Issue: #196

Key Changes
Unified Calculation: Automatically converts yearly, monthly, and weekly plans into a standard monthly spend.
Data Integrity: Filters out inactive subscriptions and handles invalid pricing/edge cases gracefully.
API Meta block: Updates GET /api/subscriptions to return total spending in a new meta field.
Decoupled Logic: Uses a dedicated metrics service for clean, testable calculation code.
Verified: Passed all logic tests for mixed-cycle subscriptions and zero-value entries.

Screenshot 2026-01-15 140616 Screenshot 2026-01-15 140659 Screenshot 2026-01-15 150213

@OpenGitBot
Copy link

Hey @MK-codes365

Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.

Thanks for contributing in OpenCode'25 ✨✨!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants