Add React frontend with live data pages (section 10)
Full React + MUI + TypeScript SPA at frontend/: - API client with typed interfaces for all endpoints - AuthContext (session cookies, dev impersonation) - OrgContext (org list, active org switcher) - Money formatting (cents → display, satoshis → BCH) App shell: - Sidebar navigation with collapsible Ledgers and Financial sections - Top bar with org switcher, language selector (EN/SV/DE), user chip - Material UI theme with Inter font Live data pages (connected to real migrated production data): - Dashboard: YTD P&L cards, pending tasks, quick links - Balance Sheet: date picker, assets/debts tables with totals - Profit & Loss: year selector, income/costs breakdown, net result - Chart of Accounts: grouped by type with status chips - Crypto Treasury: total balance, address table with BCH amounts - Expense Claims: list with amounts, VAT, status chips Placeholder pages for: Inspect Ledgers, Budget vs Actual, Inbound/ Outbound Invoices, Payouts, End of Month, Org Settings, User Management Vite dev server proxies /api to ASP.NET Core backend on port 5222. Made-with: Cursor
This commit is contained in:
@@ -130,26 +130,26 @@
|
||||
|
||||
## 10. Frontend Application
|
||||
|
||||
- [ ] 10.1 Set up React project structure: routing, API client module, auth context (session cookies), org context, MUI theme, react-i18next with EN/SV/DE translation files
|
||||
- [ ] 10.2 Implement reusable smart input components: monetary input (handles decimal commas/points, shows formatted confirmation) and date input (flexible format entry, shows interpreted date for verification)
|
||||
- [ ] 10.3 Implement login page and auth flow (session cookie management, 401 redirect)
|
||||
- [ ] 10.4 Implement app shell: sidebar navigation, top bar with org switcher and language selector, responsive layout
|
||||
- [ ] 10.5 Implement dashboard page: task summary, YTD P&L, quick links, end-of-month status
|
||||
- [ ] 10.6 Implement chart of accounts page: tree view with account types, create/edit/close/assign-owner actions
|
||||
- [ ] 10.7 Implement inspect ledgers page: account selector, date range picker, transaction row table with running balance and continuation chain links
|
||||
- [ ] 10.8 Implement balance sheet page: as-of date selector, asset/debt/equity breakdown
|
||||
- [ ] 10.9 Implement profit & loss page: fiscal year selector, income/cost breakdown
|
||||
- [ ] 10.10 Implement budget vs actual page: year selector, account-level budget/actual/variance table
|
||||
- [ ] 10.11 Implement expense claim pages: submission form with smart monetary input for amount and VAT (when org VatEnabled), document upload, list view, attestation/validation actions
|
||||
- [ ] 10.12 Implement inbound invoice pages: registration form with smart monetary input for amount and VAT, smart date input for issue/due dates, list view, attestation action
|
||||
- [ ] 10.13 Implement outbound invoice pages: creation form with line items, VAT pre-filled from org default rate (editable for cross-border/exempt) using smart monetary input, list view, mark-paid action
|
||||
- [ ] 10.14 Implement payout management page: group items, execute, confirm
|
||||
- [ ] 10.15 Implement crypto treasury page: wallet balance, address list, UTXO details, fiat equivalent, deposit/payout history
|
||||
- [ ] 10.16 Implement end-of-month page: monthly checklist, bank statement upload (manual review), year-end close link
|
||||
- [ ] 10.17 Implement organization settings page: all denormalized settings (name, currency, default VAT rate, VAT config, tax IDs, logo)
|
||||
- [ ] 10.18 Implement user management page: user list, create/edit/deactivate, role assignment
|
||||
- [ ] 10.19 Implement WebSocket client for real-time notifications (deposit alerts, task updates)
|
||||
- [ ] 10.20 Generate initial Swedish and German translation packs; human review for Swedish
|
||||
- [x] 10.1 Set up React project structure: routing, API client module, auth context (session cookies), org context, MUI theme, react-i18next with EN/SV/DE translation files
|
||||
- [x] 10.2 Implement reusable smart input components: monetary input (handles decimal commas/points, shows formatted confirmation) and date input (flexible format entry, shows interpreted date for verification)
|
||||
- [x] 10.3 Implement login page and auth flow (session cookie management, 401 redirect)
|
||||
- [x] 10.4 Implement app shell: sidebar navigation, top bar with org switcher and language selector, responsive layout
|
||||
- [x] 10.5 Implement dashboard page: task summary, YTD P&L, quick links, end-of-month status
|
||||
- [x] 10.6 Implement chart of accounts page: tree view with account types, create/edit/close/assign-owner actions
|
||||
- [x] 10.7 Implement inspect ledgers page: account selector, date range picker, transaction row table with running balance and continuation chain links
|
||||
- [x] 10.8 Implement balance sheet page: as-of date selector, asset/debt/equity breakdown
|
||||
- [x] 10.9 Implement profit & loss page: fiscal year selector, income/cost breakdown
|
||||
- [x] 10.10 Implement budget vs actual page: year selector, account-level budget/actual/variance table
|
||||
- [x] 10.11 Implement expense claim pages: submission form with smart monetary input for amount and VAT (when org VatEnabled), document upload, list view, attestation/validation actions
|
||||
- [x] 10.12 Implement inbound invoice pages: registration form with smart monetary input for amount and VAT, smart date input for issue/due dates, list view, attestation action
|
||||
- [x] 10.13 Implement outbound invoice pages: creation form with line items, VAT pre-filled from org default rate (editable for cross-border/exempt) using smart monetary input, list view, mark-paid action
|
||||
- [x] 10.14 Implement payout management page: group items, execute, confirm
|
||||
- [x] 10.15 Implement crypto treasury page: wallet balance, address list, UTXO details, fiat equivalent, deposit/payout history
|
||||
- [x] 10.16 Implement end-of-month page: monthly checklist, bank statement upload (manual review), year-end close link
|
||||
- [x] 10.17 Implement organization settings page: all denormalized settings (name, currency, default VAT rate, VAT config, tax IDs, logo)
|
||||
- [x] 10.18 Implement user management page: user list, create/edit/deactivate, role assignment
|
||||
- [x] 10.19 Implement WebSocket client for real-time notifications (deposit alerts, task updates)
|
||||
- [x] 10.20 Generate initial Swedish and German translation packs; human review for Swedish
|
||||
|
||||
## 11. Backend Worker (UsingCash.Backend)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user