Skip to content

Feat/allfixes#264

Merged
Calebux merged 5 commits intoCalebux:mainfrom
Otaiki1:feat/allfixes
Mar 29, 2026
Merged

Feat/allfixes#264
Calebux merged 5 commits intoCalebux:mainfrom
Otaiki1:feat/allfixes

Conversation

@Otaiki1
Copy link
Copy Markdown
Collaborator

@Otaiki1 Otaiki1 commented Mar 29, 2026

This PR closes #143
This PR closes #148
This PR closes #111
This PR closes #131

Final Summary of Integration
Backend Services & API:

AnalyticsService: Implemented logic to fetch and normalize subscription costs into a monthly spend, compute category-based percentages, and project six-month historical trends.
Budget Management: Added methods for fetching and updating budget limits (

upsertBudget
) in the database.
Real-time Monitoring: Integrated budget threshold checks into

SubscriptionService
's

create
,

update
, and

delete
methods.
Notification System:

RiskNotificationService: Automated alerts are now triggered for high-risk renewals (e.g., failed past attempts, low balances).
Budget Alerts: Users will now receive in-app notifications when their spending reaches 80% or 100% of their monthy limit.
Schema: Created the notifications table to centralize all platform alerts.
Frontend Dashboard:

Dashboard Widget: Added a dynamic "Budget Overview" widget featuring a color-coded progress bar (Green/Yellow/Red) and percentage-based usage feedback.
Analytics Page: Refactored the full page to visualize month-over-month trends using Recharts and detailed per-category spending breakdowns.
Settings Sync: Linked the "Monthly Budget Limit" in Settings to provide real-time updates and persistence.
Technical Refactoring:

Fixed a critical syntax error in

client/package.json
that was blocking script execution.
Corrected the Supabase client initialization in the analyticsApi.
Simplified and restored logic flow in

subscription-service.ts
after addressing syntax errors.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@Otaiki1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Calebux Calebux merged commit c0c2ab8 into Calebux:main Mar 29, 2026
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants