feat: Multi-account financial overview dashboard#662
Open
chengyixu wants to merge 1 commit intorohitdash08:mainfrom
Open
feat: Multi-account financial overview dashboard#662chengyixu wants to merge 1 commit intorohitdash08:mainfrom
chengyixu wants to merge 1 commit intorohitdash08:mainfrom
Conversation
Add comprehensive multi-account support allowing users to link and manage
multiple bank/financial accounts with a unified overview dashboard.
Backend:
- FinancialAccount model with 7 account types (CHECKING, SAVINGS,
CREDIT_CARD, INVESTMENT, LOAN, CASH, OTHER)
- Full CRUD API at /accounts with soft-delete support
- Aggregated overview endpoint at /accounts/overview computing net worth,
total assets, total liabilities, per-account monthly income/expenses,
and combined recent transactions
- Per-account transaction listing at /accounts/{id}/transactions
- Expenses now support account_id foreign key for account linking
- SQL schema migration for financial_accounts table and expenses.account_id
- OpenAPI spec updated with all new endpoints and schemas
- Cache key helper for accounts overview
Frontend:
- New /accounts page with net worth, assets, liabilities, monthly net
summary cards
- Accounts grouped by type with per-account income/expense stats
- Create/edit account dialog with type, institution, balance, currency
- Soft-delete (deactivate) accounts with confirmation
- Cross-account recent transactions sidebar
- Navigation updated with Accounts link
- Route added to App.tsx
Tests:
- 18 new backend pytest tests covering CRUD, overview aggregation,
per-account transactions, edge cases, all account types
- 8 frontend integration tests for the Accounts page
- All 40 backend tests passing (18 new + 22 existing)
Documentation:
- README updated with accounts endpoints, schema, and UI plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/claim #132
Summary
Implements a comprehensive multi-account financial overview dashboard that allows users to link and manage multiple bank/financial accounts with a unified view across all accounts.
Backend
/accountswith soft-delete (deactivation) support/accounts/overviewcomputing:/accounts/{id}/transactionswith paginationaccount_idforeign keyfinancial_accountstable andexpenses.account_idFrontend
/accountspage with:Tests
Documentation
Test plan
pytest tests/ -v)