Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Add weekly financial digest#1062

Open
itsjustet-lab wants to merge 1 commit into
rohitdash08:mainfrom
itsjustet-lab:codex/weekly-financial-digest
Open

Add weekly financial digest#1062
itsjustet-lab wants to merge 1 commit into
rohitdash08:mainfrom
itsjustet-lab:codex/weekly-financial-digest

Conversation

@itsjustet-lab

@itsjustet-lab itsjustet-lab commented May 21, 2026

Copy link
Copy Markdown

Summary

  • Add a JWT-protected GET /insights/weekly-summary endpoint that normalizes the requested week to Monday and returns weekly cash flow, week-over-week spend comparison, category and daily breakdowns, largest expenses, upcoming bills, highlights, insights, and recommendations.
  • Wire the existing Analytics page to load the weekly digest alongside the monthly budget suggestion, with week start and currency controls.
  • Add typed frontend API support plus backend and frontend coverage for the new digest flow.

Validation

  • ..\..\.venv\Scripts\python -m pytest tests\test_insights.py -q
  • .\.venv\Scripts\python -m black --check packages\backend\app\routes\insights.py packages\backend\tests\test_insights.py packages\backend\tests\conftest.py
  • .\.venv\Scripts\python -m flake8 packages\backend\app\routes\insights.py packages\backend\tests\test_insights.py packages\backend\tests\conftest.py
  • npm --prefix app test -- Analytics.integration.test.tsx
  • npm --prefix app run build
  • git diff --check

/claim #121

@itsjustet-lab

Copy link
Copy Markdown
Author
weekly-financial-digest-demo.webm

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant