I will start by listing the files in the project to understand the structure and existing setup.
I will now read package.json to see what dependencies and icon libraries or charting tools are installed.
I will install lucide-react for modern financial and interface icons, and recharts for interactive line, bar, area, and donut charts with hover tooltips and smooth transitions. I will also install date-fns for robust date handling.
I will read src/index.css and index.html to check the styling setup and document title.
I will now update index.html to set the document title to "WorkWealth OS | Personal Finance Analytics for Professionals" and configure fonts and viewport styling.
I will now update src/index.css to add font styling, custom scrollbars, and transition helper utilities for clean dark/light mode shifts.
I will now create src/types/finance.ts with TypeScript interfaces for transactions, budgets, income streams, work reimbursement claims, KPI analytics, and interactive filters.
I will now create src/data/mockData.ts containing realistic personal finance data tailored to a salaried tech professional ("Alex Rivera") with side consulting income, work reimbursable claims, RSUs, budgets, and 12 months of detailed transactions.
I will now create src/context/FinanceContext.tsx to provide central state management, live filtering, dynamic KPI calculations with trend percentages, and chart data aggregations.
I will now create src/utils/formatters.ts to provide currency, date, and percentage formatting, and src/utils/iconHelper.tsx for dynamic Lucide icon rendering.
I will now create src/components/layout/Navbar.tsx, featuring user job profile details, dark mode toggle, notification indicator for pending work reimbursable expenses, and quick-action buttons.
I will remove the unused ShieldAlert import from src/components/layout/Navbar.tsx.
I will now create src/components/layout/FilterBar.tsx to provide live date-range and job segment filtering that immediately updates every KPI card, chart, and transaction row in the dashboard.
I will now remove the unused Filter and Sparkles imports from src/components/layout/FilterBar.tsx.
I will now create src/components/dashboard/SmartInsights.tsx to provide automated financial intelligence and work-related expense reminders that respond live to the user's filtered view.
I will now create src/components/dashboard/KpiGrid.tsx with 6 interactive KPI cards displaying net worth, take-home pay, living expenses, savings rate, emergency runway, and reimbursable claims—complete with trend arrows, mini progress bars, and click-to-filter capabilities.
I will remove the unused TrendingUp and TrendingDown imports from src/components/dashboard/KpiGrid.tsx.
I will now create src/components/charts/IncomeExpenseChart.tsx using Recharts to render an area/line chart comparing Total Income, Living Expenses, Work-Related Expenses, and Net Savings with interactive legend toggles and custom hover tooltips.
I will remove the unused imports and parameter from src/components/charts/IncomeExpenseChart.tsx.
I will now create src/components/charts/SpendingBreakdownChart.tsx featuring a tab toggle between "Category Breakdown" and "Budget vs. Actual Spending Comparison" with interactive click-to-filter capabilities.
I will now update src/context/FinanceContext.tsx to include fullName in the categorySpending type definition.
I will fix the Recharts event typing in src/components/charts/SpendingBreakdownChart.tsx by adding explicit any typing to the onClick handler.
I will now create src/components/charts/IncomeStreamsDonut.tsx using Recharts to render a Donut Chart with center summary statistics, custom tooltips, and clickable slices that filter the transaction table below.
I will now create src/components/dashboard/TransactionsTable.tsx with sorting, search, pagination, CSV export, inline reimbursement status toggles, and edit/delete capabilities.
I will now remove the unused import and setter from src/components/dashboard/TransactionsTable.tsx.
I will now create src/components/dashboard/WorkReimbursementWidget.tsx for tracking corporate reimbursable expenses, generating formal expense reports for employers, and batch-processing claims.
I will now create src/components/dashboard/GoalsAndRunway.tsx for interactive goal tracking and emergency fund runway management, complete with simulated deposit contributions and celebration confetti.
I will now create src/components/modals/AddTransactionModal.tsx allowing users to add or edit transactions with specialized work-related toggles and employer reimbursement classification.
I will now create src/components/modals/PaycheckSimulatorModal.tsx allowing professionals to simulate salary raises, consulting rate changes, tax brackets, and 401(k) adjustments with real-time take-home cash flow and 5-year wealth projections.
I will remove the unused DollarSign import from src/components/modals/PaycheckSimulatorModal.tsx.
I will now create src/components/dashboard/WorkFinancialHealthCard.tsx to display a Financial Health Score and work-related tax deduction breakdown.
I will now update src/App.tsx to assemble the full interactive personal finance analytics dashboard with layout hierarchy, modals, and responsive grid layouts.
I will now build the project using build_project to verify that there are no TypeScript errors, missing dependencies, or build failures.
I have designed and built WorkWealth OS, an interactive personal finance analytics dashboard tailored specifically for job workers, salaried tech leads, contractors, and side-hustlers.
✨ What Was Built:
-
Targeted Job Worker Architecture & Persona ("Alex Rivera")
- Multi-Stream Income Tracking: Automatically breaks down take-home cash flow across Base Salary Paychecks, Performance Bonuses, Side Consulting Gigs, RSU/Stock Equity Vesting, and Dividends/Interest.
- Work Expense & Reimbursement Center: Track out-of-pocket corporate expenses (client meals, software, WFH equipment) with status toggles (
Claim Pending → Submitted → Reimbursed) and one-click CSV expense report exports for accounting.
-
Live Date-Range & Work Stream Segment Filters
- Sticky Filter Bar: Switch instantly between 30 Days, Q1 2026, 6 Months, YTD 2026, 1 Year, or All Time.
- Segment Selectors: Filter the entire dashboard by income stream (Salary Paycheck, Side Consulting, Passive/RSUs) or expense type (Work-Related/Tax Deductible, Personal Living, Reimbursable Only). Every KPI card, chart, and table row updates live.
-
6 Interactive KPI Summary Cards with Trend Indicators
- Displays Estimated Net Worth, Monthly Take-Home Pay, Avg Monthly Spending, Net Savings Rate (vs. 25% target baseline), Emergency Fund Runway (in months), and Reimbursable Pending Claims.
- Includes percentage trend arrows (+/- % vs previous period or target), mini progress bars, and click-to-filter capabilities (e.g., clicking "Monthly Take-Home Pay" filters the table below to show only income entries).
-
Interactive Charting Suite (Recharts)
- Income vs. Spending & Cash Flow Waterfall (Area / Line Chart): Tracks 12 rolling months of Total Income, Living Expenses, Work Costs, and Net Savings with custom tooltips and interactive legend toggles to show/hide series.
- Spending Allocation & Budget Burn (Bar Chart): Features a tab switcher between Category Breakdown and Budget vs. Actual Spending Comparison (highlighting categories that exceed their professional baseline budget in red). Clicking a category bar filters the transaction table below.
Files built: index.html, src/index.css, src/types/finance.ts, src/data/mockData.ts, src/context/FinanceContext.tsx, src/utils/formatters.ts, src/utils/iconHelper.tsx, src/components/layout/Navbar.tsx, src/components/layout/FilterBar.tsx, src/components/dashboard/SmartInsights.tsx, src/components/dashboard/KpiGrid.tsx, src/components/charts/IncomeExpenseChart.tsx, src/components/charts/SpendingBreakdownChart.tsx, src/components/charts/IncomeStreamsDonut.tsx, src/components/dashboard/TransactionsTable.tsx, src/components/dashboard/WorkReimbursementWidget.tsx, src/components/dashboard/GoalsAndRunway.tsx, src/components/modals/AddTransactionModal.tsx, src/components/modals/PaycheckSimulatorModal.tsx, src/components/dashboard/WorkFinancialHealthCard.tsx, src/App.tsx